added more gcc optimization flags

This commit is contained in:
Paul
2019-11-04 22:59:18 +01:00
parent b60ee1a182
commit fe4e38d330

View File

@@ -11,9 +11,11 @@ default_envs = debug
; -DTESTS
; -DCRASH
; -DFORCE_SERIAL
; -DMYESP_DEBUG
custom_flags =
general_flags = -fno-exceptions -lstdc++ -DNO_GLOBAL_EEPROM -O2 -DBEARSSL_SSL_BASIC -DVTABLES_IN_FLASH -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
;general_flags = -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
general_flags = -fno-exceptions -lstdc++ -DNO_GLOBAL_EEPROM -O2 -DBEARSSL_SSL_BASIC -DVTABLES_IN_FLASH
[env]
framework = arduino
@@ -27,7 +29,6 @@ lib_deps =
AsyncMqttClient@0.8.2
EEPROM_Rotate@0.9.2
ArduinoJson@6.12.0
;https://github.com/bblanchon/ArduinoJson#v6.13.0
ESPAsyncUDP
ESPAsyncTCP@1.2.2
upload_speed = 921600
@@ -37,9 +38,9 @@ monitor_speed = 115200
;upload_port = /dev/cu.wchusbserial14403
;upload_port = /dev/cu.usbserial-1440
; uncomment next 2 lines if using OTA
;upload_protocol = espota
;upload_port = ems-esp.local
; comment out these next 2 lines if using OTA
upload_protocol = espota
upload_port = ems-esp.local
[env:travis]
board = esp12e