Blame view

RIOT/cpu/mips32r2_common/Makefile.include 484 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  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
  
  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