aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliebman <[email protected]>2025-10-29 15:08:01 -0700
committerliebman <[email protected]>2025-11-03 12:50:41 -0800
commit5b70da2256747853ac4f866e60493241ac34bcd3 (patch)
treeb1522f7eaab5561693b9b9f8e8afecb70fcb4936
parent46480285783390d90f8d99e530a1da28a292dc3c (diff)
examples: : stm32wlex: mention `defmt-print`
-rw-r--r--examples/stm32wle5/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/stm32wle5/README.md b/examples/stm32wle5/README.md
index 7435ed1be..63507f490 100644
--- a/examples/stm32wle5/README.md
+++ b/examples/stm32wle5/README.md
@@ -6,6 +6,7 @@ Examples in this repo should work with [LoRa-E5 Dev Board](https://www.st.com/en
6 6
7- Connect a usb serial adapter to LPUart1 (this is where ALL logging will go) 7- Connect a usb serial adapter to LPUart1 (this is where ALL logging will go)
8- Optional: Connect an amp meter that ran measure down to 0.1uA to the power test pins 8- Optional: Connect an amp meter that ran measure down to 0.1uA to the power test pins
9- `cargo install defmt-print` so you can print log messahes from LPUart1
9 10
10## Example Notes 11## Example Notes
11 12
@@ -15,6 +16,11 @@ All examples will set all pins to analog mode before configuring pins for the ex
15- the `blinky` example will sleep in STOP2 and the chip will only draw 1uA or less while sleeping 16- the `blinky` example will sleep in STOP2 and the chip will only draw 1uA or less while sleeping
16- the `button_exti` example will sleep in STOP2 and the chip will only draw 1uA or less while sleeping 17- the `button_exti` example will sleep in STOP2 and the chip will only draw 1uA or less while sleeping
17 18
19For each example you will need to start `defmt-print` with the example binary and the correct serial port in a seperate terminal. Example:
20```
21defmt-print -w -v -e target/thumbv7em-none-eabi/debug/<module-name> serial --path /dev/cu.usbserial-00000000 --baud 115200
22```
23
18Run individual examples with 24Run individual examples with
19``` 25```
20cargo flash --chip STM32WLE5JCIx --connect-under-reset --bin <module-name> 26cargo flash --chip STM32WLE5JCIx --connect-under-reset --bin <module-name>