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:
parent
b96f94bfb8
commit
cf74b26c55
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
11
makefiles/deprecated_boards.inc.mk
Normal file
11
makefiles/deprecated_boards.inc.mk
Normal 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
|
10
makefiles/deprecated_cpus.inc.mk
Normal file
10
makefiles/deprecated_cpus.inc.mk
Normal 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
|
Loading…
Reference in New Issue
Block a user