Update platformio.ini

This commit is contained in:
Jason2866 2020-05-20 15:55:55 +02:00 committed by GitHub
parent d9a10660c5
commit 62afcad721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -109,8 +109,7 @@ build_flags = ${esp_defaults.build_flags}
; No exception code in firmware ; No exception code in firmware
-fno-exceptions -fno-exceptions
-lstdc++ -lstdc++
; the following removes the 4-bytes alignment for PSTR(), waiting for a cleaner flag from Arduino Core ; the following removes the 4-bytes alignment for PSTR()
-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\]\;\}\)\)
-DPSTR_ALIGN=1 -DPSTR_ALIGN=1
; restrict to minimal mime-types ; restrict to minimal mime-types
-DMIMETYPE_MINIMAL -DMIMETYPE_MINIMAL