Refactor to not automatically include adc cpu modules; supply a backward compatible...
[bertos.git] / bertos / drv / timer.c
index 694b37eea2b34c0b451b9317c25f9f878ce0a850..d832059086a563134303e16f87146f5cd1691bba 100644 (file)
 #if OS_HOSTED
        //#include OS_CSOURCE(timer)
        #include <emul/timer_posix.c>
+#else
+       #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
 
 /*