Specific the directory for all hw and cfg module. Use double quote for cfg and hw...
[bertos.git] / bertos / drv / lcd_hd44_test.c
index 412e43e96fb011afa88c90d38400620396258c09..48ec04d4259e0d0c7e9b4ca762dddf75dee5dfbb 100644 (file)
  * \author Stefano Fedrigo <aleph@develer.com>
  */
 
-#include <hw/hw_lcd.h>
+#include "lcd_hd44.h"
 
-#include <cfg/arch_config.h>
+#include "hw/hw_lcd.h"
 
 #include <drv/timer.h>
-#include <drv/lcd_hd44.h>
 
 void lcd_hw_test(void)
 {
@@ -76,6 +75,11 @@ void lcd_hw_test(void)
 }
 
 
+#ifdef _TEST
+
+#include <drv/timer.c>
+#include <drv/lcd_hd44.c>
+
 int main(void)
 {
                lcd_hw_test();
@@ -86,3 +90,5 @@ int main(void)
 
                return 0;
 }
+
+#endif