I 'm using ESP32C3 to develop function including: connect to wifi and bluetooth as well. So far, With Wifi connection function, It worked well and available update OTA via websocket
And now, I'm adding bluetooth function but I faced problem that flash memory of device is overflow. I try customize partitions table as below but look like It was over 4MB of device. If I try add more code mybe, size of bin file will be more and can't upload to device
So Please give me advise for this case. Thanks so much
My partitions table:
Error:# ESP-IDF Partition Table
# Name , Type , SubType , Offset , Size , Flags
nvs , data , nvs , 0x9000 , 16K ,
OTA Data,data , ota , , 8K
phy_init,data , phy , , 4K
factory ,app , factory , , 0x14173A
ota 0 ,app ,ota_0 , ,0x14173A
ota 1 ,app ,ota_1 , ,0x14173A
Error: All app partitions are too small for binary project-name.bin size 0x184e30:
- Part 'factory' 0/0 @ 0x10000 size 0x14173a (overflow 0x436f6)
- Part 'ota 0' 0/16 @ 0x160000 size 0x14173a (overflow 0x436f6)
- Part 'ota 1' 0/17 @ 0x2b0000 size 0x14173a (overflow 0x436f6)
ninja: build stopped: subcommand failed.