diff --git a/cpu/mips32r2_generic/Makefile b/cpu/mips32r2_generic/Makefile deleted file mode 100644 index daf75bfdb8ac..000000000000 --- a/cpu/mips32r2_generic/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -MODULE = cpu - -DIRS += $(RIOTCPU)/mips32r2_common - -include $(RIOTBASE)/Makefile.base diff --git a/cpu/mips32r2_generic/Makefile.features b/cpu/mips32r2_generic/Makefile.features deleted file mode 100644 index df468eb83826..000000000000 --- a/cpu/mips32r2_generic/Makefile.features +++ /dev/null @@ -1 +0,0 @@ --include $(RIOTCPU)/mips32r2_common/Makefile.features diff --git a/cpu/mips32r2_generic/Makefile.include b/cpu/mips32r2_generic/Makefile.include deleted file mode 100644 index efb2a88b133e..000000000000 --- a/cpu/mips32r2_generic/Makefile.include +++ /dev/null @@ -1,8 +0,0 @@ -export MEMORY_BASE=0x80000000 -export MEMORY_SIZE=1M -export APP_START=0x80000000 - -include $(RIOTMAKE)/arch/mips.inc.mk -include $(RIOTCPU)/mips32r2_common/Makefile.include - -export LINKFLAGS += -Tuhi32.ld diff --git a/cpu/mips32r2_generic/include/cpu.h b/cpu/mips32r2_generic/include/cpu.h deleted file mode 100644 index 8b910ba5850c..000000000000 --- a/cpu/mips32r2_generic/include/cpu.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2016, Imagination Technologies Limited and/or its - * affiliated group companies. - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @defgroup cpu_mips32r2_generic Imagination Technologies MIPS32R2 generic - * @ingroup cpu - * @brief Imagination Technologies MIPS32R2 generic - * @{ - * - * @file - * @brief Common implementations and headers for Imagination Technologies MIPS32R2 compliant devices - * - * @author Neil Jones - */ - -#ifndef CPU_H -#define CPU_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include -#include - -#include "irq.h" - -/** - * @brief Print the last instruction's address - * - * @todo: Not supported - */ -static inline void cpu_print_last_instruction(void) -{ - /* This function must exist else RIOT won't compile */ -} - -#ifdef __cplusplus -} -#endif - -#endif /* CPU_H */ -/** @} */ diff --git a/cpu/mips32r2_generic/include/cpu_conf.h b/cpu/mips32r2_generic/include/cpu_conf.h deleted file mode 100644 index 4349f2ec8436..000000000000 --- a/cpu/mips32r2_generic/include/cpu_conf.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2016, Imagination Technologies Limited and/or its - * affiliated group companies. - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @ingroup cpu_mips32r2_generic - * @{ - * - * @file - * @brief Common CPU definitions for MIPS32R2 compliant devices. - * - * @author Neil Jones - */ - -#ifndef CPU_CONF_H -#define CPU_CONF_H - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @brief Configuration of default stack sizes - * - * printf takes a pretty tortured route through the C lib - * then via UHI syscall exception to end up at the UART - * driver. - * - * When debugging timer code we get printfs on the idle threads - * stack which can easily blow its limits. - * - * Note code must be compiled at -Os with these values, using -O0 - * you'll overflow these stacks. - * - * NO ISR stack is in use yet, interrupt use the current running stack - * hence the big-ish default stack size. - * @{ - */ - -#ifndef THREAD_EXTRA_STACKSIZE_PRINTF -#define THREAD_EXTRA_STACKSIZE_PRINTF (1024) -#endif - -#ifndef THREAD_STACKSIZE_DEFAULT -#define THREAD_STACKSIZE_DEFAULT (2048) -#endif - -#ifndef THREAD_STACKSIZE_IDLE -#ifdef NDEBUG -#define THREAD_STACKSIZE_IDLE (512) -#else -#define THREAD_STACKSIZE_IDLE (512 + THREAD_EXTRA_STACKSIZE_PRINTF) -#endif -#endif -/** @} */ - - -#ifdef __cplusplus -} -#endif - -#endif /* CPU_CONF_H */ -/** @} */ diff --git a/cpu/mips32r2_generic/include/periph_cpu.h b/cpu/mips32r2_generic/include/periph_cpu.h deleted file mode 100644 index 98bac93ceb28..000000000000 --- a/cpu/mips32r2_generic/include/periph_cpu.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2016, Imagination Technologies Limited and/or its - * affiliated group companies. - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/* This file must exist to get timer code to build */ - -/* No peripherals I/O via JTAG or Bootloader using UHI */ - -#ifndef PERIPH_CPU_H -#define PERIPH_CPU_H - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @name Power management configuration - * @{ - */ -#define PROVIDES_PM_SET_LOWEST -/** @} */ - -/** - * @brief Prevent shared timer functions from being used - */ -#define PERIPH_TIMER_PROVIDES_SET - -#ifdef __cplusplus -} -#endif - -#endif /* PERIPH_CPU_H */ -/** @} */