diff options
| author | xoviat <[email protected]> | 2023-05-11 16:45:42 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-05-11 16:45:42 -0500 |
| commit | 8a620fd59ca2ad958aad279eb55a1c97ef100e86 (patch) | |
| tree | 81f14f45f5a59df2a73af51644b394d23bece5f0 /examples/stm32wb/src | |
| parent | 007f45292762ab27291dd54bd0cfdeb23e390de4 (diff) | |
stm32/ble: fix tests and add instructions to run example
Diffstat (limited to 'examples/stm32wb/src')
| -rw-r--r-- | examples/stm32wb/src/bin/tl_mbox.rs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/stm32wb/src/bin/tl_mbox.rs b/examples/stm32wb/src/bin/tl_mbox.rs index fadeb0d22..340235520 100644 --- a/examples/stm32wb/src/bin/tl_mbox.rs +++ b/examples/stm32wb/src/bin/tl_mbox.rs | |||
| @@ -11,6 +11,29 @@ use {defmt_rtt as _, panic_probe as _}; | |||
| 11 | 11 | ||
| 12 | #[embassy_executor::main] | 12 | #[embassy_executor::main] |
| 13 | async fn main(_spawner: Spawner) { | 13 | async fn main(_spawner: Spawner) { |
| 14 | /* | ||
| 15 | How to make this work: | ||
| 16 | |||
| 17 | - Obtain a NUCLEO-STM32WB55 from your preferred supplier. | ||
| 18 | - Download and Install STM32CubeProgrammer. | ||
| 19 | - Download stm32wb5x_FUS_fw.bin, stm32wb5x_BLE_Stack_full_fw.bin, and Release_Notes.html from | ||
| 20 | gh:STMicroelectronics/STM32CubeWB@2234d97/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x | ||
| 21 | - Open STM32CubeProgrammer | ||
| 22 | - On the right-hand pane, click "firmware upgrade" to upgrade the st-link firmware. | ||
| 23 | - Once complete, click connect to connect to the device. | ||
| 24 | - On the left hand pane, click the RSS signal icon to open "Firmware Upgrade Services". | ||
| 25 | - In the Release_Notes.html, find the memory address that corresponds to your device for the stm32wb5x_FUS_fw.bin file | ||
| 26 | - Select that file, the memory address, "verify download", and then "Firmware Upgrade". | ||
| 27 | - Once complete, in the Release_Notes.html, find the memory address that corresponds to your device for the | ||
| 28 | stm32wb5x_BLE_Stack_full_fw.bin file. It should not be the same memory address. | ||
| 29 | - Select that file, the memory address, "verify download", and then "Firmware Upgrade". | ||
| 30 | - Disconnect from the device. | ||
| 31 | - In the examples folder for stm32wb, modify the memory.x file to match your target device. | ||
| 32 | - Run this example. | ||
| 33 | |||
| 34 | Note: extended stack versions are not supported at this time. Do not attempt to install a stack with "extended" in the name. | ||
| 35 | */ | ||
| 36 | |||
| 14 | let p = embassy_stm32::init(Default::default()); | 37 | let p = embassy_stm32::init(Default::default()); |
| 15 | info!("Hello World!"); | 38 | info!("Hello World!"); |
| 16 | 39 | ||
