Add timer strobe macros default.
[bertos.git] / bertos / drv / timer.c
index 7e99d78ee8822b9e6eeaadbdd434b09c221fc8ac..9e2a1173011d053f1baebc60c0634cfad837abf7 100644 (file)
@@ -37,6 +37,7 @@
  */
 
 #include "timer.h"
+#include "hw/hw_timer.h"
 
 #include "cfg/cfg_timer.h"
 #include "cfg/cfg_wdt.h"
        //#include OS_CSOURCE(timer)
        #include <emul/timer_posix.c>
 #else
-       #include CPU_CSOURCE(timer)
+       #ifndef WIZ_AUTOGEN
+               #warning Deprecated: now you should include timer_<cpu> directly in the makefile. Remove this line and the following once done.
+               #include CPU_CSOURCE(timer)
+       #endif
 #endif
 
 /*