4

I was able to fix the issue by editing the boards.txt file and adding the following lines: lolin32.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS) lolin32.menu.PartitionScheme.huge_app.build.partitions=huge_app lolin32.menu.PartitionScheme.huge_app.upload.maximum_size=3145728 This will add a "Huge APP" partition scheme to WEMOS ...


3

The basic problem is that when you upload over OTA you don't upload the partition structure. The ESP32's flash is split into a number of "partitions" or areas. It might look something like: +----+-+-------------+-------------+---------------------+ |BOOT|P|OTA Program 1|OTA Program 2| SPIFFS | +----+-+-------------+-------------+------...


3

0x1000 is the "second stage" bootloader. This is the code that is responsible for loading the code according to the layout specified in the partition table. In ESP-IDF, the binary image which resides at offset 0x1000 in flash is the second stage bootloader. Second stage bootloader source code is available in components/bootloader directory of ESP-...


2

The boards.txt file configures what can be configured in the Arduino IDE for each board. On my installation, this is found at C:\Users\MyUser\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\boards.txt I found the section esp32cam.name=AI Thinker ESP32-CAM and changed the lines: esp32cam.upload.maximum_size=3145728 esp32cam.build.partitions=...


1

As stated in the comments by @Codebreaker007 using the ESP32 Wrover Module works and if you put the pin definitions inline in the app there isn't a problem #define CAMERA_MODEL_AI_THINKER #if defined(CAMERA_MODEL_AI_THINKER) #define PWDN_GPIO_NUM 32 #define RESET_GPIO_NUM -1 #define XCLK_GPIO_NUM 0 #define SIOD_GPIO_NUM 26 #define ...


1

You do not have to go through the hassle with editing the boards.txt if you want to have OTA only if you do not need it or you want a custom partition scheme. That said the OTA partition is always what is left so e.g. Med Spiffs App 1.9MB, Spiffs 190KB means 1.9 MB OTA partiton.The caveat is if you want to OTA a 1.8 MB App with 1 MB Spiffs that will NOT work....


Only top voted, non community-wiki answers of a minimum length are eligible