From 09598a3a18d9a290d68a5bd9e39352b9f3aeab39 Mon Sep 17 00:00:00 2001 From: batt Date: Thu, 11 Oct 2007 14:53:02 +0000 Subject: [PATCH] Update to new tree. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@857 38d2e660-2303-0410-9eaa-f027e97ec537 --- cpu/arm/drv/sysirq_at91.c | 6 ++--- cpu/arm/drv/timer_arm.h | 47 +++++++++++++++++++++++++++++++++++++++ cpu/arm/drv/timer_at91.c | 6 ++--- 3 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 cpu/arm/drv/timer_arm.h diff --git a/cpu/arm/drv/sysirq_at91.c b/cpu/arm/drv/sysirq_at91.c index a942c095..d943e89f 100644 --- a/cpu/arm/drv/sysirq_at91.c +++ b/cpu/arm/drv/sysirq_at91.c @@ -52,9 +52,9 @@ * \see sysirq_setEnable */ -#include "sysirq.h" -#include "at91sam7s.h" -#include +#include "sysirq_at91.h" +#include +#include #include #include diff --git a/cpu/arm/drv/timer_arm.h b/cpu/arm/drv/timer_arm.h new file mode 100644 index 00000000..60b096cc --- /dev/null +++ b/cpu/arm/drv/timer_arm.h @@ -0,0 +1,47 @@ +/** + * \file + * + * + * \version $Id$ + * + * \author Francesco Sacchi + * + * \brief Low-level timer module for ARM (interface). + */ + +#include + +#if CPU_ARM_AT91 + #include "timer_at91.h" +/*#elif Add other ARM families here */ +#else + #error Unknown CPU +#endif diff --git a/cpu/arm/drv/timer_at91.c b/cpu/arm/drv/timer_at91.c index b2d9cde1..cfc81c76 100644 --- a/cpu/arm/drv/timer_at91.c +++ b/cpu/arm/drv/timer_at91.c @@ -38,12 +38,12 @@ */ #include "timer_at91.h" -#include "at91sam7s.h" -#include "sysirq.h" +#include +#include "sysirq_at91.h" #include // BV() #include -#include +#include /** HW dependent timer initialization */ -- 2.25.1