@@ -266,18 +266,15 @@ _(Rust on Windows Subsystem for Linux is needed for building Rust and Mynewt pro
266266
267267# Build and Flash Bootloader and Application (Windows, macOS and Ubuntu)
268268
269+ [All Visual Studio Code Tasks](.vscode/tasks.json)
270+
269271## _Build Bootloader_
270272
271273Click
272274 `Terminal → Run Task →
273275 [1] Build bluepill_boot`
274276
275- ## _Flash Bootloader to Blue Pill_
276-
277- 1. Connect ST-Link to Blue Pill and the USB port
278-
279- 1. Click `Terminal → Run Task →
280- [4] Load bluepill_boot`
277+ [Build Bootloader Log](logs/build-bootloader.log)
281278
282279## _Build Application_
283280
@@ -287,7 +284,24 @@ Click
2872841. Click `Terminal → Run Task →
288285 [3] Image bluepill_my_sensor`
289286
290- 1. [Check this video](https://youtu.be/QTTqRlsiBfk) for the build process
287+ [Check this video](https://youtu.be/QTTqRlsiBfk) for the build process
288+
289+ [Build Application Script](scripts/build-app.sh)
290+
291+ [Build Application Log](logs/build-application.log)
292+
293+ [Rust Application ELF](logs/libmylib.elf)
294+
295+ [Rust Application Disassembly](logs/libmylib-demangle.S)
296+
297+ ## _Flash Bootloader to Blue Pill_
298+
299+ 1. Connect ST-Link to Blue Pill and the USB port
300+
301+ 1. Click `Terminal → Run Task →
302+ [4] Load bluepill_boot`
303+
304+ [Flash Bootloader Script](scripts/flash-boot.ocd)
291305
292306## _Flash Application to Blue Pill_
293307
@@ -296,21 +310,25 @@ Click
2963101. Click `Terminal → Run Task →
297311[5] Load bluepill_my_sensor`
298312
313+ [Flash Application Script](scripts/flash-app.ocd)
314+
299315# Run The Application (Windows, macOS and Ubuntu)
300316
3013171. Connect ST-Link to Blue Pill and the USB port
302318
3033191. Click `Debug → Start Debugging`
304320
305- 1. [Check this video](https://youtu.be/Pj3pl6GaztU) for the debug steps
306-
3073211. To re-run the application after making code changes:
308322
309323 Click `Terminal → Run Task →
310324 [2] Build bluepill_my_sensor`
311325
312326 Click `Debug → Start Debugging`
313327
328+ [Check this video](https://youtu.be/Pj3pl6GaztU) for the debug steps
329+
330+ [Debug Script](scripts/debug.ocd)
331+
314332# Installation, Build, Flash and Debug Logs
315333
316334Sample logs for Windows and Ubuntu Linux may be found in the [logs folder](logs)
0 commit comments