projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove bogus assembler options.
[bertos.git]
/
bertos
/
mware
/
formatwr.h
diff --git
a/bertos/mware/formatwr.h
b/bertos/mware/formatwr.h
index c7ea1a8b46b7d0cd2b15378264d635d7646d8230..8ede6f247578b90866c2202425c09aec6c4c9827 100644
(file)
--- a/
bertos/mware/formatwr.h
+++ b/
bertos/mware/formatwr.h
@@
-33,12
+33,17
@@
* \version $Id$
*
* \brief Basic "printf", "sprintf" and "fprintf" formatter.
* \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
*/
#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
+51,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
+74,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
+82,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 */