mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-12 10:49:54 +03:00
Merge branch 'dev' of https://github.com/emsesp/EMS-ESP32 into dev2
This commit is contained in:
@@ -15,6 +15,7 @@ extra_configs =
|
||||
core_build_flags =
|
||||
-D ARDUINO_ARCH_ESP32=1
|
||||
-D ESP32=1
|
||||
-O2
|
||||
-std=gnu++17
|
||||
|
||||
core_unbuild_flags = -std=gnu++11
|
||||
@@ -98,7 +99,6 @@ board_build.partitions = esp32_partition_16M.csv
|
||||
build_unflags = ${common.unbuild_flags}
|
||||
build_flags =
|
||||
${espressi32_base.build_flags}
|
||||
-O2
|
||||
'-DEMSESP_DEFAULT_BOARD_PROFILE="S32S3"'
|
||||
|
||||
[env:esp32_4M]
|
||||
@@ -108,7 +108,6 @@ board_upload.flash_size = 4MB
|
||||
board_build.partitions = esp32_partition_4M.csv
|
||||
build_flags =
|
||||
${espressi32_base_tasmota.build_flags}
|
||||
-Os
|
||||
|
||||
[env:esp32_4Mplus]
|
||||
extends = espressi32_base_tasmota
|
||||
@@ -163,7 +162,6 @@ board_upload.use_1200bps_touch = false
|
||||
board_upload.wait_for_upload_port = false
|
||||
build_flags =
|
||||
${espressi32_base.build_flags}
|
||||
-O2
|
||||
'-DEMSESP_DEFAULT_BOARD_PROFILE="S32S3"'
|
||||
|
||||
; to build and run: pio run -e standalone -t exec
|
||||
@@ -176,8 +174,9 @@ build_flags =
|
||||
-lpthread
|
||||
-std=gnu++11 -Og -ggdb
|
||||
build_src_flags =
|
||||
-Wall -Wextra -Werror -Wswitch-enum -Wno-unused-parameter -Wno-inconsistent-missing-override -Wno-unused-lambda-capture -Wno-sign-compare
|
||||
-Wno-missing-braces
|
||||
-Wall -Wextra -Werror
|
||||
-Wno-unused-parameter -Wno-sign-compare
|
||||
; -Wswitch-enum -Wno-unused-parameter -Wno-inconsistent-missing-override -Wno-unused-lambda-capture -Wno-missing-braces
|
||||
-I./lib_standalone
|
||||
-I./lib/ArduinoJson/src
|
||||
-I./lib/uuid-common/src
|
||||
|
||||
Reference in New Issue
Block a user