From: aleph Date: Mon, 20 Sep 2010 17:02:57 +0000 (+0000) Subject: SAM3 port: add clock initialization stubs X-Git-Tag: 2.6.0~152 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=3c57e466444d95d4358eb4f0e2a8130dcfb0f55b;p=bertos.git SAM3 port: add clock initialization stubs git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4249 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/drv/clock_cm3.h b/bertos/cpu/cortex-m3/drv/clock_cm3.h index 8abc4eef..0479f902 100644 --- a/bertos/cpu/cortex-m3/drv/clock_cm3.h +++ b/bertos/cpu/cortex-m3/drv/clock_cm3.h @@ -42,6 +42,8 @@ #include "clock_lm3s.h" #elif CPU_CM3_STM32 #include "clock_stm32.h" +#elif CPU_CM3_AT91SAM3 + #include "clock_sam3.h" /*#elif Add other Cortex-M3 CPUs here */ #else #error Unknown CPU diff --git a/bertos/cpu/cortex-m3/drv/clock_sam3.c b/bertos/cpu/cortex-m3/drv/clock_sam3.c new file mode 100644 index 00000000..967e3798 --- /dev/null +++ b/bertos/cpu/cortex-m3/drv/clock_sam3.c @@ -0,0 +1,42 @@ +/** + * \file + * + * + * \brief AT91SAM3 clocking driver. + * + * \author Stefano Fedrigo + */ + +#include "clock_sam3.h" + +void clock_init(void) +{ +} diff --git a/bertos/cpu/cortex-m3/drv/clock_sam3.h b/bertos/cpu/cortex-m3/drv/clock_sam3.h new file mode 100644 index 00000000..82af6547 --- /dev/null +++ b/bertos/cpu/cortex-m3/drv/clock_sam3.h @@ -0,0 +1,43 @@ +/** + * \file + * + * + * \brief Low-level clocking driver for AT91SAM3. + * + * \author Stefano Fedrigo + */ + +#ifndef DRV_AT91SAM3_CLOCK_H +#define DRV_AT91SAM3_CLOCK_H + +void clock_init(void); + +#endif /* DRV_AT91SAM3_CLOCK_H */