File tree Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 1717 // Arm System View Description, downloaded from https://www.st.com/en/microcontrollers-microprocessors/stm32l476rc.html#
1818 "svdFile" : " scripts/STM32L4x6.svd" ,
1919 "configFiles" : [
20- // Tell OpenOCD to open the ST Link connection to STM32F1 MCU.
20+ // Tell OpenOCD to open the ST Link connection to STM32 MCU.
2121 " interface/stlink-v2.cfg" ,
2222 // Previously: "target/stm32f1x.cfg",
2323 " target/stm32l4x.cfg" ,
Original file line number Diff line number Diff line change 1- # stm32l4
1+ # stm32l4: Build and Flash Scripts for STM32 L4xx
22
3- Scripts for STM32L4
3+ [ ` build-boot.cmd ` ] ( build-boot.cmd ) , [ ` .sh ` ] ( build-boot.sh ) : Build the bootloader by running ` newt build stm32l4_boot `
4+
5+ build-app.cmd, .sh: Build the application by running newt build stm32l4_my_sensor
6+
7+ image-app.cmd, .sh: Create the application firmware image: newt create-image -v stm32l4_my_sensor 1.0.0
8+
9+ flash-boot.cmd, .sh: Flash the bootloader with OpenOCD
10+
11+ flash-boot.ocd: OpenOCD script for flashing the bootloader
12+
13+ flash-app.cmd, .sh: Flash the application with OpenOCD
14+
15+ flash-app.ocd: OpenOCD script for flashing the application
16+
17+ flash-init.ocd: OpenOCD initialisation script called by flash-boot.ocd and flash-app.ocd
18+
19+ debug.ocd: OpenOCD script for debugging the application. Called by .vscode/launch-stm32l4.json
Original file line number Diff line number Diff line change 1- # This is an OpenOCD script that connects to the STM32 Blue Pill for Cortex Debug.
1+ # This is an OpenOCD script that connects to the STM32 L4xx for Cortex Debug.
22
33# Debug Level must be 2 or greater or gdb will fail.
44debug_level 2
You can’t perform that action at this time.
0 commit comments