mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 15:31:17 +01:00
boards: add rom boot offset for boards w/bootloader
This commit is contained in:
parent
4c86d95014
commit
a7a41ad781
@ -16,8 +16,9 @@ ifeq ($(PROGRAMMER),jlink)
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
else
|
||||
# by default, we use BOSSA to flash this board and take into account the
|
||||
# preinstalled Arduino bootloader.
|
||||
export LINKER_SCRIPT ?= $(RIOTCPU)/sam0_common/ldscripts/$(CPU_MODEL)_arduino_bootloader.ld
|
||||
# preinstalled Arduino bootloader. ROM_OFFSET skips the space taken by
|
||||
# such bootloader.
|
||||
ROM_OFFSET ?= 0x2000
|
||||
include $(RIOTMAKE)/tools/bossa.inc.mk
|
||||
endif
|
||||
|
||||
|
||||
@ -16,8 +16,9 @@ ifeq ($(PROGRAMMER),jlink)
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
else
|
||||
# by default, we use BOSSA to flash this board to take into account the
|
||||
# pre-flashed Arduino bootloader
|
||||
export LINKER_SCRIPT ?= $(RIOTCPU)/sam0_common/ldscripts/$(CPU_MODEL)_arduino_bootloader.ld
|
||||
# pre-flashed Arduino bootloader. ROM_OFFSET skips the space taken by
|
||||
# such bootloader.
|
||||
ROM_OFFSET ?= 0x2000
|
||||
include $(RIOTMAKE)/tools/bossa.inc.mk
|
||||
endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user