From: batt Date: Tue, 30 Mar 2010 15:03:04 +0000 (+0000) Subject: Add architecture specific files. X-Git-Tag: 2.5.0~573 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=5417946aa2c0faa7f035305f52e4a545a9e5aa6e;p=bertos.git Add architecture specific files. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3335 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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