1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/msp430_common/Makefile.include
Gunar Schorcht 419cedf58e cpu/msp430_common: add real malloc/free functions
For this purpose, adapted AVR libc functions are used. When used, malloc and free functions require 304 additional bytes of code compared to the oneway_malloc module.
2019-04-03 09:21:03 +02:00

16 lines
438 B
Makefile

PSEUDOMODULES += msp430_malloc
INCLUDES += -I$(RIOTCPU)/msp430_common/include/
# export the CPU model
MODEL = $(shell echo $(CPU_MODEL) | tr 'a-z' 'A-Z')
export CFLAGS += -DCPU_MODEL_$(MODEL)
export UNDEF += $(BINDIR)/msp430_common/startup.o
export USEMODULE += msp430_common msp430_common_periph msp430_malloc periph_common
DEFAULT_MODULE += oneway_malloc
# include the msp430 common Makefile
include $(RIOTMAKE)/arch/msp430.inc.mk