Add drv dir to cpu-specific sources; remove warning.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 11 Oct 2007 14:50:00 +0000 (14:50 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 11 Oct 2007 14:50:00 +0000 (14:50 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@854 38d2e660-2303-0410-9eaa-f027e97ec537

cpu/cpu.h

index 911c78c05b3e88c1c64b137a02dadb9e1462043e..af769d644293c3e5f37221328c2a5acc655df6b1 100644 (file)
--- a/cpu/cpu.h
+++ b/cpu/cpu.h
 /*\}*/
 
 /** 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. */
-#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
                #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 \