Update User Setups

This commit is contained in:
fvanroie 2020-05-21 23:35:24 +02:00
parent 22adeb55eb
commit 4d35b33dbb
9 changed files with 22 additions and 10 deletions

View File

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

View File

@ -20,7 +20,7 @@ extra_configs =
platformio_override.ini
; -- Put active [env] files in this dir to be included in the build menu
user_setups/active/*.ini
user_setups/*/*.ini
; user_setups/*/*.ini
default_envs =
; Uncomment the needed environments in platformio_override.ini
@ -158,7 +158,7 @@ platform = espressif32@^1.12.0
board = wemos_d1_mini32
upload_port = COM5 ; To change the port, use platform_override.ini
monitor_port = COM5 ; To change the port, use platform_override.ini
board_build.partitions = default.csv
board_build.partitions = esp32_partition_app1280k_spiffs1472k.csv
build_flags =
${flags.esp32_flags}
; -- TFT_eSPI build options ------------------------
@ -183,7 +183,7 @@ platform = espressif32
board = lolin_d32_pro
upload_port = COM6 ; To change the port, use platform_override.ini
monitor_port = COM6 ; To change the port, use platform_override.ini
board_build.partitions = default.csv
board_build.partitions = esp32_partition_app1280k_spiffs1472k.csv
build_flags =
${flags.esp32_flags}
; -- TFT_eSPI build options ------------------------

View File

@ -3,6 +3,10 @@
;
; The platformio_override.ini file is not overwritten or monitored by git
[platformio]
extra_configs =
; Uncomment the following line to show all User Setups in the PIO sidebar
;user_setups/*/*.ini
[override]
; -- Hasp config options ----------------------

View File

@ -10,7 +10,7 @@ platform = espressif32@^1.12.0
board = wemos_d1_mini32
upload_port = COM5 ; To change the port, use platform_override.ini
monitor_port = COM5 ; To change the port, use platform_override.ini
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
board_build.partitions = esp32_partition_app1280k_spiffs1472k.csv
build_flags =
${flags.esp32_flags}

View File

@ -9,7 +9,7 @@ platform = espressif32
board = esp32dev
upload_port = COM4 ; To change the port, use platform_override.ini
monitor_port = COM4 ; To change the port, use platform_override.ini
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
board_build.partitions = esp32_partition_app1280k_spiffs1472k.csv
build_flags =
${flags.esp32_flags}
@ -47,4 +47,6 @@ build_flags =
lib_deps =
${env.lib_deps}
src_filter = +<*> +<../drivers/stm32f429_disco>
lib_ignore =
GxTFT
XPT2046_Touchscreen

View File

@ -13,7 +13,7 @@ monitor_port = COM2 ; To change the port, use platform_override.ini
; upload_port = 10.4.0.171 ; IP of the ESP
; upload_flags =
; --port=3232
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
board_build.partitions = esp32_partition_app1280k_spiffs1472k.csv
debug_tool = esp-prog
debug_init_break = tbreak setup

View File

@ -10,7 +10,7 @@ platform = espressif32
board = esp32dev
upload_port = COM1 ; To change the port, use platform_override.ini
monitor_port = COM1 ; To change the port, use platform_override.ini
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
board_build.partitions = esp32_partition_app1280k_spiffs1472k.csv
debug_tool = esp-prog
debug_init_break = tbreak setup

View File

@ -18,7 +18,7 @@ board = esp32cam
debug_tool = esp-prog
debug_init_break = tbreak setup
;board_build.partitions = min_spiffs.csv
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
board_build.partitions = esp32_partition_app1280k_spiffs1472k.csv
;ESP32 CAM PINS
build_flags =
${flags.esp32_flags}

View File

@ -10,7 +10,7 @@ platform = espressif32
board = nodemcu-32s
upload_port = COM3 ; To change the port, use platform_override.ini
monitor_port = COM3 ; To change the port, use platform_override.ini
board_build.partitions = esp32_partition_app1300k_spiffs1216k.csv
board_build.partitions = esp32_partition_app1280k_spiffs1472k.csv
debug_tool = esp-prog
debug_init_break = tbreak setup