summaryrefslogtreecommitdiffstatshomepage
path: root/stm/printf.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-21 21:40:13 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-21 21:40:13 +0000
commit55baff4c9bcbc001cbb8972c289ebfa356d4665b (patch)
treebd086f9ddf8c5f2db9642ee04fc382064ebd2029 /stm/printf.c
parent91d457a27752fa125e9c6107bf51c918e021dc95 (diff)
downloadmicropython-55baff4c9bcbc001cbb8972c289ebfa356d4665b.tar.gz
micropython-55baff4c9bcbc001cbb8972c289ebfa356d4665b.zip
Revamp qstrs: they now include length and hash.
Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h
Diffstat (limited to 'stm/printf.c')
-rw-r--r--stm/printf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stm/printf.c b/stm/printf.c
index 732e834526..82b168d1c4 100644
--- a/stm/printf.c
+++ b/stm/printf.c
@@ -1,9 +1,12 @@
#include <stdint.h>
+#include <string.h>
#include <stdarg.h>
+
#include "std.h"
#include "misc.h"
#include "systick.h"
#include "mpconfig.h"
+#include "qstr.h"
#include "obj.h"
#include "lcd.h"
#include "usart.h"