Loading...
Searching...
No Matches
riotbuild-prefix.h.in
1/*
2 * Copyright (C) 2024 Otto-von-Guericke-Universität Magdeburg
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser General
5 * Public License v2.1. See the file LICENSE in the top level directory for more
6 * details.
7 */
8
20#ifdef DOXYGEN
25#define RIOT_VERSION "<YEAR_OF_RELEASE>.<MONTH_OF_RELEASE>-<POSTFIX>"
26
33#define RIOT_VERSION_CODE RIOT_VERSION_NUM(<YEAR>,<MONTH>,<PATCH>,<EXTRA>)
34
41#define RIOT_APPLICATION "<RIOT_APP_NAME>"
42
46#define RIOT_BOARD "<BOARD_NAME>"
47
55#define RIOT_CPU "<CPU_FOLDER_NAME>"
56
63#define CPU_RAM_SIZE /* RAM Size in Bytes */
64#endif /* DOXYGEN */
65
76#if defined(DOXYGEN)
77# define MACRO_DEPRECATED /* implementation */
78#elif defined(__GNUC__) || defined(__clang__)
79# define MACRO_DEPRECATED _Pragma("GCC warning \"Code is using a deprecated macro\"")
80#else
81# define MACRO_DEPRECATED
82#endif
83
94#define RIOT_MCU MACRO_DEPRECATED RIOT_CPU
95