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:
parent
cadbbb6e95
commit
29e963bd95
12
dist/tools/genconfigheader/riotbuild-prefix.h.in
vendored
12
dist/tools/genconfigheader/riotbuild-prefix.h.in
vendored
@ -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
|
||||
|
||||
/** @} */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user