projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add spi with dma implementation for sam3, and define generic header for both. Note...
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
drv
/
timer_cm3.h
diff --git
a/bertos/cpu/cortex-m3/drv/timer_cm3.h
b/bertos/cpu/cortex-m3/drv/timer_cm3.h
index 1ee8b7a2a3bc4263f3878c70b3ccf3ba8ec9ed41..0d45ad26453e3177424b9a8700d92749727354a0 100644
(file)
--- a/
bertos/cpu/cortex-m3/drv/timer_cm3.h
+++ b/
bertos/cpu/cortex-m3/drv/timer_cm3.h
@@
-40,10
+40,15
@@
#include "cfg/cfg_timer.h" /* CONFIG_TIMER */
#include "cfg/cfg_timer.h" /* CONFIG_TIMER */
+#include <cpu/detect.h>
+#include <cpu/irq.h>
+
#if CPU_CM3_LM3S
#include <io/lm3s.h>
#elif CPU_CM3_STM32
#include <io/stm32.h>
#if CPU_CM3_LM3S
#include <io/lm3s.h>
#elif CPU_CM3_STM32
#include <io/stm32.h>
+#elif CPU_CM3_SAM3
+ #include <io/sam3.h>
/*#elif Add other families here */
#else
#error Unknown CPU
/*#elif Add other families here */
#else
#error Unknown CPU