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

View File

@@ -24,6 +24,7 @@
for full details of how and when the exception can be applied.
*/
#include "config.h"
#include "ch.h"
#include "hal.h"
@@ -33,8 +34,7 @@
* segments initialization.
*/
void hwinit0(void) {
stm32_clock_init();
#include "../common/hwinit0.c"
}
/*
@@ -43,14 +43,5 @@ void hwinit0(void) {
* and before invoking the main() function.
*/
void hwinit1(void) {
/*
* HAL initialization.
*/
halInit();
/*
* ChibiOS/RT initialization.
*/
chSysInit();
#include "../common/hwinit1.c"
}