mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
cleanup
This commit is contained in:
@@ -18,15 +18,20 @@ core_unbuild_flags = -std=gnu++11
|
||||
; my_build_flags is set in pio_local.ini
|
||||
my_build_flags =
|
||||
|
||||
; explanation on some custom settings:
|
||||
; CONFIG_ASYNC_TCP_QUEUE - see https://github.com/emsesp/EMS-ESP32/issues/177
|
||||
; CONFIG_ASYNC_TCP_STACK_SIZE - stack usage measured: ESP32: ~2.3K, ESP32S3: ~3.5k
|
||||
; CONFIG_ASYNC_TCP_TASK_PRIORITY - default is 10, was 5 for EMS-ESP
|
||||
build_flags =
|
||||
${common.core_build_flags}
|
||||
${factory_settings.build_flags}
|
||||
${common.my_build_flags}
|
||||
-D ONEWIRE_CRC16=0
|
||||
-D NO_GLOBAL_ARDUINOOTA
|
||||
-D CONFIG_ETH_ENABLED
|
||||
-D CONFIG_UART_ISR_IN_IRAM
|
||||
-D CONFIG_ASYNC_TCP_STACK_SIZE=5120
|
||||
-D CONFIG_ASYNC_TCP_QUEUE=32
|
||||
-D CONFIG_ASYNC_TCP_TASK_PRIORITY=10
|
||||
|
||||
unbuild_flags =
|
||||
${common.core_unbuild_flags}
|
||||
@@ -35,7 +40,8 @@ unbuild_flags =
|
||||
platform = espressif32@6.7.0
|
||||
framework = arduino
|
||||
board_build.filesystem = littlefs
|
||||
build_flags = ${common.build_flags}
|
||||
build_flags =
|
||||
${common.build_flags}
|
||||
build_unflags = ${common.unbuild_flags}
|
||||
extra_scripts =
|
||||
pre:scripts/build_interface.py
|
||||
@@ -62,18 +68,18 @@ monitor_speed = 115200
|
||||
monitor_filters = direct
|
||||
upload_speed = 921600
|
||||
build_type = release
|
||||
lib_ldf_mode = chain+
|
||||
lib_deps =
|
||||
https://github.com/emsesp/EMS-ESP-Modules
|
||||
bblanchon/ArduinoJson@^7.0.4
|
||||
check_tool = cppcheck, clangtidy
|
||||
check_severity = high, medium
|
||||
check_flags =
|
||||
cppcheck: --std=c++11 -v
|
||||
clangtidy: --checks=-*,clang-analyzer-*,performance-*
|
||||
lib_ldf_mode = chain+
|
||||
lib_deps =
|
||||
https://github.com/emsesp/EMS-ESP-Modules.git
|
||||
bblanchon/ArduinoJson@^7.0.4
|
||||
|
||||
; build for GitHub Actions CI
|
||||
; the Web interface is built seperately
|
||||
; the Web interface is built seperately, so is skipper in extra_scripts
|
||||
[env:ci]
|
||||
extends = espressi32_base_tasmota
|
||||
extra_scripts = scripts/rename_fw.py
|
||||
@@ -191,17 +197,9 @@ board_build.filesystem = littlefs
|
||||
board_upload.flash_size = 16MB
|
||||
board_build.partitions = esp32_partition_16M.csv
|
||||
board_build.extra_flags = -DBOARD_HAS_PSRAM
|
||||
build_flags =
|
||||
${factory_settings.build_flags}
|
||||
${common.my_build_flags}
|
||||
-D ONEWIRE_CRC16=0
|
||||
-D NO_GLOBAL_ARDUINOOTA
|
||||
-D ARDUINOJSON_ENABLE_STD_STRING=1
|
||||
-D ARDUINOJSON_USE_DOUBLE=0
|
||||
-D ARDUINOTRACE_ENABLE=0
|
||||
-D CONFIG_ETH_ENABLED
|
||||
-D CONFIG_UART_ISR_IN_IRAM
|
||||
-D CONFIG_ASYNC_TCP_STACK_SIZE=5120
|
||||
build_flags =
|
||||
${common.build_flags}
|
||||
build_unflags = ${common.unbuild_flags}
|
||||
|
||||
; to build and run: pio run -e native -t exec
|
||||
[env:native]
|
||||
|
||||
Reference in New Issue
Block a user