summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/bootmgr/main.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-04-16 14:27:56 +0000
committerDamien George <damien.p.george@gmail.com>2015-04-16 14:30:17 +0000
commita86d40ccd437fe0235c09426ef6d552b968d86e8 (patch)
treee2bd10c37e1985f473bcb38e26ade8477d9434ae /cc3200/bootmgr/main.c
parent044c473de203b4dbe93874813b430fb6336db2b2 (diff)
downloadmicropython-a86d40ccd437fe0235c09426ef6d552b968d86e8.tar.gz
micropython-a86d40ccd437fe0235c09426ef6d552b968d86e8.zip
cc3200: Get bootloader compiling with latest overhaul of printf code.
Diffstat (limited to 'cc3200/bootmgr/main.c')
-rw-r--r--cc3200/bootmgr/main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/cc3200/bootmgr/main.c b/cc3200/bootmgr/main.c
index c1a64b84ad..8dc37b4a42 100644
--- a/cc3200/bootmgr/main.c
+++ b/cc3200/bootmgr/main.c
@@ -347,3 +347,12 @@ int main (void) {
}
}
+//*****************************************************************************
+//! The following stub function is needed to link mp_vprintf
+//*****************************************************************************
+#include "py/qstr.h"
+
+const byte *qstr_data(qstr q, mp_uint_t *len) {
+ *len = 0;
+ return NULL;
+}