mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/mips32r2_generic: remove cpu.
The `mips32r2_generic` CPU was only used by the `mips-malta` board which has been removed. The reasons for this removal are the same as for the board: - No hardware to test. - The board that used this CPU is not available off the shelf. - No UART input. - No integrated flasher (one needs to use a separate Windows tool) For more information and discussion around MIPS, see issues: - #11831 (Removal of mips-malta) - #11788 (General MIPS removal)
This commit is contained in:
parent
1ad3c780d4
commit
a2bcd7539c
@ -1,5 +0,0 @@
|
||||
MODULE = cpu
|
||||
|
||||
DIRS += $(RIOTCPU)/mips32r2_common
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
@ -1 +0,0 @@
|
||||
-include $(RIOTCPU)/mips32r2_common/Makefile.features
|
@ -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
|
@ -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 <neil.jones@imgtec.com>
|
||||
*/
|
||||
|
||||
#ifndef CPU_H
|
||||
#define CPU_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#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 */
|
||||
/** @} */
|
@ -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 <neil.jones@imgtec.com>
|
||||
*/
|
||||
|
||||
#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 */
|
||||
/** @} */
|
@ -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 */
|
||||
/** @} */
|
Loading…
Reference in New Issue
Block a user