From 6449c329b598a69c38140d0e997e078a494e8e7d Mon Sep 17 00:00:00 2001 From: Benjamin Koch <bbbsnowball@gmail.com> Date: Wed, 28 Jun 2023 04:08:31 +0200 Subject: [PATCH] add more commands to README --- firmware/rust1/README.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/firmware/rust1/README.txt b/firmware/rust1/README.txt index 1e8cf46..3eb8d5e 100644 --- a/firmware/rust1/README.txt +++ b/firmware/rust1/README.txt @@ -4,3 +4,17 @@ cargo install probe-rs-debugger # https://github.com/raspberrypi/picoprobe # https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf cargo run --bin blinky + + +more useful commands: +nix develop +cargo run --bin heizung +./build.sh +picotool info build/heizung-release.uf2 +picotool info -a # with target in bootsel mode +python rtumaster_pymodbus.py +python download_firmware_via_modbus.py + +~/.cargo/bin/probe-rs-cli gdb --chip rp2040 +gdb ./target/thumbv6m-none-eabi/debug/heizung + target remote localhost:1337 -- GitLab