From 81b78dd64288d5983f35d028d239c52d4d45be96 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 23 Sep 2017 14:58:16 +0000 Subject: [PATCH] Fixed bug #887. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_17.6.x@10690 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/SPC5/NIL-SPC560D-EVB/chconf.h | 2 +- demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h | 2 +- demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h | 2 +- demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h | 2 +- .../NIL-STM32F373-STM32373C_EVAL/chconf.h | 2 +- demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h | 2 +- demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h | 2 +- demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h | 2 +- demos/various/NIL-ARMCM0-GENERIC/chconf.h | 2 +- demos/various/NIL-ARMCM4-GENERIC/chconf.h | 2 +- os/nil/dox/nil.dox | 6 +-- os/nil/include/ch.h | 44 +++++++++---------- os/nil/templates/chconf.h | 2 +- readme.txt | 1 + 14 files changed, 37 insertions(+), 36 deletions(-) diff --git a/demos/SPC5/NIL-SPC560D-EVB/chconf.h b/demos/SPC5/NIL-SPC560D-EVB/chconf.h index 92e72a128..4338ce9ed 100644 --- a/demos/SPC5/NIL-SPC560D-EVB/chconf.h +++ b/demos/SPC5/NIL-SPC560D-EVB/chconf.h @@ -20,7 +20,7 @@ * @details A copy of this file must be placed in each project directory, it * contains the application specific kernel settings. * - * @addtogroup config + * @addtogroup NIL_CONFIG * @details Kernel related settings and hooks. * @{ */ diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h index 0304f2e61..8757fcfd9 100644 --- a/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h +++ b/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h @@ -20,7 +20,7 @@ * @details A copy of this file must be placed in each project directory, it * contains the application specific kernel settings. * - * @addtogroup config + * @addtogroup NIL_CONFIG * @details Kernel related settings and hooks. * @{ */ diff --git a/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h index c070f30c7..bcf8136b5 100644 --- a/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h +++ b/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h @@ -20,7 +20,7 @@ * @details A copy of this file must be placed in each project directory, it * contains the application specific kernel settings. * - * @addtogroup config + * @addtogroup NIL_CONFIG * @details Kernel related settings and hooks. * @{ */ diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h index 1fbf86a1f..16645ca36 100644 --- a/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h +++ b/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h @@ -20,7 +20,7 @@ * @details A copy of this file must be placed in each project directory, it * contains the application specific kernel settings. * - * @addtogroup config + * @addtogroup NIL_CONFIG * @details Kernel related settings and hooks. * @{ */ diff --git a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h index dcde895c4..9e26d79b4 100644 --- a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h +++ b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h @@ -20,7 +20,7 @@ * @details A copy of this file must be placed in each project directory, it * contains the application specific kernel settings. * - * @addtogroup config + * @addtogroup NIL_CONFIG * @details Kernel related settings and hooks. * @{ */ diff --git a/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h index ad88fc1bd..d8d0bc139 100644 --- a/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h +++ b/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h @@ -20,7 +20,7 @@ * @details A copy of this file must be placed in each project directory, it * contains the application specific kernel settings. * - * @addtogroup config + * @addtogroup NIL_CONFIG * @details Kernel related settings and hooks. * @{ */ diff --git a/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h b/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h index c5772de18..e64964905 100644 --- a/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h +++ b/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h @@ -20,7 +20,7 @@ * @details A copy of this file must be placed in each project directory, it * contains the application specific kernel settings. * - * @addtogroup config + * @addtogroup NIL_CONFIG * @details Kernel related settings and hooks. * @{ */ diff --git a/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h index c070f30c7..bcf8136b5 100644 --- a/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h +++ b/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h @@ -20,7 +20,7 @@ * @details A copy of this file must be placed in each project directory, it * contains the application specific kernel settings. * - * @addtogroup config + * @addtogroup NIL_CONFIG * @details Kernel related settings and hooks. * @{ */ diff --git a/demos/various/NIL-ARMCM0-GENERIC/chconf.h b/demos/various/NIL-ARMCM0-GENERIC/chconf.h index b6f93ad54..78d8470a1 100644 --- a/demos/various/NIL-ARMCM0-GENERIC/chconf.h +++ b/demos/various/NIL-ARMCM0-GENERIC/chconf.h @@ -20,7 +20,7 @@ * @details A copy of this file must be placed in each project directory, it * contains the application specific kernel settings. * - * @addtogroup config + * @addtogroup NIL_CONFIG * @details Kernel related settings and hooks. * @{ */ diff --git a/demos/various/NIL-ARMCM4-GENERIC/chconf.h b/demos/various/NIL-ARMCM4-GENERIC/chconf.h index b6f93ad54..78d8470a1 100644 --- a/demos/various/NIL-ARMCM4-GENERIC/chconf.h +++ b/demos/various/NIL-ARMCM4-GENERIC/chconf.h @@ -20,7 +20,7 @@ * @details A copy of this file must be placed in each project directory, it * contains the application specific kernel settings. * - * @addtogroup config + * @addtogroup NIL_CONFIG * @details Kernel related settings and hooks. * @{ */ diff --git a/os/nil/dox/nil.dox b/os/nil/dox/nil.dox index d539d8863..197eef91e 100644 --- a/os/nil/dox/nil.dox +++ b/os/nil/dox/nil.dox @@ -28,7 +28,7 @@ * @ingroup NIL */ -/** +/*-* * @defgroup NIL_TYPES Kernel Types * @ingroup NIL */ @@ -38,12 +38,12 @@ * @ingroup NIL */ -/** +/*-* * @defgroup NIL_CORE Port Layer * @ingroup NIL */ -/** +/*-* * @defgroup NIL_TIMER Timer Interface * @ingroup NIL */ diff --git a/os/nil/include/ch.h b/os/nil/include/ch.h index eb9a0d1cb..1c63f9fad 100644 --- a/os/nil/include/ch.h +++ b/os/nil/include/ch.h @@ -139,7 +139,7 @@ /* Module pre-compile time settings. */ /*===========================================================================*/ -/** +/*-* * @brief Number of user threads in the application. * @note This number is not inclusive of the idle thread which is * implicitly handled. @@ -148,7 +148,7 @@ #define CH_CFG_NUM_THREADS 2 #endif -/** +/*-* * @brief System time counter resolution. * @note Allowed values are 16 or 32 bits. */ @@ -156,7 +156,7 @@ #define CH_CFG_ST_RESOLUTION 32 #endif -/** +/*-* * @brief System tick frequency. * @note This value together with the @p CH_CFG_ST_RESOLUTION * option defines the maximum amount of time allowed for @@ -166,7 +166,7 @@ #define CH_CFG_ST_FREQUENCY 100 #endif -/** +/*-* * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic * periodic tick. This value represents the minimum number @@ -178,7 +178,7 @@ #define CH_CFG_ST_TIMEDELTA 0 #endif -/** +/*-* * @brief Semaphores APIs. * @details If enabled then the Semaphores APIs are included in the kernel. * @@ -188,7 +188,7 @@ #define CH_CFG_USE_SEMAPHORES TRUE #endif -/** +/*-* * @brief Mutexes APIs. * @details If enabled then the mutexes APIs are included in the kernel. * @@ -199,7 +199,7 @@ #define CH_CFG_USE_MUTEXES FALSE #endif -/** +/*-* * @brief Events Flags APIs. * @details If enabled then the event flags APIs are included in the kernel. * @@ -209,7 +209,7 @@ #define CH_CFG_USE_EVENTS TRUE #endif -/** +/*-* * @brief Mailboxes APIs. * @details If enabled then the asynchronous messages (mailboxes) APIs are * included in the kernel. @@ -221,7 +221,7 @@ #define CH_CFG_USE_MAILBOXES TRUE #endif -/** +/*-* * @brief Core Memory Manager APIs. * @details If enabled then the core memory manager APIs are included * in the kernel. @@ -232,7 +232,7 @@ #define CH_CFG_USE_MEMCORE TRUE #endif -/** +/*-* * @brief Heap Allocator APIs. * @details If enabled then the memory heap allocator APIs are included * in the kernel. @@ -243,7 +243,7 @@ #define CH_CFG_USE_HEAP TRUE #endif -/** +/*-* * @brief Memory Pools Allocator APIs. * @details If enabled then the memory pools allocator APIs are included * in the kernel. @@ -254,7 +254,7 @@ #define CH_CFG_USE_MEMPOOLS TRUE #endif -/** +/*-* * @brief Debug option, kernel statistics. * * @note Feature not currently implemented. @@ -264,7 +264,7 @@ #define CH_DBG_STATISTICS FALSE #endif -/** +/*-* * @brief Debug option, system state check. * @note This is a planned feature, not yet implemented. * @@ -274,7 +274,7 @@ #define CH_DBG_SYSTEM_STATE_CHECK FALSE #endif -/** +/*-* * @brief Debug option, parameters checks. * * @note The default is @p FALSE. @@ -283,7 +283,7 @@ #define CH_DBG_ENABLE_CHECKS FALSE #endif -/** +/*-* * @brief System assertions. * * @note The default is @p FALSE. @@ -292,7 +292,7 @@ #define CH_DBG_ENABLE_ASSERTS FALSE #endif -/** +/*-* * @brief Stack check. * * @note The default is @p FALSE. @@ -301,14 +301,14 @@ #define CH_DBG_ENABLE_STACK_CHECK FALSE #endif -/** +/*-* * @brief System initialization hook. */ #if !defined(CH_CFG_SYSTEM_INIT_HOOK) || defined(__DOXYGEN__) #define CH_CFG_SYSTEM_INIT_HOOK() {} #endif -/** +/*-* * @brief Threads descriptor structure extension. * @details User fields added to the end of the @p thread_t structure. */ @@ -316,14 +316,14 @@ #define CH_CFG_THREAD_EXT_FIELDS #endif -/** +/*-* * @brief Threads initialization hook. */ #if !defined(CH_CFG_THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__) #define CH_CFG_THREAD_EXT_INIT_HOOK(tr) {} #endif -/** +/*-* * @brief Idle thread enter hook. * @note This hook is invoked within a critical zone, no OS functions * should be invoked from here. @@ -333,7 +333,7 @@ #define CH_CFG_IDLE_ENTER_HOOK() {} #endif -/** +/*-* * @brief Idle thread leave hook. * @note This hook is invoked within a critical zone, no OS functions * should be invoked from here. @@ -343,7 +343,7 @@ #define CH_CFG_IDLE_LEAVE_HOOK() {} #endif -/** +/*-* * @brief System halt hook. */ #if !defined(CH_CFG_SYSTEM_HALT_HOOK) || defined(__DOXYGEN__) diff --git a/os/nil/templates/chconf.h b/os/nil/templates/chconf.h index 92e72a128..4338ce9ed 100644 --- a/os/nil/templates/chconf.h +++ b/os/nil/templates/chconf.h @@ -20,7 +20,7 @@ * @details A copy of this file must be placed in each project directory, it * contains the application specific kernel settings. * - * @addtogroup config + * @addtogroup NIL_CONFIG * @details Kernel related settings and hooks. * @{ */ diff --git a/readme.txt b/readme.txt index c68e63963..fed2a650a 100644 --- a/readme.txt +++ b/readme.txt @@ -101,6 +101,7 @@ Eclipse Tools menu. It is required to create an OPENOCD environment variable pointing to the OpenOCD executable. It will be done in ChibiStudio 20 by default. +- NIL: Fixed duplicated entries in NIL documentation (bug #887). - HAL: Fixed EXT low level driver bug on AVR port (bug #886). - HAL: Fixed USB GET_DESCRIPTOR not handled for Interface Recipients (bug #885). - RT: MAILBOX_DECL size parameter is actually a count (bug #884).