Skip to content

Commit 919100e

Browse files
committed
Add optional partition table with smaller FS
And add default OTA Password
1 parent a3072c2 commit 919100e

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

examples/DBTFT/esp32_4M.csv

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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, 0x180000,
5+
app1, app, ota_1, 0x190000,0x180000,
6+
littlefs, data, littlefs,0x310000,0xE0000,
7+
coredump, data, coredump,0x3F0000,0x10000,

examples/DBTFT/platformio.ini

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ lib_deps =
2121
board_build.filesystem = littlefs
2222
monitor_speed = 115200
2323
#upload_protocol = espota
24+
#upload_flags = --auth=iliketrains
2425

2526
[env:2432s028r]
2627
platform = espressif32
@@ -37,6 +38,9 @@ lib_deps =
3738
board_build.filesystem = littlefs
3839
monitor_speed = 115200
3940
#upload_protocol = espota
41+
#upload_flags = --auth=iliketrains
42+
#board_build.partitions = esp32_4M.csv ;0x140000 by default is apprently not enough in some cases, shrink littlefs.
43+
4044
[env:2432s028r_dualusb]
4145
platform = espressif32
4246
board = esp32dev
@@ -50,4 +54,8 @@ lib_deps =
5054
adafruit/Adafruit ST7735 and ST7789 Library@^1.11.0
5155
tzapu/WifiManager @ ^2.0.0
5256
board_build.filesystem = littlefs
53-
monitor_speed = 115200
57+
monitor_speed = 115200
58+
#upload_protocol = espota
59+
#upload_flags = --auth=iliketrains
60+
upload_port = /dev/cu.usbserial-110
61+
;board_build.partitions = esp32_4M.csv ;0x140000 by default is apprently not enough in some cases, shrink littlefs.

0 commit comments

Comments
 (0)