Skip to content

Commit 30f7e96

Browse files
committed
Prevent 'burn bootloader' from overwriting user's sketch at USERCODE_OFFSET
1 parent 8b28c37 commit 30f7e96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ tools.ambiq_bin2board.erase.pattern=
158158
# Upload tool pattern
159159
tools.ambiq_bin2board.upload.pattern={pgm} {args}
160160
tools.ambiq_bin2board.bootloader.pattern={pgm} --bin "{runtime.platform.path}/bootloaders/artemis/artemis_svl.bin" --load-address-blob 0x20000 --magic-num 0xCB -o "{runtime.platform.path}/bootloaders/artemis/artemis_svl" --version 0x0 --load-address-wired 0xC000 -i 6 --options 0x1 -b {upload.sbl_baud} -port "{serial.port}" -r 2 {bootloader.verbose}
161-
tools.ambiq_bin2board.erase.pattern={pgm} --bin "{runtime.platform.path}/bootloaders/artemis/Artemis_Bare_Minimum.ino.bin" --load-address-blob 0x20000 --magic-num 0xCB -o "{runtime.platform.path}/bootloaders/artemis/Artemis_Bare_Minimum" --version 0x0 --load-address-wired 0xC000 -i 6 --options 0x1 -b {upload.sbl_baud} -port "{serial.port}" -r 2 {bootloader.verbose}
161+
tools.ambiq_bin2board.erase.pattern={pgm} --bin "{runtime.platform.path}/bootloaders/artemis/artemis_svl.bin" --load-address-blob 0x20000 --magic-num 0xCB -o "{runtime.platform.path}/bootloaders/artemis/artemis_svl" --version 0x0 --load-address-wired 0xC000 -i 6 --options 0x1 -b {upload.sbl_baud} -port "{serial.port}" -r 2 {bootloader.verbose}
162162

163163
##### The following tool settings are for the SparkFun variable bootloader (Artemis SVL) (Saturn Five Loader)
164164

0 commit comments

Comments
 (0)