git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11997 110e8d01-0319-4d1e-a829-52ad28d1bb01

This commit is contained in:
Giovanni Di Sirio 2018-05-04 12:08:34 +00:00
parent 6b2c62e9a3
commit 24157d68e4
14 changed files with 25 additions and 176 deletions

View File

@ -799,6 +799,7 @@ INPUT = ./src \
../../os/lib/dox \ ../../os/lib/dox \
../../os/lib/src \ ../../os/lib/src \
../../os/lib/include \ ../../os/lib/include \
../../os/common/ports/templates \
../../os/hal/dox \ ../../os/hal/dox \
../../os/hal/src \ ../../os/hal/src \
../../os/hal/include \ ../../os/hal/include \

View File

@ -32,24 +32,6 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
/**
* @name Common constants
*/
/**
* @brief Generic 'false' boolean constant.
*/
#if !defined(FALSE) || defined(__DOXYGEN__)
#define FALSE 0
#endif
/**
* @brief Generic 'true' boolean constant.
*/
#if !defined(TRUE) || defined(__DOXYGEN__)
#define TRUE 1
#endif
/** @} */
/** /**
* @name Kernel types * @name Kernel types
* @{ * @{

View File

@ -32,24 +32,6 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
/**
* @name Common constants
*/
/**
* @brief Generic 'false' boolean constant.
*/
#if !defined(FALSE) || defined(__DOXYGEN__)
#define FALSE 0
#endif
/**
* @brief Generic 'true' boolean constant.
*/
#if !defined(TRUE) || defined(__DOXYGEN__)
#define TRUE 1
#endif
/** @} */
/** /**
* @name Kernel types * @name Kernel types
* @{ * @{

View File

@ -32,24 +32,6 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
/**
* @name Common constants
*/
/**
* @brief Generic 'false' boolean constant.
*/
#if !defined(FALSE) || defined(__DOXYGEN__)
#define FALSE 0
#endif
/**
* @brief Generic 'true' boolean constant.
*/
#if !defined(TRUE) || defined(__DOXYGEN__)
#define TRUE (!FALSE)
#endif
/** @} */
/** /**
* @name Kernel types * @name Kernel types
* @{ * @{

View File

@ -32,24 +32,6 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
/**
* @name Common constants
*/
/**
* @brief Generic 'false' boolean constant.
*/
#if !defined(FALSE) || defined(__DOXYGEN__)
#define FALSE 0
#endif
/**
* @brief Generic 'true' boolean constant.
*/
#if !defined(TRUE) || defined(__DOXYGEN__)
#define TRUE (!FALSE)
#endif
/** @} */
/** /**
* @name Kernel types * @name Kernel types
* @{ * @{

View File

@ -32,24 +32,6 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
/**
* @name Common constants
*/
/**
* @brief Generic 'false' boolean constant.
*/
#if !defined(FALSE) || defined(__DOXYGEN__)
#define FALSE 0
#endif
/**
* @brief Generic 'true' boolean constant.
*/
#if !defined(TRUE) || defined(__DOXYGEN__)
#define TRUE 1
#endif
/** @} */
/** /**
* @name Derived generic types * @name Derived generic types
* @{ * @{

View File

@ -32,24 +32,6 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
/**
* @name Common constants
*/
/**
* @brief Generic 'false' boolean constant.
*/
#if !defined(FALSE) || defined(__DOXYGEN__)
#define FALSE 0
#endif
/**
* @brief Generic 'true' boolean constant.
*/
#if !defined(TRUE) || defined(__DOXYGEN__)
#define TRUE 1
#endif
/** @} */
/** /**
* @name Kernel types * @name Kernel types
* @{ * @{

View File

@ -32,24 +32,6 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
/**
* @name Common constants
*/
/**
* @brief Generic 'false' boolean constant.
*/
#if !defined(FALSE) || defined(__DOXYGEN__)
#define FALSE 0
#endif
/**
* @brief Generic 'true' boolean constant.
*/
#if !defined(TRUE) || defined(__DOXYGEN__)
#define TRUE 1
#endif
/** @} */
/** /**
* @name Kernel types * @name Kernel types
* @{ * @{

View File

@ -32,24 +32,6 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
/**
* @name Common constants
*/
/**
* @brief Generic 'false' boolean constant.
*/
#if !defined(FALSE) || defined(__DOXYGEN__)
#define FALSE 0
#endif
/**
* @brief Generic 'true' boolean constant.
*/
#if !defined(TRUE) || defined(__DOXYGEN__)
#define TRUE 1
#endif
/** @} */
/** /**
* @name Kernel types * @name Kernel types
* @{ * @{

View File

@ -20,12 +20,8 @@
/** /**
* @file templates/chcore.c * @file templates/chcore.c
* @brief Port related template code. * @brief Port related template code.
* @details This file is a template of the system driver functions provided by
* a port. Some of the following functions may be implemented as
* macros in chcore.h if the implementer decides that there is an
* advantage in doing so, for example because performance concerns.
* *
* @addtogroup core * @addtogroup port_core
* @details Non portable code templates. * @details Non portable code templates.
* @{ * @{
*/ */

View File

@ -23,7 +23,7 @@
* @details This file is a template of the system driver macros provided by * @details This file is a template of the system driver macros provided by
* a port. * a port.
* *
* @addtogroup core * @addtogroup port_core
* @{ * @{
*/ */

View File

@ -20,12 +20,12 @@
/** /**
* @file templates/chtypes.h * @file templates/chtypes.h
* @brief System types template. * @brief System types template.
*
* @addtogroup port_types
* @details The types defined in this file may change depending on the target * @details The types defined in this file may change depending on the target
* architecture. You may also try to optimize the size of the various * architecture. You may also try to optimize the size of the various
* types in order to privilege size or performance, be careful in * types in order to privilege size or performance, be careful in
* doing so. * doing so.
*
* @addtogroup types
* @{ * @{
*/ */
@ -36,24 +36,6 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
/**
* @name Common constants
*/
/**
* @brief Generic 'false' boolean constant.
*/
#if !defined(FALSE) || defined(__DOXYGEN__)
#define FALSE 0
#endif
/**
* @brief Generic 'true' boolean constant.
*/
#if !defined(TRUE) || defined(__DOXYGEN__)
#define TRUE (!FALSE)
#endif
/** @} */
/** /**
* @name Kernel types * @name Kernel types
* @{ * @{

View File

@ -73,6 +73,26 @@
#define CH_KERNEL_PATCH 0 #define CH_KERNEL_PATCH 0
/** @} */ /** @} */
/**
* @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
/** @} */
/** /**
* @name Wakeup messages * @name Wakeup messages
* @{ * @{

View File

@ -150,9 +150,3 @@
* @defgroup statistics Statistics * @defgroup statistics Statistics
* @ingroup debug * @ingroup debug
*/ */
/**
* @defgroup core Port Layer
* @ingroup kernel
*/