Skip to content

Commit

Permalink
Updated partitions to utilize entire 16mb of flash. (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhampuswall authored Jun 11, 2024
1 parent c3d0476 commit 35b9cd1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions firmware/partitions-16MB-custom.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xE000, 0x2000,
ota_0, app, ota_0, 0x10000, 0x600000,
ota_1, app, ota_1, 0x610000, 0x600000,
uf2, app, factory, 0xC10000, 0x40000,
ffat, data, fat, 0xC50000, 0x100000,
3 changes: 1 addition & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ build_flags =
platform = [email protected]
framework = arduino
board = esp32-s3-devkitc-1-n16r8v
;TODO: update partition table to be aligned with n16r8
board_build.partitions = ./firmware/partitions-4MB-fat.csv
board_build.partitions = ./firmware/partitions-16MB-custom.csv
upload_speed = 921600
monitor_speed = 115200
monitor_raw = yes
Expand Down

0 comments on commit 35b9cd1

Please sign in to comment.