Skip to content

Commit

Permalink
feature/wifi_sync: Mount the file system using flash
Browse files Browse the repository at this point in the history
Signed-off-by: lbuque <[email protected]>
  • Loading branch information
lbuque committed Dec 12, 2022
1 parent 9c13a52 commit deae2d2
Show file tree
Hide file tree
Showing 3 changed files with 280 additions and 173 deletions.
6 changes: 6 additions & 0 deletions examples/wifi_sync/partitions_custom.csv
Original file line number Diff line number Diff line change
@@ -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, 0x640000,
app1, app, ota_1, 0x650000,0x640000,
ffat, data, fat, 0xc90000,0x36f000,
4 changes: 4 additions & 0 deletions examples/wifi_sync/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ board = lilygo-t5-47
build_flags =
-D BOARD_HAS_PSRAM
-D CORE_DEBUG_LEVEL=3
board_build.filesystem = fatfs
board_build.partitions = partitions_custom.csv

[env:t5-4.7-plus]
board = lilygo-t5-47-plus
; upload_port = COM66
build_flags = -D CORE_DEBUG_LEVEL=5
-D ARDUINO_USB_CDC_ON_BOOT=1
board_build.filesystem = fatfs
board_build.partitions = partitions_custom.csv
Loading

0 comments on commit deae2d2

Please sign in to comment.