mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
mcu-*.mk: Support arm-none-eabi / modm
This commit adds compiler flags needed for compilation with modm. Cleanup is needed, most notably should mcu-tags.mk be dissolved into defs-cpp.mk. The good part is that it works. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
714cf468f3
commit
4a5ae9c734
3 changed files with 83 additions and 10 deletions
|
|
@ -10,10 +10,6 @@ endif
|
|||
|
||||
MCU_FLASH_PUSH_FILE_HEX ?= $(patsubst %.elf,%.hex,$(EXE_BASENAME))
|
||||
EXE_MAP ?= $(patsubst %.elf,%.map,$(EXE_BASENAME))
|
||||
PROJECT_LDFLAGS += -static
|
||||
LD_DEFINE_SYMBOLS += _sbrk
|
||||
|
||||
PROJECT_LDFLAGS += $(addprefix -u ,$(LD_DEFINE_SYMBOLS))
|
||||
|
||||
include $(MODDIR)/make/mcu-defs.mk
|
||||
include $(MODDIR)/make/exe.mk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue