Use rainmaker with m5stack-core-esp32



  • Hi everyone, I'm trying to use rainmaker with my m5stack-core-esp32 with Arduino framework.
    When I build the code, this failed for flash memory.

    CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/m5stack-core-esp32.html
    PLATFORM: Espressif 32 (3.3.0+sha.ab75429) > M5Stack Core ESP32
    HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
    DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
    PACKAGES:
     - framework-arduinoespressif32 0.0.0+sha.c37557c
     - tool-esptoolpy 1.30100.210531 (3.1.0)
     - toolchain-xtensa32 2.80400.210211 (8.4.0)
    LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ chain, Compatibility ~ soft
    Found 30 compatible libraries
    Scanning dependencies...
    Dependency Graph
    |-- <ESP RainMaker> 2.0.0
    |-- <WiFi> 2.0.0
    |-- <WiFiProv> 2.0.0
    |   |-- <WiFi> 2.0.0
    |   |-- <SimpleBLE> 2.0.0
    Building in release mode
    Retrieving maximum program size .pio\build\m5stack-core-esp32\firmware.elf
    Checking size .pio\build\m5stack-core-esp32\firmware.elf
    Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
    RAM:   [=         ]  13.1% (used 42936 bytes from 327680 bytes)
    Error: The program size (1716093 bytes) is greater than maximum allowed (1310720 bytes)
    Flash: [====*** [checkprogsize] Explicit exit, status 1
    ======]  130.9% (used 1716093 bytes from 1310720 bytes)
    

    Anybody knows how to load or use rainmaker with m5stack core esp32 (not CORE2) . Maybe traying to reduce other libs or use espidf instead of Arduino.
    Thanks.