aboutsummaryrefslogtreecommitdiffstats
path: root/boards/OLIMEX_STM32_P103/board.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-12-19 09:13:54 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-12-19 09:13:54 +0000
commit7d7d9727f9a280d63157ac9997fe271610f05b1e (patch)
treefe51a6af796f2d0976025db4b68d553875bf0994 /boards/OLIMEX_STM32_P103/board.c
parent3b378d2b9b86bc4242873982a9222e3abcbfaead (diff)
downloadChibiOS-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 'boards/OLIMEX_STM32_P103/board.c')
-rw-r--r--boards/OLIMEX_STM32_P103/board.c22
1 files changed, 5 insertions, 17 deletions
diff --git a/boards/OLIMEX_STM32_P103/board.c b/boards/OLIMEX_STM32_P103/board.c
index 1f48eb629..e380b8b9a 100644
--- a/boards/OLIMEX_STM32_P103/board.c
+++ b/boards/OLIMEX_STM32_P103/board.c
@@ -36,28 +36,16 @@ const PALConfig pal_default_config =
/*
* Early initialization code.
- * This initialization is performed just after reset before BSS and DATA
- * segments initialization.
+ * This initialization must be performed just after stack setup and before
+ * any other initialization.
*/
-void hwinit0(void) {
+void __early_init(void) {
stm32_clock_init();
}
/*
- * Late initialization code.
- * This initialization is performed after BSS and DATA segments initialization
- * and before invoking the main() function.
+ * Board-specific initialization code.
*/
-void hwinit1(void) {
-
- /*
- * HAL initialization.
- */
- halInit();
-
- /*
- * ChibiOS/RT initialization.
- */
- chSysInit();
+void boardInit(void) {
}