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

cpu/mips: deprecate mips cpu

Add deprecate note in the mips cpu.
Add warning in make when any mips based board is being used (6lowpan-clicker, pic32-wifire).
This commit is contained in:
MrKevinWeiss 2021-12-01 10:35:53 +01:00
parent b96f94bfb8
commit cf74b26c55
No known key found for this signature in database
GPG Key ID: 3514539D7808D123
6 changed files with 33 additions and 0 deletions

View File

@ -392,6 +392,12 @@ INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBAS
# process provided features
include $(RIOTBASE)/Makefile.features
ifneq ($(RIOT_CI_BUILD),1)
# Warn about used deprecated boards
include $(RIOTMAKE)/deprecated_boards.inc.mk
include $(RIOTMAKE)/deprecated_cpus.inc.mk
endif
# mandatory includes!
include $(RIOTMAKE)/pseudomodules.inc.mk
include $(RIOTMAKE)/defaultmodules.inc.mk

View File

@ -2,6 +2,8 @@
@defgroup boards_6lowpan-clicker MikroE 6LoWPAN Clicker
@ingroup boards
@brief Support for the MikroE 6LoWPAN Clicker
@deprecated Will not be available after the 2022.07 release. This includes
all MIPS based boards and cpus.
## Overview

View File

@ -2,6 +2,8 @@
@defgroup boards_pic32-wifire Digilent PIC32 WiFire
@ingroup boards
@brief Support for the Digilent PIC32 WiFire
@deprecated Will not be available after the 2022.07 release. This includes
all MIPS based boards and cpus.
## Overview

View File

@ -2,6 +2,8 @@
* @defgroup cpu_mips_pic32_common Microchip MIPS common
* @ingroup cpu
* @brief Microchip MIPS common
* @deprecated Will not be available after the 2022.07 release. This includes
all MIPS based boards and cpus.
*
* This module contains all common code and definition to all Microchip MIPS
* cpu families supported by RIOT: @ref cpu_mips_pic32mx, @ref cpu_mips_pic32mz.

View File

@ -0,0 +1,11 @@
# Add deprecated modules here
# Keep this list ALPHABETICALLY SORTED!!!!
ifeq ($(MAKELEVEL),0)
DEPRECATED_BOARDS += 6lowpan-clicker
DEPRECATED_BOARDS += pic32-wifire
ifneq (,$(filter $(DEPRECATED_BOARDS),$(BOARD)))
$(shell $(COLOR_ECHO) "$(COLOR_RED)Deprecated board: $(COLOR_RESET)"\
"$(BOARD)" 1>&2)
endif
endif

View File

@ -0,0 +1,10 @@
# Add deprecated modules here
# Keep this list ALPHABETICALLY SORTED!!!!
ifeq ($(MAKELEVEL),0)
DEPRECATED_CPUS += mips_pic32mx
DEPRECATED_CPUS += mips_pic32mz
ifneq (,$(filter $(DEPRECATED_CPUS),$(CPU)))
$(shell $(COLOR_ECHO) "$(COLOR_RED)Deprecated cpu: $(COLOR_RESET)"\
"$(CPU)" 1>&2)
endif
endif