projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add logging for kernel
[bertos.git]
/
bertos
/
cpu
/
arm
/
drv
/
stepper_at91_hw_test.c
diff --git
a/bertos/cpu/arm/drv/stepper_at91_hw_test.c
b/bertos/cpu/arm/drv/stepper_at91_hw_test.c
index b50ea2fe1b5b5fe4aaeca9fce98f84eccaf721ca..d40da0841139985d03641345aeb432ab9172a63d 100644
(file)
--- a/
bertos/cpu/arm/drv/stepper_at91_hw_test.c
+++ b/
bertos/cpu/arm/drv/stepper_at91_hw_test.c
@@
-39,6
+39,7
@@
#include "stepper_at91.h"
#include "stepper_at91.h"
+#include "cfg/cfg_stepper.h"
#include <cfg/macros.h>
#include <cfg/debug.h>
#include <cfg/macros.h>
#include <cfg/debug.h>
@@
-47,11
+48,10
@@
#include <io/arm.h>
#include <io/arm.h>
-#include "appconfig.h"
-
-#warning This test are incomplete.. you MUST review..
+#warning FIXME:This test is incomplete.. you MUST review..
+#if 0
static void stepper_test_irq_schedule(struct Stepper *motor, stepper_time_t delay)
{
stepper_tc_doPulse(motor->timer);
static void stepper_test_irq_schedule(struct Stepper *motor, stepper_time_t delay)
{
stepper_tc_doPulse(motor->timer);
@@
-171,4
+171,5
@@
void stepper_timer_test_brute(void)
//Enable timer and trig it
TC2_CCR = BV(TC_CLKEN) | BV(TC_SWTRG);
}
//Enable timer and trig it
TC2_CCR = BV(TC_CLKEN) | BV(TC_SWTRG);
}
+#endif