Skip to content

Commit

Permalink
Merge pull request #17304 from MrKevinWeiss/pr/depmips
Browse files Browse the repository at this point in the history
cpu/mips: deprecate mips cpu
  • Loading branch information
fjmolinas committed Dec 9, 2021
2 parents e8d8759 + cf74b26 commit 622fca0
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile.include
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions boards/6lowpan-clicker/doc.txt
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions boards/pic32-wifire/doc.txt
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions cpu/mips_pic32_common/doc.txt
Expand Up @@ -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.
Expand Down
11 changes: 11 additions & 0 deletions makefiles/deprecated_boards.inc.mk
@@ -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 changes: 10 additions & 0 deletions makefiles/deprecated_cpus.inc.mk
@@ -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

0 comments on commit 622fca0

Please sign in to comment.