From 62afcad7215d304a1d9159c3103b922366d32db9 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Wed, 20 May 2020 15:55:55 +0200 Subject: [PATCH] Update platformio.ini --- platformio.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index c9eb6d5f4..22259969c 100755 --- a/platformio.ini +++ b/platformio.ini @@ -109,8 +109,7 @@ build_flags = ${esp_defaults.build_flags} ; No exception code in firmware -fno-exceptions -lstdc++ - ; the following removes the 4-bytes alignment for PSTR(), waiting for a cleaner flag from Arduino Core - -DPSTR\(s\)=\(__extension__\(\{static\ const\ char\ __c\[\]\ __attribute__\(\(__aligned__\(1\)\)\)\ __attribute__\(\(section\(\ \"\\\\\".irom0.pstr.\"\ __FILE__\ \".\"\ __STRINGIZE\(__LINE__\)\ \".\"\ \ __STRINGIZE\(__COUNTER__\)\ \"\\\\\"\,\ \\\\\"aSM\\\\\"\,\ \@progbits\,\ 1\ \#\"\)\)\)\ =\ \(s\)\;\ \&__c\[0\]\;\}\)\) + ; the following removes the 4-bytes alignment for PSTR() -DPSTR_ALIGN=1 ; restrict to minimal mime-types -DMIMETYPE_MINIMAL