mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
419cedf58e
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.
16 lines
438 B
Makefile
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
|