murdock: nordic_softdevice_ble: softdevice.hex is a test input
When running tests using 'nordic_softdevice_ble', the 'softdevice.hex' file must also be taken into account for the test hashing and be uploaded to the separated murdock testing boards. When listed as dependency from `test-input-hash` the file must have a target, which he has not. The file is implicitly created when compiling `ELFFILE` so declare it as order only dependency. In practice `BASELIBS` could be enough or even `pkg-build-softdevice` but I do not want to be depend that much on internals there.
This commit is contained in:
parent
700b121936
commit
e70efb769c
@ -24,6 +24,12 @@ ifeq (jlink,$(PROGRAMMER))
|
|||||||
export JLINK_PRE_FLASH := erase\nloadfile $(BINDIR)/softdevice.hex
|
export JLINK_PRE_FLASH := erase\nloadfile $(BINDIR)/softdevice.hex
|
||||||
export FLASH_ADDR := 0x1f000
|
export FLASH_ADDR := 0x1f000
|
||||||
export LINKER_SCRIPT ?= $(RIOTCPU)/$(CPU)/ldscripts/$(CPU_MODEL)_sd.ld
|
export LINKER_SCRIPT ?= $(RIOTCPU)/$(CPU)/ldscripts/$(CPU_MODEL)_sd.ld
|
||||||
|
# murdock: softdevice.hex file is used for flashing
|
||||||
|
# It must be taken into account for the test input hash and
|
||||||
|
# be sent to the separated testing boards
|
||||||
|
TEST_EXTRA_FILES += $(BINDIR)/softdevice.hex
|
||||||
|
# Files in TEST_EXTRA_FILES need to have an explicit target
|
||||||
|
$(BINDIR)/softdevice.hex: | $(ELFFILE)
|
||||||
endif
|
endif
|
||||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||||
else ifeq (openocd,$(PROGRAMMER))
|
else ifeq (openocd,$(PROGRAMMER))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user