1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-29 08:21:18 +01:00

build system: deprecate RIOT_MCU predefined macro

This re-adds `RIOT_MCU` as alias for `RIOT_CPU` and marks it as
deprecated. That should make life easier for downstream apps that may
still use `RIOT_CPU`.
This commit is contained in:
Marian Buschsieweke 2024-04-11 13:36:02 +02:00
parent cadbbb6e95
commit 29e963bd95
No known key found for this signature in database
GPG Key ID: 77AA882EC78084E6

View File

@ -81,4 +81,16 @@
# define MACRO_DEPRECATED
#endif
/**
* @brief Name of the MCU the app is compiled for as string literal
*
* @deprecated Use @ref RIOT_CPU instead. This will be removed soonest in
* release 2025.04
*
* This has been renamed to `RIOT_CPU` for consistency. Even though MCU would
* technically be the better name, CPU is used every else in the source code
* and folder structure.
*/
#define RIOT_MCU MACRO_DEPRECATED RIOT_CPU
/** @} */