feat: add sdkconfig defaults, partition table, and global config

16MB flash with custom partitions (2x2MB OTA + 12MB SPIFFS),
PSRAM/WiFi/TLS tuning, and centralized compile-time constants.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
crispyberry
2026-02-05 18:55:12 +08:00
parent 2d0660ab58
commit db3a8b1202
3 changed files with 112 additions and 0 deletions

8
partitions.csv Normal file
View File

@@ -0,0 +1,8 @@
# Name, Type, SubType, Offset, Size
nvs, data, nvs, 0x9000, 0x6000
otadata, data, ota, 0xF000, 0x2000
phy_init, data, phy, 0x11000, 0x1000
ota_0, app, ota_0, 0x20000, 0x200000
ota_1, app, ota_1, 0x220000, 0x200000
spiffs, data, spiffs, 0x420000, 0xBD0000
coredump, data, coredump,0xFF0000, 0x10000
1 # Name Type SubType Offset Size
2 nvs data nvs 0x9000 0x6000
3 otadata data ota 0xF000 0x2000
4 phy_init data phy 0x11000 0x1000
5 ota_0 app ota_0 0x20000 0x200000
6 ota_1 app ota_1 0x220000 0x200000
7 spiffs data spiffs 0x420000 0xBD0000
8 coredump data coredump 0xFF0000 0x10000