diff --git a/platformio_orig.ini b/platformio_orig.ini index 6baf22c9..8ac7c559 100644 --- a/platformio_orig.ini +++ b/platformio_orig.ini @@ -100,8 +100,6 @@ build_flags_basic = '-DCORE_DEBUG_LEVEL=${common.debug_level}' '-DLOG_LOCAL_LEVEL=${common.debug_level}' '-DPROGVERSION="${common.release_version}"' - '-Wno-unknown-pragmas' - '-Wno-unused-variable' '-D LIBPAX_WIFI' '-D LIBPAX_BLE' '-D LIBPAX_ARDUINO' @@ -113,6 +111,7 @@ build_flags_all = framework = arduino board = esp32dev board_build.partitions = min_spiffs.csv +build_type = release upload_speed = ${common.upload_speed} ;upload_port = COM12 platform = ${common.platform_espressif32} @@ -131,5 +130,5 @@ upload_protocol = esptool [env:dev] upload_protocol = esptool -build_type = debug platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream +platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git