mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards*: don't export PRE_FLASH_CHECK_SCRIPT
This commit is contained in:
parent
a0be709a8c
commit
f3dd7e0e2a
@ -14,7 +14,7 @@ DEBUG_ADAPTER ?= dap
|
||||
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/frdm/dist/openocd-$(CPU_FAMILY).cfg
|
||||
|
||||
# Check the flash configuration field before flashing
|
||||
export PRE_FLASH_CHECK_SCRIPT = $(RIOTCPU)/$(CPU)/dist/check-fcfield.sh
|
||||
PRE_FLASH_CHECK_SCRIPT = $(RIOTCPU)/$(CPU)/dist/check-fcfield.sh
|
||||
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
@ -20,7 +20,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
||||
OPENOCD_PRE_VERIFY_CMDS += \
|
||||
-c 'load_image $(RIOTCPU)/$(CPU)/dist/wdog-disable.bin 0x20000000 bin' \
|
||||
-c 'resume 0x20000000'
|
||||
export PRE_FLASH_CHECK_SCRIPT = $(RIOTCPU)/$(CPU)/dist/check-fcfield.sh
|
||||
PRE_FLASH_CHECK_SCRIPT = $(RIOTCPU)/$(CPU)/dist/check-fcfield.sh
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -9,7 +9,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
OPENOCD_PRE_VERIFY_CMDS += \
|
||||
-c 'load_image $(RIOTCPU)/$(CPU)/dist/wdog-disable.bin 0x20000000 bin' \
|
||||
-c 'resume 0x20000000'
|
||||
export PRE_FLASH_CHECK_SCRIPT = $(RIOTCPU)/$(CPU)/dist/check-fcfield.sh
|
||||
PRE_FLASH_CHECK_SCRIPT = $(RIOTCPU)/$(CPU)/dist/check-fcfield.sh
|
||||
|
||||
DEBUG_ADAPTER ?= dap
|
||||
|
||||
|
@ -12,7 +12,7 @@ FLASHFILE ?= $(HEXFILE)
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
||||
# generate image checksum from hex file
|
||||
export PRE_FLASH_CHECK_SCRIPT = lpc_checksum --format hex
|
||||
PRE_FLASH_CHECK_SCRIPT = lpc_checksum --format hex
|
||||
|
||||
# remap flash to address 0x0, otherwise it verifies the rom bootloader
|
||||
OPENOCD_PRE_VERIFY_CMDS += '-c reset init'
|
||||
|
Loading…
Reference in New Issue
Block a user