Skip to content

flash partition for esp32 dev board with 16MB and binary compiled under arduino ide #5542

Closed
@tradexsrl

Description

@tradexsrl

Hi i'm using arduino ide 1.8.13 and added the latest esp32 core , if i buy a 16MB esp32 board how can i choose to have for example 8 MB for app and 8 MB for SPIFFS?
i need to have OTA.
this problem came out because i'm using a ttgo esp32 dev board with 4MB of flash but the program i wrote for an arduino mkrgsm1400 board , adapted for esp32 , became over 1200kb (and it doesn't contain all the feature i had in mkrgsm1400...still under development) instead of 80kb when compiled....why ?
library used are:
<TinyGsmClient.h>
"WiFi.h"
<esp_wifi.h>
<esp_bt.h>
"driver/adc.h"
<Adafruit_Sensor.h>
<DHT.h>
<DHT_U.h>
<ArduinoMqttClient.h>
"HX711.h"
"soc/rtc.h"
<ArduinoOTA.h>
<ArduinoHttpClient.h>

in the program for arduino mkr:
<MKRGSM.h>
<Adafruit_Sensor.h>
<DHT.h>
<DHT_U.h>
<ArduinoUniqueID.h>
<ArduinoMqttClient.h>
<ArduinoLowPower.h>
<Arduino_MKRGPS.h>
"HX711.h"
<ArduinoOTA.h>
<ArduinoHttpClient.h>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions