From 5417946aa2c0faa7f035305f52e4a545a9e5aa6e Mon Sep 17 00:00:00 2001 From: batt Date: Tue, 30 Mar 2010 15:03:04 +0000 Subject: [PATCH] Add architecture specific files. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3335 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/cortex-m3/drv/kdebug_cm3.c | 45 +++++++++++++++++++++++++++ bertos/cpu/cortex-m3/drv/timer_cm3.h | 45 +++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 bertos/cpu/cortex-m3/drv/kdebug_cm3.c create mode 100644 bertos/cpu/cortex-m3/drv/timer_cm3.h diff --git a/bertos/cpu/cortex-m3/drv/kdebug_cm3.c b/bertos/cpu/cortex-m3/drv/kdebug_cm3.c new file mode 100644 index 00000000..2e76f7dd --- /dev/null +++ b/bertos/cpu/cortex-m3/drv/kdebug_cm3.c @@ -0,0 +1,45 @@ +/** + * \file + * + * + * \author Francesco Sacchi + * + * \brief Low-level kdebug module for Cortex-M3 (inplementation). + */ + +#include + +#if CPU_CM3_LM3S + #include "kdebug_lm3s.c" +/*#elif Add other families here */ +#else + #error Unknown CPU +#endif diff --git a/bertos/cpu/cortex-m3/drv/timer_cm3.h b/bertos/cpu/cortex-m3/drv/timer_cm3.h new file mode 100644 index 00000000..0418a45b --- /dev/null +++ b/bertos/cpu/cortex-m3/drv/timer_cm3.h @@ -0,0 +1,45 @@ +/** + * \file + * + * + * \author Francesco Sacchi + * + * \brief Low-level timer module for Cortex-M3 (interface). + */ + +#include + +#if CPU_CM3_LM3S + #include "timer_lm3s.h" +/*#elif Add other families here */ +#else + #error Unknown CPU +#endif -- 2.25.1