X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fhw%2Finit_cm3.c;h=4ce2f86f9ff9baf226e3617666757ccdbc776c8c;hb=b7165529c0174f9bc5a1f4f51a4e405f202e48d5;hp=65009d35967c0b1fa6759a117e88cf0c2047af6c;hpb=15266a01cf4b9b542f445af6551f9e4e78d81dcd;p=bertos.git diff --git a/bertos/cpu/cortex-m3/hw/init_cm3.c b/bertos/cpu/cortex-m3/hw/init_cm3.c index 65009d35..4ce2f86f 100644 --- a/bertos/cpu/cortex-m3/hw/init_cm3.c +++ b/bertos/cpu/cortex-m3/hw/init_cm3.c @@ -46,18 +46,15 @@ #include #include +#include #include -#if CPU_CM3_LM3S -#include -#include -#elif CPU_CM3_STM32 -#include -#include -#endif +#include +#ifndef __IAR_SYSTEMS_ICC__ extern size_t __text_end, __data_start, __data_end, __bss_start, __bss_end; +#endif extern void __init2(void);