fix: update platformio.ini — OTA partitions, NimBLE, PSRAM flags

- Switch board to m5stack-timer-cam (confirmed in pio boards)
- Pin platform to espressif32@6.6.0
- Replace huge_app.csv with custom partitions_8mb_ota.csv (8MB + OTA)
- Add -DCONFIG_BT_NIMBLE_ENABLED=1 and -DCONFIG_SPIRAM_USE_MALLOC=1
- Add h2zero/NimBLE-Arduino@^1.4.2 to lib_deps
- Raise CORE_DEBUG_LEVEL from 1 → 3

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-13 13:52:33 -07:00
parent 6c46ea26ab
commit f4d9e1b2a5
2 changed files with 13 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
# Name, Type, SubType, Offset, Size
nvs, data, nvs, 0x9000, 0x6000
otadata, data, ota, 0xf000, 0x2000
app0, app, ota_0, 0x10000, 0x300000
app1, app, ota_1, 0x310000, 0x300000
spiffs, data, spiffs, 0x610000, 0x1F0000
1 # Name Type SubType Offset Size
2 nvs data nvs 0x9000 0x6000
3 otadata data ota 0xf000 0x2000
4 app0 app ota_0 0x10000 0x300000
5 app1 app ota_1 0x310000 0x300000
6 spiffs data spiffs 0x610000 0x1F0000