Generalize pwm test for all target.
[bertos.git] / bertos / drv / stepper.c
index 39fa288f5510adf5a142d0abc98cc9029cf08bb1..3e4fc7b9dbe9c48bb5085d3f5fe3512199041cf6 100644 (file)
 
 #include "stepper.h"
 
-#include "hw_stepper.h"
-#include "hw_sensor.h"
-
-#include "appconfig.h"
+#include "hw/hw_stepper.h"
+#include "hw/hw_sensor.h"
 
+#include "cfg/cfg_stepper.h"
 #include <cfg/debug.h>
 
 #include <kern/proc.h>
 
 #include <algo/ramp.h>
-#include <drv/stepper_at91.h>
+
+#include CPU_HEADER(stepper)
 
 #include <string.h>  // memset