Skip to content

Commit a2c7d3f

Browse files
committed
Updated flash scripts
1 parent 095d15c commit a2c7d3f

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

logs/libapp.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

scripts/stm32l4/flash-app.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
:: Flash Mynewt application on Windows
22

3-
openocd\bin\openocd.exe -f scripts/stm32l4/flash-init.ocd -f interface/stlink-v2-1.cfg -c "transport select hla_swd" -f target/stm32l4x.cfg -f scripts/stm32l4/flash-app.ocd
3+
openocd\bin\openocd.exe -f scripts/stm32l4/flash-init.ocd -f interface/stlink.cfg -c "transport select hla_swd" -f target/stm32l4x.cfg -f scripts/stm32l4/flash-app.ocd

scripts/stm32l4/flash-app.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
set -e # Exit when any command fails.
55
set -x # Echo all commands.
66

7-
openocd/bin/openocd -f scripts/stm32l4/flash-init.ocd -f interface/stlink-v2-1.cfg -c "transport select hla_swd" -f target/stm32l4x.cfg -f scripts/stm32l4/flash-app.ocd
7+
openocd/bin/openocd -f scripts/stm32l4/flash-init.ocd -f interface/stlink.cfg -c "transport select hla_swd" -f target/stm32l4x.cfg -f scripts/stm32l4/flash-app.ocd

scripts/stm32l4/flash-boot.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
:: Flash Mynewt bootloader on Windows
22

3-
openocd\bin\openocd.exe -f scripts/stm32l4/flash-init.ocd -f interface/stlink-v2-1.cfg -c "transport select hla_swd" -f target/stm32l4x.cfg -f scripts/stm32l4/flash-boot.ocd
3+
openocd\bin\openocd.exe -f scripts/stm32l4/flash-init.ocd -f interface/stlink.cfg -c "transport select hla_swd" -f target/stm32l4x.cfg -f scripts/stm32l4/flash-boot.ocd

scripts/stm32l4/flash-boot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
set -e # Exit when any command fails.
55
set -x # Echo all commands.
66

7-
openocd/bin/openocd -f scripts/stm32l4/flash-init.ocd -f interface/stlink-v2-1.cfg -c "transport select hla_swd" -f target/stm32l4x.cfg -f scripts/stm32l4/flash-boot.ocd
7+
openocd/bin/openocd -f scripts/stm32l4/flash-init.ocd -f interface/stlink.cfg -c "transport select hla_swd" -f target/stm32l4x.cfg -f scripts/stm32l4/flash-boot.ocd

scripts/stm32l4/image-app.cmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
:: Create Mynewt Image for Windows
22

3-
newt\newt.exe create-image -v stm32l4_my_sensor 1.0.0 && newt size -v stm32l4_my_sensor
3+
newt\newt.exe create-image -v stm32l4_my_sensor 1.0.0
4+
5+
newt\newt.exe size -v stm32l4_my_sensor

scripts/stm32l4/image-app.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
set -e # Exit when any command fails.
55
set -x # Echo all commands.
66

7-
newt create-image -v stm32l4_my_sensor 1.0.0 && newt size -v stm32l4_my_sensor
7+
newt create-image -v stm32l4_my_sensor 1.0.0
8+
9+
newt size -v stm32l4_my_sensor

0 commit comments

Comments
 (0)