Closed hzhh110 closed 3 years ago
Partition table ends at offset 0x9000, so you cant put any partition in there.
Can nvs be bigger? How to set it?
Few ways to do it:
-- | -- | -- | -- | -- | -- nvs | data | nvs | 0x9000 | 0x10000 | otadata | data | ota | 0x19000 | 0x2000 | app0 | app | ota_0 | 0x1b000 | 0x1E0000 | app1 | app | ota_1 | 0x1Fb000 | 0x1E0000 | spiffs | data | spiffs | 0x3Db000 | 0x25000 |
Partition app0 invalid: Offset 0x1b000 is not aligned to 0x10000 Compiling .pio/build/nodemcu-32s/libc6c/Update/Updater.cpp.o Compiling .pio/build/nodemcu-32s/lib7cd/WiFi/ETH.cpp.o *** [.pio/build/nodemcu-32s/partitions.bin] Error 2
Partition app0 invalid: Offset 0x1b000 is not aligned to 0x10000
app0 offset = 0x20000 or 0x30000 or 0x40000 etc, but try to leave all offsets empty (space).
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.
[env:nodemcu-32s] platform = espressif32 ; board = esp32cam board = nodemcu-32s
; board = ttgo-t-watch framework = arduino lib_deps = AliyunMqttArduino,ArduinoJson,NTPClient,ESPiLight,lsatan/SmartRC-CC1101-Driver-Lib @ ^2.5.2 ; lib_deps = AliyunMqttArduino ; lib_deps = 551,64,6100 ; upload_flags = ; --port=3232 build_flags = -D MQTT_MAX_PACKET_SIZE=1024 -D MQTT_KEEPALIVE=60
board_build.partitions = esp32cam2.csv
Name | Type | SubType | Offset | Size | Flags
-- | -- | -- | -- | -- | -- nvs | data | nvs | 0x9000 | 0x5000 | otadata | data | ota | 0xe000 | 0x2000 | app0 | app | ota_0 | 0x10000 | 0x1E0000 | app1 | app | ota_1 | 0x1F0000 | 0x1E0000 | spiffs | data | spiffs | 0x3D0000 | 0x30000 |
if I user
Name | Type | SubType | Offset | Size | Flags
-- | -- | -- | -- | -- | -- nvs | data | nvs | 0x2000 | 0xc000 | otadata | data | ota | 0xe000 | 0x2000 | app0 | app | ota_0 | 0x10000 | 0x1E0000 | app1 | app | ota_1 | 0x1F0000 | 0x1E0000 | spiffs | data | spiffs | 0x3D0000 | 0x30000 |
CSV Error: First partition offset 0x2000 overlaps end of partition table 0x9000