From 33ee8a4b504bc7cd80da98b62162810b1d70f98e Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Mon, 21 Feb 2022 17:30:11 +0100 Subject: [PATCH] preparations for arduino-espressif 2.x --- platformio_orig.ini | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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