git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@716 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2009-02-04 20:22:32 +00:00
parent e4245075be
commit 37f18c5818
42 changed files with 100 additions and 46 deletions

View File

@ -88,7 +88,6 @@
/** /**
* @defgroup Kernel Kernel * @defgroup Kernel Kernel
* @{ * @{
* @file ch.h ChibiOS/RT main include file, it includes everything else.
*/ */
/** @} */ /** @} */
@ -97,7 +96,6 @@
* @{ * @{
* In @p chconf.h are defined the required subsystems for your application. * In @p chconf.h are defined the required subsystems for your application.
* @ingroup Kernel * @ingroup Kernel
* @file chconf.h ChibiOS/RT configuration file.
*/ */
/** @} */ /** @} */
@ -106,8 +104,6 @@
* @{ * @{
* Non portable code templates. * Non portable code templates.
* @ingroup Kernel * @ingroup Kernel
* @file src/templates/chcore.c Non portable code template file.
* @file src/templates/chcore.h Non portable macros and structures template file.
*/ */
/** @} */ /** @} */
@ -116,7 +112,6 @@
* @{ * @{
* System types and macros. * System types and macros.
* @ingroup Kernel * @ingroup Kernel
* @file templates/chtypes.h System types and code modifiers.
*/ */
/** @} */ /** @} */
@ -126,8 +121,6 @@
* Initialization, Locks, Interrupt Handling, Power Management, Abnormal * Initialization, Locks, Interrupt Handling, Power Management, Abnormal
* Termination. * Termination.
* @ingroup Kernel * @ingroup Kernel
* @file sys.h System related macros and structures.
* @file chsys.c System related code.
*/ */
/** @} */ /** @} */
@ -136,7 +129,6 @@
* @{ * @{
* System inline-able code. * System inline-able code.
* @ingroup Kernel * @ingroup Kernel
* @file inline.h Inline versions of some critical system routines.
*/ */
/** @} */ /** @} */
@ -145,8 +137,6 @@
* @{ * @{
* Debug APIs and procedures. * Debug APIs and procedures.
* @ingroup Kernel * @ingroup Kernel
* @file debug.h Debug macros and structures.
* @file chdebug.c ChibiOS/RT Debug code.
*/ */
/** @} */ /** @} */
@ -155,8 +145,6 @@
* @{ * @{
* ChibiOS/RT scheduler. * ChibiOS/RT scheduler.
* @ingroup Kernel * @ingroup Kernel
* @file chschd.c Scheduler code.
* @file scheduler.h Scheduler macros and structures.
*/ */
/** @} */ /** @} */
@ -165,8 +153,6 @@
* @{ * @{
* ChibiOS/RT thread lists and queues utilities. * ChibiOS/RT thread lists and queues utilities.
* @ingroup Kernel * @ingroup Kernel
* @file chlists.c Lists and queues code.
* @file lists.h Lists and queues macros and structures.
*/ */
/** @} */ /** @} */
@ -174,8 +160,6 @@
* @defgroup Threads Threads * @defgroup Threads Threads
* @{ * @{
* Threads creation and termination APIs. * Threads creation and termination APIs.
* @file threads.h Threads structures, macros and functions.
* @file chthreads.c Threads code.
*/ */
/** @} */ /** @} */
@ -183,8 +167,6 @@
* @defgroup Time Time and Virtual Timers * @defgroup Time Time and Virtual Timers
* @{ * @{
* Time and Virtual Timers related APIs. * Time and Virtual Timers related APIs.
* @file include/vt.h Time macros and structures.
* @file chvt.c Time functions.
*/ */
/** @} */ /** @} */
@ -201,8 +183,6 @@
* instead of the system provided allocator.<br> * instead of the system provided allocator.<br>
* In order to use the heap APIs the @p CH_USE_HEAP option must be specified * In order to use the heap APIs the @p CH_USE_HEAP option must be specified
* in @p chconf.h. * in @p chconf.h.
* @file include/heap.h Heap macros and structures.
* @file chheap.c Heap functions.
*/ */
/** @} */ /** @} */
@ -215,8 +195,6 @@
* <b>constant time</b> and reliably without memory fragmentation problems.<br> * <b>constant time</b> and reliably without memory fragmentation problems.<br>
* In order to use the Time APIs the @p CH_USE_MEMPOOLS option must be * In order to use the Time APIs the @p CH_USE_MEMPOOLS option must be
* specified in @p chconf.h. * specified in @p chconf.h.
* @file include/mempools.h Memory Pools macros and structures.
* @file chmempools.c Memory Pools functions.
*/ */
/** @} */ /** @} */
@ -243,8 +221,6 @@
* @p chconf.h.<br> * @p chconf.h.<br>
* In order to use the Semaphores APIs the @p CH_USE_SEMAPHORES * In order to use the Semaphores APIs the @p CH_USE_SEMAPHORES
* option must be specified in @p chconf.h.<br><br> * option must be specified in @p chconf.h.<br><br>
* @file semaphores.h Semaphores macros and structures.
* @file chsem.c Semaphores code.
*/ */
/** @} */ /** @} */
@ -280,8 +256,6 @@
* priority was not already equal or higher). The mechanism works with any * priority was not already equal or higher). The mechanism works with any
* number of nested mutexes and any number of involved threads. The algorithm * number of nested mutexes and any number of involved threads. The algorithm
* complexity (worst case) is N with N equal to the number of nested mutexes. * complexity (worst case) is N with N equal to the number of nested mutexes.
* @file mutexes.h Mutexes macros and structures.
* @file chmtx.c Mutexes functions.
*/ */
/** @} */ /** @} */
@ -295,8 +269,6 @@
* a Monitor construct.<br> * a Monitor construct.<br>
* In order to use the Condition Variables APIs the @p CH_USE_CONDVARS * In order to use the Condition Variables APIs the @p CH_USE_CONDVARS
* option must be specified in @p chconf.h.<br><br> * option must be specified in @p chconf.h.<br><br>
* @file condvars.h Condition Variables macros and structures.
* @file chcond.c Condition Variables code.
*/ */
/** @} */ /** @} */
@ -318,8 +290,6 @@
* thread invokes a @p chEvtWaitXXX().<br> * thread invokes a @p chEvtWaitXXX().<br>
* In order to use the Event APIs the @p CH_USE_EVENTS option must be * In order to use the Event APIs the @p CH_USE_EVENTS option must be
* specified in @p chconf.h. * specified in @p chconf.h.
* @file events.h Events macros and structures.
* @file chevents.c Events functions.
*/ */
/** @} */ /** @} */
@ -341,8 +311,6 @@
* queue header).<br> * queue header).<br>
* In order to use the Messages APIs the @p CH_USE_MESSAGES option must be * In order to use the Messages APIs the @p CH_USE_MESSAGES option must be
* specified in @p chconf.h. * specified in @p chconf.h.
* @file messages.h Messages macros and structures.
* @file chmsg.c Messages functions.
*/ */
/** @} */ /** @} */
@ -371,8 +339,6 @@
* be specified in @p chconf.h.<br> * be specified in @p chconf.h.<br>
* In order to use the half duplex queues the @p CH_USE_QUEUES_HALFDUPLEX * In order to use the half duplex queues the @p CH_USE_QUEUES_HALFDUPLEX
* option must be specified in @p chconf.h. * option must be specified in @p chconf.h.
* @file queues.h I/O Queues macros and structures.
* @file chqueues.c I/O Queues code.
*/ */
/** @} */ /** @} */
@ -389,8 +355,6 @@
* @p CH_USE_SERIAL_FULLDUPLEX option must be specified in @p chconf.h.<br> * @p CH_USE_SERIAL_FULLDUPLEX option must be specified in @p chconf.h.<br>
* In order to use the serial half duplex driver the * In order to use the serial half duplex driver the
* @p CH_USE_SERIAL_HALFDUPLEX option must be specified in @p chconf.h. * @p CH_USE_SERIAL_HALFDUPLEX option must be specified in @p chconf.h.
* @file serial.h Serial Drivers macros and structures.
* @file chserial.c Serial Drivers code.
*/ */
/** @} */ /** @} */
@ -415,8 +379,6 @@
* from C++ as classes and objects rather the traditional "C" APIs. * from C++ as classes and objects rather the traditional "C" APIs.
* *
* @ingroup utilities_library * @ingroup utilities_library
* @file ch.hpp C++ wrapper classes and definitions.
* @file ch.cpp C++ wrapper code.
*/ */
/** @} */ /** @} */
@ -429,8 +391,6 @@
* Multiple threads can listen to the same timer. * Multiple threads can listen to the same timer.
* *
* @ingroup utilities_library * @ingroup utilities_library
* @file evtimer.c Events Generator Timer code.
* @file evtimer.h Events Generator Timer structures and macros.
*/ */
/** @} */ /** @} */

View File

@ -73,6 +73,12 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
***************************************************************************** *****************************************************************************
*** 1.1.0unstable *** *** 1.1.0unstable ***
- FIX: Modified the default value for the STM32 HSI setup it was 1, it should
be 0x10 (backport in stable branch).
- FIX: Removed an obsolete constant (P_SUSPENDED) from thread.h (backport in
stable branch).
- FIX: Removed unused field mp_grow in the MemoryPool structure (backport in
stable branch).
- NEW: Better separation between the port code and the system APIs, now an - NEW: Better separation between the port code and the system APIs, now an
architecture-specific "driver" contains all the port related code. architecture-specific "driver" contains all the port related code.
Port functions/macros are no more directly exposed as APIs to the user code. Port functions/macros are no more directly exposed as APIs to the user code.
@ -114,12 +120,6 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
info they add and the size of all the images. It is possible to configure info they add and the size of all the images. It is possible to configure
Doxygen to have them again (and more graph types). Doxygen to have them again (and more graph types).
*** 1.0.1 ***
- FIX: Modified the default value for the STM32 HSI setup it was 1, it should
be 0x10.
- FIX: Removed an obsolete constant (P_SUSPENDED) from thread.h.
- FIX: Removed unused field mp_grow in the MemoryPool structure.
*** 1.0.0 *** *** 1.0.0 ***
- License switch, added GPL exception, see exception.txt. - License switch, added GPL exception, see exception.txt.
- Full test cycle and test reports updated. - Full test cycle and test reports updated.

View File

@ -22,6 +22,8 @@
*/ */
/** /**
* @file chcond.c
* @brief Condition Variables code.
* @addtogroup CondVars * @addtogroup CondVars
* @{ * @{
*/ */

View File

@ -17,6 +17,13 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/**
* @file chdebug.c
* @brief ChibiOS/RT Debug code.
* @addtogroup CondVars
* @{
*/
#include <ch.h> #include <ch.h>
#ifdef CH_USE_DEBUG #ifdef CH_USE_DEBUG
@ -72,3 +79,5 @@ void chDbgTrace(Thread *otp, Thread *ntp) {
#endif /* CH_USE_TRACE */ #endif /* CH_USE_TRACE */
#endif /* CH_USE_DEBUG */ #endif /* CH_USE_DEBUG */
/** @} */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file chevents.c
* @brief Events code.
* @addtogroup Events * @addtogroup Events
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file chheap.c
* @brief Heap code.
* @addtogroup Heap * @addtogroup Heap
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file chlists.c
* @brief Lists and queues code.
* @addtogroup ThreadLists * @addtogroup ThreadLists
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file chmempools.c
* @brief Memory Pools code.
* @addtogroup MemoryPools * @addtogroup MemoryPools
* @{ * @{
*/ */

View File

@ -18,9 +18,12 @@
*/ */
/** /**
* @file chmsg.c
* @brief Messages code.
* @addtogroup Messages * @addtogroup Messages
* @{ * @{
*/ */
#include <ch.h> #include <ch.h>
#ifdef CH_USE_MESSAGES #ifdef CH_USE_MESSAGES

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file chmtx.c
* @brief Mutexes code.
* @addtogroup Mutexes * @addtogroup Mutexes
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file chqueues.c
* @brief I/O Queues code.
* @addtogroup IOQueues * @addtogroup IOQueues
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file chschd.c
* @brief Scheduler code.
* @addtogroup Scheduler * @addtogroup Scheduler
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file chsem.c
* @brief Semaphores code.
* @addtogroup Semaphores * @addtogroup Semaphores
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file chserial.c
* @brief Serial Drivers code.
* @addtogroup Serial * @addtogroup Serial
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file chsys.c
* @brief System related code.
* @addtogroup System * @addtogroup System
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file chthreads.c
* @brief Threads code.
* @addtogroup Threads * @addtogroup Threads
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file chvt.c
* @brief Time related code.
* @addtogroup Time * @addtogroup Time
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file ch.h
* @brief ChibiOS/RT main include file, it includes everything else.
* @addtogroup Kernel * @addtogroup Kernel
* @{ * @{
*/ */

View File

@ -22,6 +22,8 @@
*/ */
/** /**
* @file condvars.h
* @brief Condition Variables macros and structures.
* @addtogroup CondVars * @addtogroup CondVars
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file debug.h
* @brief Debug macros and structures.
* @addtogroup Debug * @addtogroup Debug
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file events.h
* @brief Events macros and structures.
* @addtogroup Events * @addtogroup Events
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file heap.h
* @brief Heap macros and structures.
* @addtogroup Heap * @addtogroup Heap
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file inline.h
* @brief Inline versions of some critical system routines.
* @addtogroup Inline * @addtogroup Inline
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file lists.h
* @brief Lists and queues macros and structures.
* @addtogroup ThreadLists * @addtogroup ThreadLists
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file mempools.h
* @brief Memory Pools macros and structures.
* @addtogroup MemoryPools * @addtogroup MemoryPools
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file messages.h
* @brief Messages macros and structures.
* @addtogroup Messages * @addtogroup Messages
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file mutexes.h
* @brief Mutexes macros and structures.
* @addtogroup Mutexes * @addtogroup Mutexes
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file queues.h I/O
* @brief Queues macros and structures.
* @addtogroup IOQueues * @addtogroup IOQueues
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file scheduler.h
* @brief Scheduler macros and structures.
* @addtogroup Scheduler * @addtogroup Scheduler
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file semaphores.h
* @brief Semaphores macros and structures.
* @addtogroup Semaphores * @addtogroup Semaphores
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file serial.h
* @brief Serial Drivers macros and structures.
* @addtogroup Serial * @addtogroup Serial
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file sys.h
* @brief System related macros and structures.
* @addtogroup System * @addtogroup System
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file threads.h
* @brief Threads macros and structures.
* @addtogroup Threads * @addtogroup Threads
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file vt.h
* @brief Time macros and structures.
* @addtogroup Time * @addtogroup Time
* @{ * @{
*/ */

View File

@ -16,6 +16,12 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/**
* @file ch.cpp
* @brief C++ wrapper code.
* @addtogroup CPlusPlusLibrary
* @{
*/
#include <ch.hpp> #include <ch.hpp>
@ -329,3 +335,5 @@ namespace chibios_rt {
#endif /* CH_USE_EVENTS_TIMEOUT */ #endif /* CH_USE_EVENTS_TIMEOUT */
#endif /* CH_USE_EVENTS */ #endif /* CH_USE_EVENTS */
} }
/** @} */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file ch.hpp
* @brief C++ wrapper classes and definitions.
* @addtogroup CPlusPlusLibrary * @addtogroup CPlusPlusLibrary
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file evtimer.c
* @brief Events Generator Timer code.
* @addtogroup event_timer * @addtogroup event_timer
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file evtimer.h
* @brief Events Generator Timer structures and macros.
* @addtogroup event_timer * @addtogroup event_timer
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file src/templates/chconf.h
* @brief Configuration file template.
* @addtogroup Config * @addtogroup Config
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file src/templates/chcore.c
* @brief Port related template code.
* @addtogroup Core * @addtogroup Core
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file src/templates/chcore.h
* @brief Port related template macros and structures.
* @addtogroup Core * @addtogroup Core
* @{ * @{
*/ */

View File

@ -18,6 +18,8 @@
*/ */
/** /**
* @file src/templates/chtypes.h
* @brief System types template.
* @addtogroup Types * @addtogroup Types
* @{ * @{
*/ */