mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
added more gcc optimization flags
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user