2015-05-18 18:47:17 +02:00
|
|
|
# include module specific includes
|
2017-03-06 16:28:11 +01:00
|
|
|
INCLUDES += -I$(RIOTCPU)/cortexm_common/include
|
|
|
|
INCLUDES += -I$(RIOTCPU)/cortexm_common/include/vendor
|
2017-10-16 16:10:49 +02:00
|
|
|
|
|
|
|
ifneq (,$(ROM_OFFSET))
|
|
|
|
LINKFLAGS += $(LINKFLAGPREFIX)--defsym=_rom_offset=$(ROM_OFFSET)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(ROM_START_ADDR)$(RAM_START_ADDR)$(ROM_LEN)$(RAM_LEN))
|
|
|
|
LINKFLAGS += $(LINKFLAGPREFIX)--defsym=_rom_start_addr=$(ROM_START_ADDR)
|
|
|
|
LINKFLAGS += $(LINKFLAGPREFIX)--defsym=_ram_start_addr=$(RAM_START_ADDR)
|
|
|
|
LINKFLAGS += $(LINKFLAGPREFIX)--defsym=_rom_length=$(ROM_LEN)
|
|
|
|
LINKFLAGS += $(LINKFLAGPREFIX)--defsym=_ram_length=$(RAM_LEN)
|
|
|
|
endif
|