aboutsummaryrefslogtreecommitdiff
path: root/cc3200/util
diff options
context:
space:
mode:
authorDaniel Campora2015-04-19 20:54:43 +0200
committerDaniel Campora2015-04-19 20:59:10 +0200
commitdf5d9c77f4a75ee74b4bbac68fd21e601f8b0985 (patch)
tree53bd8c94ef2a734cc5520fb50213007f0e094697 /cc3200/util
parentd8475092d16ede927ab85a105bfa0d436544e500 (diff)
cc3200: Fix bootloader and modpyb after printf overhaul.
The bootloader needs string0.c because of memset, memcpy and others, without string0.c it magically links, but calling any of those functions results in a hard fault. In debug mode, modpyb needs printf, and including stdio.h leads to conflicts due to the redefinitions made in the simplelink drivers.
Diffstat (limited to 'cc3200/util')
-rw-r--r--cc3200/util/std.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc3200/util/std.h b/cc3200/util/std.h
index 2b23fb63e..a74c90e25 100644
--- a/cc3200/util/std.h
+++ b/cc3200/util/std.h
@@ -29,6 +29,7 @@
typedef unsigned int size_t;
+int printf(const char *fmt, ...);
int snprintf(char *str, size_t size, const char *fmt, ...);
// Convenience function, defined in main.c.