mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
22 lines
518 B
Makefile
22 lines
518 B
Makefile
|
export MEMORY_BASE=0x80000000
|
||
|
export MEMORY_SIZE=1M
|
||
|
export APP_START=0x80000000
|
||
|
|
||
|
include $(RIOTMAKE)/arch/mips.inc.mk
|
||
|
|
||
|
export USEMODULE += periph
|
||
|
export USEMODULE += periph_common
|
||
|
export USEMODULE += newlib
|
||
|
|
||
|
export USEMODULE += periph_timer
|
||
|
|
||
|
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
|