From: asterix Date: Mon, 26 May 2008 18:47:55 +0000 (+0000) Subject: Add stepper timer interface module for arm family. X-Git-Tag: 2.0.0~554 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=4a7c7dafcaff7959583eb3d85bdc5b5c8b983d7e;p=bertos.git Add stepper timer interface module for arm family. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1380 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/drv/stepper_arm.c b/bertos/cpu/arm/drv/stepper_arm.c new file mode 100644 index 00000000..f39c5a22 --- /dev/null +++ b/bertos/cpu/arm/drv/stepper_arm.c @@ -0,0 +1,48 @@ +/** + * \file + * + * + * \brief Low-level stepper timer module for ARM (inplementation). + * + * \version $Id$ + * + * \author Daniele Basile + * + */ + +#include + +#if CPU_ARM_AT91 + #include "stepper_at91.c" +/*#elif Add other ARM families here */ +#else + #error Unknown CPU +#endif diff --git a/bertos/cpu/arm/drv/stepper_arm.h b/bertos/cpu/arm/drv/stepper_arm.h new file mode 100644 index 00000000..544eb855 --- /dev/null +++ b/bertos/cpu/arm/drv/stepper_arm.h @@ -0,0 +1,48 @@ +/** + * \file + * + * + * \brief Low-level stepper timer module for ARM (inplementation). + * + * \version $Id$ + * + * \author Daniele Basile + * + */ + +#include + +#if CPU_ARM_AT91 + #include "stepper_at91.h" +/*#elif Add other ARM families here */ +#else + #error Unknown CPU +#endif