timer_delay(): Add a sanity check to avoid sleeping forever.
[bertos.git] / config_template.h
index 7b3867e5467cad73a5af1a256a1a25fdf508a1ff..fc2ca921932becd716d938c30d5fe3819951aba3 100755 (executable)
@@ -11,7 +11,7 @@
  * "config.h" and delete the CONFIG_ macros for the modules
  * you're not using.
  *
- * \para Working with multiple applications
+ * <h2>Working with multiple applications</h2>
  *
  * If your project is made of multiple DevLib-based applications,
  * create a custom "config.h" file in each application subdirectory
@@ -19,7 +19,7 @@
  * You can share common options by creationg a "config_common.h" header
  * and including it from all your "config.h" copies.
  *
- * \para Configuration style
+ * <h2>Configuration style</h2>
  *
  * For improved compile-time checking of configuration options,
  * the preferred way to use a \c CONFIG_ symbol is keeping it
  * \author Stefano Fedrigo <aleph@develer.com>
  */
 
-/*
- * $Log$
- * Revision 1.1  2004/07/29 23:34:32  bernie
- * Add template configuration file.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4  2004/08/25 14:12:08  rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3  2004/08/24 14:30:11  bernie
+ *#* Use new-style config macros for drv/timer.c
+ *#*
+ *#* Revision 1.2  2004/08/05 18:46:52  bernie
+ *#* Documentation improvements.
+ *#*
+ *#* Revision 1.1  2004/07/29 23:34:32  bernie
+ *#* Add template configuration file.
+ *#*
+ *#*/
 
 #ifndef CONFIG_COMMON_H
 #define CONFIG_COMMON_H
        #define CONFIG_KBUS_BAUDRATE  19200
 /*\}*/
 
+//! Hardware timer selection for drv/timer.c
+#define CONFIG_TIMER  TIMER_ON_OUTPUT_COMPARE2
+
 //! EEPROM type for drv/eeprom.c
 #define CONFIG_EEPROM_TYPE EEPROM_24XX256