*/
#include "pwm_at91.h"
+#include "hw_cpu.h"
-#include <hw/hw_cpu.h>
+#include "appconfig.h"
#include <cfg/macros.h>
#include <cfg/debug.h>
+
#include <io/arm.h>
-#include "appconfig.h"
/**
* Register structure for pwm driver.
* \author Daniele Basile <asterix@develer.com>
*/
+#include "hw_ser.h" /* Required for bus macros overrides */
+#include "hw_cpu.h" /* CLOCK_FREQ */
+
+#include <cfg/debug.h>
+
+#include <appconfig.h>
+
#include <io/arm.h>
#include <cpu/attr.h>
+
#include <drv/ser.h>
#include <drv/ser_p.h>
-#include <hw/hw_ser.h> /* Required for bus macros overrides */
-#include <hw/hw_cpu.h> /* CLOCK_FREQ */
-
#include <mware/fifobuf.h>
-#include <cfg/debug.h>
-#include <appconfig.h>
#define SERIRQ_PRIORITY 4 ///< default priority for serial irqs.
#ifndef SIPO_H
#define SIPO_H
+#include "hw_sipo.h"
+
#include <avr/io.h>
-#include <hw/hw_sipo.h>
void sipo_init(void);
void sipo_putchar(uint8_t c);
* an enumarator for each device, plus a special symbol NUM_BLDS containing the
* number of devices.
*/
-#include <hw/hw_buzzerled.h>
+#include "hw_buzzerled.h"
/* Include hw-level implementation. This allows inlining of bld_set, which in turns
* \author Stefano Fedrigo <aleph@develer.com>
*/
-#include <hw/hw_lcd.h>
+#include "hw_lcd.h"
#include <cfg/arch_config.h>
*/
-#include <hw/hw_phase.h>
+#include "hw_phase.h"
#include <cfg/macros.h>
#include <cfg/compiler.h>
#include "spi_bitbang.h"
-#include <hw/hw_spi.h>
+#include "hw_spi.h"
#include <cfg/module.h>
#include <cpu/irq.h>
#include "stepper.h"
+#include "hw_stepper.h"
+#include "hw_sensor.h"
+
+#include "appconfig.h"
+
#include <cfg/debug.h>
+
#include <kern/proc.h>
+
#include <algo/ramp.h>
#include <drv/stepper_at91.h>
-#include <hw/hw_stepper.h>
-#include <hw/hw_sensor.h>
-
#include <string.h> // memset
-#include "appconfig.h"
-
/**
* \name Motor timings
* \{
* \author Francesco Sacchi <batt@develer.com>
*/
-#include <hw/thermo_map.h>
-#include <hw/hw_thermo.h>
+#include "thermo_map.h"
+#include "hw_thermo.h"
#include <cfg/module.h>
+#include <cfg/macros.h>
+#include <cfg/debug.h>
#include <drv/thermo.h>
#include <drv/timer.h>
#include <drv/ntc.h>
-#include <cfg/macros.h>
-#include <cfg/debug.h>
/** Interval at which thermo control is performed. */
* \author Bernardo Innocenti <bernie@develer.com>
*/
-#include "timer.c"
-#include "mware/event.c"
-#include "os/hptime.c"
+#ifdef _TEST
+ #include "timer.c"
+ #include "mware/event.c"
+ #include "os/hptime.c"
+
+#else
+ #include <drv/timer.c>
+ #include <mware/event.c>
+ #include <drv/wdt.h>
+
+#endif
+
static void timer_test_constants(void)
{