Skip to content
Snippets Groups Projects
Commit 062fbd85 authored by Gaëtan Harter's avatar Gaëtan Harter
Browse files

cpu/mips32r2_generic: add new cpu that depends on mips32r2_common

Prepare to make `mips32r2_common` only a common cpu and not a standalone one.
parent c932c31f
No related branches found
No related tags found
No related merge requests found
export CPU = mips32r2_common export CPU = mips32r2_generic
export INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include/ export INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include/
#export USE_HARD_FLOAT = 1 #export USE_HARD_FLOAT = 1
export USE_DSP = 1 export USE_DSP = 1
......
MODULE = cpu
DIRS += $(RIOTCPU)/mips32r2_common
include $(RIOTBASE)/Makefile.base
-include $(RIOTCPU)/mips32r2_common/Makefile.features
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
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
*/ */
/** /**
* @defgroup cpu_mips32r2_commom Imagination Technologies MIPS32R2 Common * @defgroup cpu_mips32r2_generic Imagination Technologies MIPS32R2 Common
* @ingroup cpu * @ingroup cpu
* @brief Imagination Technologies MIPS32R2 common * @brief Imagination Technologies MIPS32R2 common
* @{ * @{
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
*/ */
/** /**
* @ingroup cpu_mips32r2_commom * @ingroup cpu_mips32r2_generic
* @{ * @{
* *
* @file * @file
......
...@@ -10,12 +10,6 @@ ...@@ -10,12 +10,6 @@
/* No peripherals I/O via JTAG or Bootloader using UHI */ /* No peripherals I/O via JTAG or Bootloader using UHI */
/*
* Note mips32r2_common can be selected in its own right as a CPU
* for testing on PFGA systems (like BOARD=mips-malta) with limited
* or no peripherals
*/
#ifndef PERIPH_CPU_H #ifndef PERIPH_CPU_H
#define PERIPH_CPU_H #define PERIPH_CPU_H
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment