2017-11-13 15:06:50 +01:00
|
|
|
export INCLUDES += -I$(RIOTCPU)/mips32r2_common/include
|
2017-02-09 13:16:55 +01:00
|
|
|
|
2017-11-13 15:24:24 +01:00
|
|
|
export USEMODULE += mips32r2_common
|
|
|
|
export USEMODULE += mips32r2_common_periph
|
2017-10-12 16:20:15 +02:00
|
|
|
export USEMODULE += periph_common
|
2017-02-22 16:07:58 +01:00
|
|
|
export USEMODULE += newlib
|
2017-04-07 16:25:05 +02:00
|
|
|
|
|
|
|
ifeq ($(USE_UHI_SYSCALLS),1)
|
|
|
|
#Use UHI to handle syscalls
|
2017-11-13 15:02:56 +01:00
|
|
|
export LINKFLAGS += -luhi
|
2017-04-07 16:25:05 +02:00
|
|
|
export USEMODULE += newlib_syscalls_mips_uhi
|
|
|
|
else
|
|
|
|
#Use RIOT to handle syscalls (default)
|
|
|
|
export USEMODULE += newlib_syscalls_default
|
|
|
|
endif
|