diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-19 09:13:54 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-19 09:13:54 +0000 |
commit | 7d7d9727f9a280d63157ac9997fe271610f05b1e (patch) | |
tree | fe51a6af796f2d0976025db4b68d553875bf0994 /os/hal/src | |
parent | 3b378d2b9b86bc4242873982a9222e3abcbfaead (diff) | |
download | ChibiOS-7d7d9727f9a280d63157ac9997fe271610f05b1e.tar.gz ChibiOS-7d7d9727f9a280d63157ac9997fe271610f05b1e.tar.bz2 ChibiOS-7d7d9727f9a280d63157ac9997fe271610f05b1e.zip |
STM32 board files and demos now use the new organization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2497 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src')
-rw-r--r-- | os/hal/src/hal.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/os/hal/src/hal.c b/os/hal/src/hal.c index beff1c8ad..0913ad7a4 100644 --- a/os/hal/src/hal.c +++ b/os/hal/src/hal.c @@ -47,7 +47,9 @@ /**
* @brief HAL initialization.
* @details This function invokes the low level initialization code then
- * initializes all the drivers enabled in the HAL.
+ * initializes all the drivers enabled in the HAL. Finally the
+ * board-specific initialization is performed by invoking
+ * @p boardInit() (usually defined in @p board.c).
*
* @init
*/
@@ -85,6 +87,8 @@ void halInit(void) { #if HAL_USE_UART || defined(__DOXYGEN__)
uartInit();
#endif
+ /* Board specific initialization.*/
+ boardInit();
}
/** @} */
|