diff --git a/dist/tools/genconfigheader/riotbuild-prefix.h.in b/dist/tools/genconfigheader/riotbuild-prefix.h.in index 1c658cfa350b..6eabddab5b8e 100644 --- a/dist/tools/genconfigheader/riotbuild-prefix.h.in +++ b/dist/tools/genconfigheader/riotbuild-prefix.h.in @@ -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 + /** @} */