Skip to content

Commit

Permalink
Upgrade partitions to 8mb size.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivorforce committed Jul 2, 2020
1 parent cd06d61 commit 86ddf77
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 0 additions & 6 deletions partitions_4mb.csv

This file was deleted.

6 changes: 6 additions & 0 deletions partitions_8mb.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, 0x330000,
app1, app, ota_1, 0x340000,0x330000,
spiffs, data, spiffs, 0x670000,0x190000,
3 changes: 2 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ platform_packages =
board = esp32dev
framework = arduino, espidf
upload_speed = 115200
board_build.partitions = partitions_4mb.csv
board_build.partitions = partitions_8mb.csv
board_upload.flash_size = 8MB
build_flags =
; Currently required for FastLED to work
-D ESP32=1
Expand Down
4 changes: 2 additions & 2 deletions sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ CONFIG_ARDUINO_UDP_RUN_CORE1=
CONFIG_ARDUINO_UDP_RUNNING_CORE=0

# Flashsize
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_ESPTOOLPY_FLASHSIZE="8MB"
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y

# CPU Frequency of 240MHZ
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
Expand Down

0 comments on commit 86ddf77

Please sign in to comment.