๋””๋ฒ„๊น…

Embed.toml:

[default.general]
chip = "nrf52833_xxAA"

[debug.gdb]
enabled = true

src/bare-metal/microcontrollers/example/ ์— ํ„ฐ๋ฏธ๋„์„ ์—ด๊ณ :

cargo embed --bin board_support debug

In another terminal in the same directory:

gLinux ๋˜๋Š” Debian์—์„œ:

gdb-multiarch target/thumbv7em-none-eabihf/debug/board_support --eval-command="target remote :1337"

MacOS์—์„œ:

arm-none-eabi-gdb target/thumbv7em-none-eabihf/debug/board_support --eval-command="target remote :1337"

GDB์—์„œ ๋‹ค์Œ์„ ์‹คํ–‰ํ•ด ๋ณด์„ธ์š”.

b src/bin/board_support.rs:29
b src/bin/board_support.rs:30
b src/bin/board_support.rs:32
c
c
c