projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add first sckel of serial module for arm.
[bertos.git]
/
cpu
/
cpu.h
diff --git
a/cpu/cpu.h
b/cpu/cpu.h
index 911c78c05b3e88c1c64b137a02dadb9e1462043e..af769d644293c3e5f37221328c2a5acc655df6b1 100644
(file)
--- a/
cpu/cpu.h
+++ b/
cpu/cpu.h
@@
-55,10
+55,10
@@
/*\}*/
/** Macro to include cpu-specific versions of the headers. */
/*\}*/
/** Macro to include cpu-specific versions of the headers. */
-#define CPU_HEADER(module) PP_STRINGIZE(PP_CAT3(module, _, CPU_ID).h)
+#define CPU_HEADER(module) PP_STRINGIZE(
drv/
PP_CAT3(module, _, CPU_ID).h)
/** Macro to include cpu-specific versions of implementation files. */
/** Macro to include cpu-specific versions of implementation files. */
-#define CPU_CSOURCE(module) PP_STRINGIZE(PP_CAT3(module, _, CPU_ID).c)
+#define CPU_CSOURCE(module) PP_STRINGIZE(
drv/
PP_CAT3(module, _, CPU_ID).c)
#if CPU_I196
#if CPU_I196
@@
-160,10
+160,6
@@
#define BREAKPOINT /* asm("bkpt 0") DOES NOT WORK */
#else /* !__IAR_SYSTEMS_ICC__ */
#define BREAKPOINT /* asm("bkpt 0") DOES NOT WORK */
#else /* !__IAR_SYSTEMS_ICC__ */
-
- #warning "IRQ_ macros need testing!"
- #warning "Test now or die :-)"
-
#define NOP asm volatile ("mov r0,r0" ::)
#define IRQ_DISABLE \
#define NOP asm volatile ("mov r0,r0" ::)
#define IRQ_DISABLE \