2017-02-09 13:16:55 +01:00
|
|
|
export MEMORY_BASE=0x80000000
|
|
|
|
export MEMORY_SIZE=1M
|
|
|
|
export APP_START=0x80000000
|
|
|
|
|
2016-01-27 10:47:12 +01:00
|
|
|
include $(RIOTMAKE)/arch/mips.inc.mk
|
2017-02-09 13:16:55 +01:00
|
|
|
|
|
|
|
export LINKFLAGS += -Tuhi32.ld
|
|
|
|
export USEMODULE += periph
|
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
|
|
|
|
export LINKFLAGS += -luhi -Tuhi32.ld
|
|
|
|
export USEMODULE += newlib_syscalls_mips_uhi
|
|
|
|
else
|
|
|
|
#Use RIOT to handle syscalls (default)
|
|
|
|
export LINKFLAGS += -Tuhi32.ld
|
|
|
|
export USEMODULE += newlib_syscalls_default
|
|
|
|
endif
|