/* ChibiOS - Copyright (C) 2006,2007,2008,2009,2010,2011,2012,2013,2014, 2015,2016,2017,2018,2019,2020,2021 Giovanni Di Sirio. This file is part of ChibiOS. ChibiOS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 3 of the License. ChibiOS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ /** * @file rt/include/ch.h * @brief ChibiOS/RT main include file. * * @addtogroup kernel_info * @details This header includes all the required kernel headers so it is the * only kernel header you usually want to include in your application. * @details Kernel related info. * @{ */ #ifndef CH_H #define CH_H /** * @brief ChibiOS/RT identification macro. */ #define __CHIBIOS_RT__ /** * @brief Stable release flag. */ #define CH_KERNEL_STABLE 0 /** * @name ChibiOS/RT version identification * @{ */ /** * @brief Kernel version string. */ #define CH_KERNEL_VERSION "7.0.1" /** * @brief Kernel version major number. */ #define CH_KERNEL_MAJOR 7 /** * @brief Kernel version minor number. */ #define CH_KERNEL_MINOR 0 /** * @brief Kernel version patch number. */ #define CH_KERNEL_PATCH 1 /** @} */ /** * @name Constants for configuration options * @{ */ /** * @brief Generic 'false' preprocessor boolean constant. * @note It is meant to be used in configuration files as switch. */ #if !defined(FALSE) || defined(__DOXYGEN__) #define FALSE 0 #endif /** * @brief Generic 'true' preprocessor boolean constant. * @note It is meant to be used in configuration files as switch. */ #if !defined(TRUE) || defined(__DOXYGEN__) #define TRUE 1 #endif /** @} */ /* License.*/ #include "chlicense.h" /* Configuration headers, checks and licensing restrictions.*/ #include "chconf.h" #include "chchecks.h" #include "chrestrictions.h" /* Base kernel headers.*/ #include "chearly.h" #include "chrfcu.h" #include "chdebug.h" #include "chtime.h" #include "chlists.h" #include "chalign.h" #include "chtrace.h" #include "chport.h" #include "chtm.h" #include "chstats.h" #include "chobjects.h" #include "chsys.h" #include "chinstances.h" #include "chvt.h" #include "chschd.h" #include "chthreads.h" /* Optional subsystems headers.*/ #include "chregistry.h" #include "chsem.h" #include "chmtx.h" #include "chcond.h" #include "chevents.h" #include "chmsg.h" /* OSLIB.*/ #include "chlib.h" /* Headers dependent on the OSLIB.*/ #include "chdynamic.h" #endif /* CH_H */ /** @} */