diff options
Diffstat (limited to 'os/common')
-rw-r--r-- | os/common/ports/ARM/compilers/GCC/chtypes.h | 18 | ||||
-rw-r--r-- | os/common/ports/ARMCMx/compilers/GCC/chtypes.h | 18 | ||||
-rw-r--r-- | os/common/ports/ARMCMx/compilers/RVCT/chtypes.h | 18 | ||||
-rw-r--r-- | os/common/ports/AVR/compilers/GCC/chtypes.h | 18 | ||||
-rw-r--r-- | os/common/ports/SIMIA32/compilers/GCC/chtypes.h | 18 | ||||
-rw-r--r-- | os/common/ports/e200/compilers/CW/chtypes.h | 18 | ||||
-rw-r--r-- | os/common/ports/e200/compilers/GCC/chtypes.h | 18 | ||||
-rw-r--r-- | os/common/ports/e200/compilers/GHS/chtypes.h | 18 | ||||
-rw-r--r-- | os/common/ports/templates/chcore.c | 6 | ||||
-rw-r--r-- | os/common/ports/templates/chcore.h | 2 | ||||
-rw-r--r-- | os/common/ports/templates/chtypes.h | 22 |
11 files changed, 4 insertions, 170 deletions
diff --git a/os/common/ports/ARM/compilers/GCC/chtypes.h b/os/common/ports/ARM/compilers/GCC/chtypes.h index 048101666..23c3b8e7b 100644 --- a/os/common/ports/ARM/compilers/GCC/chtypes.h +++ b/os/common/ports/ARM/compilers/GCC/chtypes.h @@ -33,24 +33,6 @@ #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
* @{
*/
diff --git a/os/common/ports/ARMCMx/compilers/GCC/chtypes.h b/os/common/ports/ARMCMx/compilers/GCC/chtypes.h index 99c056951..de95804bf 100644 --- a/os/common/ports/ARMCMx/compilers/GCC/chtypes.h +++ b/os/common/ports/ARMCMx/compilers/GCC/chtypes.h @@ -33,24 +33,6 @@ #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
* @{
*/
diff --git a/os/common/ports/ARMCMx/compilers/RVCT/chtypes.h b/os/common/ports/ARMCMx/compilers/RVCT/chtypes.h index 3acb61f13..fbda59762 100644 --- a/os/common/ports/ARMCMx/compilers/RVCT/chtypes.h +++ b/os/common/ports/ARMCMx/compilers/RVCT/chtypes.h @@ -33,24 +33,6 @@ #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
* @{
*/
diff --git a/os/common/ports/AVR/compilers/GCC/chtypes.h b/os/common/ports/AVR/compilers/GCC/chtypes.h index 326558e1e..0bbb9ef9a 100644 --- a/os/common/ports/AVR/compilers/GCC/chtypes.h +++ b/os/common/ports/AVR/compilers/GCC/chtypes.h @@ -33,24 +33,6 @@ #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
* @{
*/
diff --git a/os/common/ports/SIMIA32/compilers/GCC/chtypes.h b/os/common/ports/SIMIA32/compilers/GCC/chtypes.h index a246adb03..6ed1f04bc 100644 --- a/os/common/ports/SIMIA32/compilers/GCC/chtypes.h +++ b/os/common/ports/SIMIA32/compilers/GCC/chtypes.h @@ -33,24 +33,6 @@ #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
* @{
*/
diff --git a/os/common/ports/e200/compilers/CW/chtypes.h b/os/common/ports/e200/compilers/CW/chtypes.h index ded59d96e..22be82288 100644 --- a/os/common/ports/e200/compilers/CW/chtypes.h +++ b/os/common/ports/e200/compilers/CW/chtypes.h @@ -33,24 +33,6 @@ #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
* @{
*/
diff --git a/os/common/ports/e200/compilers/GCC/chtypes.h b/os/common/ports/e200/compilers/GCC/chtypes.h index 10956e170..ae4d1162f 100644 --- a/os/common/ports/e200/compilers/GCC/chtypes.h +++ b/os/common/ports/e200/compilers/GCC/chtypes.h @@ -33,24 +33,6 @@ #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
* @{
*/
diff --git a/os/common/ports/e200/compilers/GHS/chtypes.h b/os/common/ports/e200/compilers/GHS/chtypes.h index 10956e170..ae4d1162f 100644 --- a/os/common/ports/e200/compilers/GHS/chtypes.h +++ b/os/common/ports/e200/compilers/GHS/chtypes.h @@ -33,24 +33,6 @@ #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
* @{
*/
diff --git a/os/common/ports/templates/chcore.c b/os/common/ports/templates/chcore.c index c0aed4793..217e49bfa 100644 --- a/os/common/ports/templates/chcore.c +++ b/os/common/ports/templates/chcore.c @@ -20,12 +20,8 @@ /**
* @file templates/chcore.c
* @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.
* @{
*/
diff --git a/os/common/ports/templates/chcore.h b/os/common/ports/templates/chcore.h index c3dd0e5d3..98c4b9502 100644 --- a/os/common/ports/templates/chcore.h +++ b/os/common/ports/templates/chcore.h @@ -23,7 +23,7 @@ * @details This file is a template of the system driver macros provided by
* a port.
*
- * @addtogroup core
+ * @addtogroup port_core
* @{
*/
diff --git a/os/common/ports/templates/chtypes.h b/os/common/ports/templates/chtypes.h index bf17f3003..fe30eff8c 100644 --- a/os/common/ports/templates/chtypes.h +++ b/os/common/ports/templates/chtypes.h @@ -20,12 +20,12 @@ /**
* @file templates/chtypes.h
* @brief System types template.
+ *
+ * @addtogroup port_types
* @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
* types in order to privilege size or performance, be careful in
* doing so.
- *
- * @addtogroup types
* @{
*/
@@ -37,24 +37,6 @@ #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
* @{
*/
|