Added configure and DFU support.

This commit is contained in:
NIIBE Yutaka
2010-10-14 17:08:09 +09:00
parent 1f2721a493
commit 7ea6e2089a
12 changed files with 184 additions and 40 deletions

9
boards/common/hwinit0.c Normal file
View File

@@ -0,0 +1,9 @@
/*
* Common code for hwinit0
*/
#ifdef DFU_SUPPORT
SCB->VTOR = 0x08003000;
#endif
stm32_clock_init();

14
boards/common/hwinit1.c Normal file
View File

@@ -0,0 +1,14 @@
/*
* Common code for hwinit1
*
*/
/*
* HAL initialization.
*/
halInit();
/*
* ChibiOS/RT initialization.
*/
chSysInit();