X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cpu%2Fcpu.h;h=af769d644293c3e5f37221328c2a5acc655df6b1;hb=96bda3a8889719af5e4475aaf853487f2e99e01f;hp=911c78c05b3e88c1c64b137a02dadb9e1462043e;hpb=96b118ca01ace184caa4e3aed405762f4312daf2;p=bertos.git diff --git a/cpu/cpu.h b/cpu/cpu.h index 911c78c0..af769d64 100644 --- a/cpu/cpu.h +++ b/cpu/cpu.h @@ -55,10 +55,10 @@ /*\}*/ /** 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 @@ -160,10 +160,6 @@ #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 \