cleanup build

This commit is contained in:
Proddy
2021-07-05 16:53:57 +02:00
parent 5b26e27834
commit 6f57beab28
3 changed files with 7 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
# Name, Type, SubType, Offset, Size, Flags # Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000, nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000, otadata, data, ota, 0xE000, 0x2000,
app0, app, ota_0, 0x10000, 0x1F0000, app0, app, ota_0, 0x10000, 0x1F0000,
app1, app, ota_1, 0x200000, 0x1F0000, app1, app, ota_1, 0x200000, 0x1F0000,
spiffs, data, spiffs, 0x3F0000,0x10000, spiffs, data, spiffs, 0x3F0000, 0x10000,
1 # Name Type SubType Offset Size Flags
2 nvs data nvs 0x9000 0x5000
3 otadata data ota 0xe000 0xE000 0x2000
4 app0 app ota_0 0x10000 0x1F0000
5 app1 app ota_1 0x200000 0x1F0000
6 spiffs data spiffs 0x3F0000 0x10000

View File

@@ -15,10 +15,8 @@ core_build_flags =
-D NDEBUG -D NDEBUG
-D ARDUINO_ARCH_ESP32=1 -D ARDUINO_ARCH_ESP32=1
-D ESP32=1 -D ESP32=1
; -std=c++17 -std=gnu++17
core_unbuild_flags = core_unbuild_flags =
; -std=gnu++11
build_flags = build_flags =
${common.core_build_flags} ${common.core_build_flags}
@@ -30,9 +28,6 @@ build_flags =
unbuild_flags = unbuild_flags =
${common.core_unbuild_flags} ${common.core_unbuild_flags}
; these are set in your pio_local.ini
debug_flags =
[env] [env]
framework = arduino framework = arduino
monitor_speed = 115200 monitor_speed = 115200
@@ -47,6 +42,7 @@ check_flags =
clangtidy: --checks=-*,clang-analyzer-*,performance-* clangtidy: --checks=-*,clang-analyzer-*,performance-*
; build for GitHub Actions CI ; build for GitHub Actions CI
; the Web interface is built seperately
[env:ci] [env:ci]
extra_scripts = scripts/rename_fw.py extra_scripts = scripts/rename_fw.py
board = esp32dev board = esp32dev
@@ -62,5 +58,5 @@ extra_scripts =
board = esp32dev board = esp32dev
platform = espressif32 platform = espressif32
board_build.partitions = esp32_partition_app1984k_spiffs64k.csv board_build.partitions = esp32_partition_app1984k_spiffs64k.csv
build_flags = ${common.build_flags} ${common.debug_flags} build_flags = ${common.build_flags}
build_unflags = ${common.unbuild_flags} build_unflags = ${common.unbuild_flags}

Binary file not shown.