Not test for avr. Add missing include.
[bertos.git] / bertos / mware / formatwr.h
index 5854bd4aa6d3123d6448cdc1b13ca7f4d9ea5aa3..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
 #define MWARE_FORMATWR_H
 
-#include <stdarg.h> /* va_list */
-#include <appconfig.h>
+#include "cfg/cfg_formatwr.h"
+
 #include <cpu/attr.h>    /* CPU_HARVARD */
 
+#include <stdarg.h>      /* va_list */
+
 /**
  * \name _formatted_write() configuration
+ * $WIZ$ printf_list = "PRINTF_DISABLED", "PRINTF_NOMODIFIERS", "PRINTF_REDUCED", "PRINTF_NOFLOAT", "PRINTF_FULL"
  * \{
  */
 #define PRINTF_DISABLED    0
@@ -66,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),
@@ -74,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 */