1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #11846 from jcarrano/mips32r2_generic-is-gone

cpu/mips32r2_generic: remove cpu.
This commit is contained in:
Juan I Carrano 2019-07-22 11:35:24 +02:00 committed by GitHub
commit 7dd00b79e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 166 deletions

View File

@ -40,6 +40,13 @@ This way, their names are never removed from the RIOT repository.
# Removed Features
### cpu/mips32r2_generic [a2bcd7539ce1931b7aec0077ea71dadd62c96edd]
Author:
- Neil Jones <neil.jones@imgtec.com>
- No boards use this CPU (the only one was mips-malta).
- (Same reasons as mips-malta)
### boards/mips-malta [ee6b6b9c388b78fcec7ba6e239a6c76041b9bbb7]
Author:
- Neil Jones <neil.jones@imgtec.com>

View File

@ -1,5 +0,0 @@
MODULE = cpu
DIRS += $(RIOTCPU)/mips32r2_common
include $(RIOTBASE)/Makefile.base

View File

@ -1 +0,0 @@
-include $(RIOTCPU)/mips32r2_common/Makefile.features

View File

@ -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

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */

View File

@ -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 */
/** @} */