Not test for avr. Add missing include.
[bertos.git] / bertos / mware / formatwr.h
index 99fcfd7104957bc2075be761f686ea4463e7a389..d80410f1c1e15a93cb2d21f9659ee00e7b16f04b 100644 (file)
  *
  * -->
  *
- * \version $Id$
  *
  * \brief Basic "printf", "sprintf" and "fprintf" formatter.
+ *
+ * $WIZ$ module_name = "formatwr"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_formatwr.h"
+ * $WIZ$ module_depends = "hex"
+ * $WIZ$ module_harvard = "both"
  */
 
 #ifndef MWARE_FORMATWR_H
@@ -46,6 +50,7 @@
 
 /**
  * \name _formatted_write() configuration
+ * $WIZ$ printf_list = "PRINTF_DISABLED", "PRINTF_NOMODIFIERS", "PRINTF_REDUCED", "PRINTF_NOFLOAT", "PRINTF_FULL"
  * \{
  */
 #define PRINTF_DISABLED    0
@@ -68,7 +73,7 @@ _formatted_write(
        va_list ap);
 
 #if CPU_HARVARD
-       #include <mware/pgm.h>
+       #include <cpu/pgm.h>
        int _formatted_write_P(
                const char * PROGMEM format,
                void put_char_func(char c, void *user_data),
@@ -76,5 +81,9 @@ _formatted_write(
                va_list ap);
 #endif /* CPU_HARVARD */
 
+int sprintf_testSetup(void);
+int sprintf_testRun(void);
+int sprintf_testTearDown(void);
+
 #endif /* MWARE_FORMATWR_H */