mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-10 09:49:54 +03:00
c++17
This commit is contained in:
@@ -11,13 +11,15 @@ extra_configs =
|
||||
|
||||
[common]
|
||||
core_build_flags =
|
||||
-Wall
|
||||
; -Wall -Wextra -Werror -Wswitch-enum -Wno-unused-parameter
|
||||
-D CORE_DEBUG_LEVEL=0
|
||||
-D NDEBUG
|
||||
-D ARDUINO_ARCH_ESP32=1
|
||||
-D ESP32=1
|
||||
-std=gnu++17 -Os
|
||||
|
||||
core_unbuild_flags =
|
||||
core_unbuild_flags = -std=gnu++11
|
||||
; core_unbuild_flags =
|
||||
|
||||
; my_build_flags is set in pio_local.ini
|
||||
my_build_flags =
|
||||
@@ -42,7 +44,6 @@ monitor_raw = yes
|
||||
upload_speed = 921600
|
||||
build_type = release
|
||||
lib_ldf_mode = chain+
|
||||
debug_build_flags = -Os # optimize for size
|
||||
|
||||
check_tool = cppcheck, clangtidy
|
||||
check_severity = high, medium
|
||||
@@ -56,7 +57,8 @@ check_flags =
|
||||
extra_scripts = scripts/rename_fw.py
|
||||
board = esp32dev
|
||||
platform = espressif32
|
||||
board_build.partitions = esp32_partition_4M.csv
|
||||
board_build.partitions = esp32_partition_4M.csv
|
||||
board_build.filesystem = littlefs
|
||||
build_flags = ${common.build_flags}
|
||||
build_unflags = ${common.unbuild_flags}
|
||||
|
||||
@@ -66,6 +68,8 @@ extra_scripts =
|
||||
scripts/rename_fw.py
|
||||
board = esp32dev
|
||||
platform = espressif32
|
||||
; platform_packages =
|
||||
; framework-arduinoespressif32@3.20005.220925
|
||||
board_upload.flash_size = 4MB
|
||||
board_build.partitions = esp32_partition_4M.csv
|
||||
build_flags = ${common.build_flags}
|
||||
|
||||
Reference in New Issue
Block a user