diff options
| -rw-r--r-- | examples/stm32wle5/README.md | 6 |
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 | ||
| 19 | For each example you will need to start `defmt-print` with the example binary and the correct serial port in a seperate terminal. Example: | ||
| 20 | ``` | ||
| 21 | defmt-print -w -v -e target/thumbv7em-none-eabi/debug/<module-name> serial --path /dev/cu.usbserial-00000000 --baud 115200 | ||
| 22 | ``` | ||
| 23 | |||
| 18 | Run individual examples with | 24 | Run individual examples with |
| 19 | ``` | 25 | ``` |
| 20 | cargo flash --chip STM32WLE5JCIx --connect-under-reset --bin <module-name> | 26 | cargo flash --chip STM32WLE5JCIx --connect-under-reset --bin <module-name> |
