From 7caf7881a2ebf1ebe8abc91c427907507ba5f25c Mon Sep 17 00:00:00 2001 From: Ludwig Ortmann Date: Thu, 14 Nov 2013 12:44:10 +0100 Subject: [PATCH] fix msb-430 Makefiles and includes --- boards/msb-430-common/Makefile.include | 2 +- boards/msb-430/Makefile.include | 2 +- cpu/msp430-common/include/hwtimer_cpu.h | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/boards/msb-430-common/Makefile.include b/boards/msb-430-common/Makefile.include index b7dd9ef3d9..9a1c3860b5 100644 --- a/boards/msb-430-common/Makefile.include +++ b/boards/msb-430-common/Makefile.include @@ -23,5 +23,5 @@ export HEXFILE = bin/$(PROJECT).hex export FFLAGS = -j olimex "prog $(HEXFILE)" export USEMODULE += msp430_common -export INCLUDES += -I $(RIOTCPU)/msp430-common/include/ +export INCLUDES += -I $(RIOTCPU)/msp430-common/include/ -I$(RIOTBOARD)/msb-430-common/include export OFLAGS = -O ihex diff --git a/boards/msb-430/Makefile.include b/boards/msb-430/Makefile.include index e2a5fb3e39..b16394458f 100644 --- a/boards/msb-430/Makefile.include +++ b/boards/msb-430/Makefile.include @@ -1,2 +1,2 @@ -export INCLUDES += -I$(RIOTBOARD)/msb-430h/include -I$(RIOTBOARD)/msb-430-common/include +export INCLUDES += -I$(RIOTBOARD)/msb-430/include include $(RIOTBOARD)/msb-430-common/Makefile.include diff --git a/cpu/msp430-common/include/hwtimer_cpu.h b/cpu/msp430-common/include/hwtimer_cpu.h index 2b8da7d022..deff34dbcc 100644 --- a/cpu/msp430-common/include/hwtimer_cpu.h +++ b/cpu/msp430-common/include/hwtimer_cpu.h @@ -13,6 +13,8 @@ License. See the file LICENSE in the top level directory for more details. #ifndef __HWTIMER_CPU_H #define __HWTIMER_CPU_H +#include "cpu.h" + #ifdef CC430 #include #else