Skip to content

Commit

Permalink
HACK: duplicate probe-rs in submenus
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Feb 12, 2025
1 parent 1b12720 commit 5e01414
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions template/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,20 @@ options:
display_name: Add embassy framework support.
help: esp-hal-embassy comes with no stability guarantees at this time.

- !Option
name: probe-rs
display_name: Use probe-rs to flash and monitor instead of espflash.
help: "espflash uses a serial connection (UART) for programming and logging.\nprobe-rs is a
debugger that connects to the chips over JTAG. It can be used to flash and monitor, and
it can also be used to interactively debug an application, or run tests on the hardware.
Semihosting or RTT-based technologies like defmt-rtt require probe-rs."

- !Category
name: log-options
display_name: Logging
help: Log options are divided into backend and frontend settings. Backend determines how the
logs are transferred from the device to the host, and frontend determines what API you need to
use and how the logs are encoded.
options:
- !Option
name: probe-rs
display_name: Use probe-rs to flash and monitor instead of espflash.
help: "espflash uses a serial connection (UART) for programming and logging.\nprobe-rs is a
debugger that connects to the chips over JTAG. It can be used to flash and monitor, and
it can also be used to interactively debug an application, or run tests on the hardware.
Semihosting or RTT-based technologies like defmt-rtt require probe-rs."
- !Option
name: esp-println
display_name: Use esp-println as the logging backend.
Expand Down Expand Up @@ -89,6 +88,13 @@ options:
name: panic
display_name: Panic handler
options:
- !Option
name: probe-rs
display_name: Use probe-rs to flash and monitor instead of espflash.
help: "espflash uses a serial connection (UART) for programming and logging.\nprobe-rs is a
debugger that connects to the chips over JTAG. It can be used to flash and monitor, and
it can also be used to interactively debug an application, or run tests on the hardware.
Semihosting or RTT-based technologies like defmt-rtt require probe-rs."
- !Option
name: esp-backtrace
display_name: Use esp-backtrace as the panic handler.
Expand Down

0 comments on commit 5e01414

Please sign in to comment.