Attempt to fix a bug related to BeRTOS upgrade in Wizard
[bertos.git] / bertos / drv / ser.h
index d747ece70dbe7bd2c65c3004fc37200bda3f9fdb..c264811efcad05958226d482fe5c1a471b175127 100644 (file)
@@ -40,7 +40,8 @@
  * $WIZ$ module_depends = "kfile", "timer"
  * $WIZ$ module_configuration = "bertos/cfg/cfg_ser.h"
  * $WIZ$ module_hw = "bertos/hw/hw_ser.h"
- * $WIZ$ module_supports = "not atmega103"
+ * $WIZ$ module_supports =  "not atmega103 and not atmega168 "
+ * $WIZ$ module_supports += "and not atmega32 and not atmega8"
  */
 
 #ifndef DRV_SER_H
 /*\}*/
 
 
+/**
+ * \def CONFIG_SER_STROBE
+ *
+ * This is a debug facility that can be used to
+ * monitor SER interrupt activity on an external pin.
+ *
+ * To use strobes, redefine the macros SER_STROBE_ON,
+ * SER_STROBE_OFF and SER_STROBE_INIT and set
+ * CONFIG_SER_STROBE to 1.
+ */
+#if !defined(CONFIG_SER_STROBE) || !CONFIG_SER_STROBE
+       #define SER_STROBE_ON    do {/*nop*/} while(0)
+       #define SER_STROBE_OFF   do {/*nop*/} while(0)
+       #define SER_STROBE_INIT  do {/*nop*/} while(0)
+#endif
+
 struct SerialHardware;
 
 /** Human-readable serial error descriptions */