projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for more i2c devices.
[bertos.git]
/
bertos
/
mware
/
formatwr.h
diff --git
a/bertos/mware/formatwr.h
b/bertos/mware/formatwr.h
index c7ea1a8b46b7d0cd2b15378264d635d7646d8230..d80410f1c1e15a93cb2d21f9659ee00e7b16f04b 100644
(file)
--- a/
bertos/mware/formatwr.h
+++ b/
bertos/mware/formatwr.h
@@
-30,15
+30,19
@@
*
* -->
*
*
* -->
*
- * \version $Id$
*
* \brief Basic "printf", "sprintf" and "fprintf" formatter.
*
* \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
*/
#ifndef MWARE_FORMATWR_H
#define MWARE_FORMATWR_H
-#include
<cfg/cfg_formatwr.h>
+#include
"cfg/cfg_formatwr.h"
#include <cpu/attr.h> /* CPU_HARVARD */
#include <cpu/attr.h> /* CPU_HARVARD */
@@
-46,6
+50,7
@@
/**
* \name _formatted_write() configuration
/**
* \name _formatted_write() configuration
+ * $WIZ$ printf_list = "PRINTF_DISABLED", "PRINTF_NOMODIFIERS", "PRINTF_REDUCED", "PRINTF_NOFLOAT", "PRINTF_FULL"
* \{
*/
#define PRINTF_DISABLED 0
* \{
*/
#define PRINTF_DISABLED 0
@@
-68,7
+73,7
@@
_formatted_write(
va_list ap);
#if CPU_HARVARD
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),
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 */
va_list ap);
#endif /* CPU_HARVARD */
+int sprintf_testSetup(void);
+int sprintf_testRun(void);
+int sprintf_testTearDown(void);
+
#endif /* MWARE_FORMATWR_H */
#endif /* MWARE_FORMATWR_H */