From 408a9a0c71f129357a588afebfc82e14149fbe78 Mon Sep 17 00:00:00 2001 From: batt Date: Thu, 11 Oct 2007 14:50:00 +0000 Subject: [PATCH] Add drv dir to cpu-specific sources; remove warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@854 38d2e660-2303-0410-9eaa-f027e97ec537 --- cpu/cpu.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 \ -- 2.25.1