projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comply struct names to conding style.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
hw
/
init_cm3.c
diff --git
a/bertos/cpu/cortex-m3/hw/init_cm3.c
b/bertos/cpu/cortex-m3/hw/init_cm3.c
index 65009d35967c0b1fa6759a117e88cf0c2047af6c..4ce2f86f9ff9baf226e3617666757ccdbc776c8c 100644
(file)
--- a/
bertos/cpu/cortex-m3/hw/init_cm3.c
+++ b/
bertos/cpu/cortex-m3/hw/init_cm3.c
@@
-46,18
+46,15
@@
#include <cpu/types.h>
#include <drv/irq_cm3.h>
#include <cpu/types.h>
#include <drv/irq_cm3.h>
+#include <drv/clock_cm3.h>
#include <kern/proc_p.h>
#include <kern/proc_p.h>
-#if CPU_CM3_LM3S
-#include <drv/clock_lm3s.h>
-#include <io/lm3s.h>
-#elif CPU_CM3_STM32
-#include <drv/clock_stm32.h>
-#include <io/stm32.h>
-#endif
+#include <io/cm3.h>
+#ifndef __IAR_SYSTEMS_ICC__
extern size_t __text_end, __data_start, __data_end, __bss_start, __bss_end;
extern size_t __text_end, __data_start, __data_end, __bss_start, __bss_end;
+#endif
extern void __init2(void);
extern void __init2(void);