2 месяца назад
История
README.md
- First find the com port on the esp32-s3
ls /dev/tty*
//
export ESPFLASH_PORT=/dev/ttyACM0
// can be ttyACM1 or ...
Then you can run the espflash board-info
command to check if you can connect to the uart com port on the esp32-s3.
Useful commands
rustup update cargo install cargo-espflash rustup show rustup override set stable rustup override set nightly
Add probe-rs
Change the cargo runner in the .cargo/config.toml file to:
[target.xtensa-esp32s3-none-elf]
# runner = "espflash flash --monitor"
runner = "probe-rs run --chip esp32s3"
[env]
ESP_LOGLEVEL="INFO"
[build]
rustflags = [
"-C", "link-arg=-nostartfiles",
]
target = "xtensa-esp32s3-none-elf"
[unstable]
build-std = ["core"]
Then when you run cargo run
probe-rs is started.
Before you can use probe-rs in nvim, you need to configure the nvim-dap to support probe-rs. probe-rs for nvim-dap doc
Конвейеры
0 успешных
0 с ошибкой