summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-07-04 10:36:51 +1000
committerDamien George <damien.p.george@gmail.com>2019-07-04 10:36:51 +1000
commit04da8864e5113e8ef8d4b017bb277b145cfcf34f (patch)
treefb7d6cb9c906880d9c74139df33164ac9f3d2bf2
parent1b79484ee3bfdb7cbd68a17effe60407580398c2 (diff)
stm32/lwip_inc: Define LWIP_NO_CTYPE_H=1 to use lwIP ctype funcs.
-rw-r--r--ports/stm32/lwip_inc/arch/cc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/stm32/lwip_inc/arch/cc.h b/ports/stm32/lwip_inc/arch/cc.h
index 635b1c805..fc5230ef7 100644
--- a/ports/stm32/lwip_inc/arch/cc.h
+++ b/ports/stm32/lwip_inc/arch/cc.h
@@ -5,4 +5,6 @@
#define LWIP_PLATFORM_DIAG(x)
#define LWIP_PLATFORM_ASSERT(x) { assert(1); }
+#define LWIP_NO_CTYPE_H 1
+
#endif // MICROPY_INCLUDED_STM32_LWIP_ARCH_CC_H