From 04da8864e5113e8ef8d4b017bb277b145cfcf34f Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 4 Jul 2019 10:36:51 +1000 Subject: [PATCH] stm32/lwip_inc: Define LWIP_NO_CTYPE_H=1 to use lwIP ctype funcs. --- ports/stm32/lwip_inc/arch/cc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ports/stm32/lwip_inc/arch/cc.h b/ports/stm32/lwip_inc/arch/cc.h index 635b1c8056..fc5230ef72 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