Skip to content

The example file will not compile #21

Description

@bobpardoe

I have cut and pasted the example file, not made any changes. Here is the compiler output. Any ideas what is wrong?

I have removed all of the compiling... statements

Processing dfrobot_firebeetle2_esp32e (platform: espressif32; board: dfrobot_firebeetle2_esp32e; framework: arduino)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/dfrobot_firebeetle2_esp32e.html
PLATFORM: Espressif 32 (55.3.35) > DFRobot Firebeetle 2 ESP32-E
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, 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:

  • contrib-piohome @ 3.4.4
  • framework-arduinoespressif32 @ 3.3.5
  • framework-arduinoespressif32-libs @ 5.5.0+sha.9bb7aa84fe
  • tool-esptoolpy @ 5.1.0
  • tool-mklittlefs @ 3.2.0
  • toolchain-xtensa-esp-elf @ 14.2.0+20251107
    LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ chain, Compatibility ~ soft
    Found 52 compatible libraries
    Scanning dependencies...
    Dependency Graph
    |-- SensESP @ 3.1.1
    |-- OneWire @ 3.0.2
    |-- esp_websocket_client @ 0.0.0+20260105075736
    Building in release mode
    .
    .
    .
    .
    Archiving .pio/build/dfrobot_firebeetle2_esp32e/libFrameworkArduino.a
    Indexing .pio/build/dfrobot_firebeetle2_esp32e/libFrameworkArduino.a
    Linking .pio/build/dfrobot_firebeetle2_esp32e/firmware.elf
    Memory Type Usage Summary
    ┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
    ┃ Memory Type/Section ┃ Used [bytes] ┃ Used [%] ┃ Remain [bytes] ┃ Total [bytes] ┃
    ┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
    │ Flash Code │ 1037952 │ │ │ │
    │ .text │ 1037952 │ │ │ │
    │ Flash Data │ 503640 │ │ │ │
    │ .rodata │ 503384 │ │ │ │
    │ .appdesc │ 256 │ │ │ │
    │ IRAM │ 92407 │ 70.5 │ 38665 │ 131072 │
    │ .text │ 91379 │ 69.72 │ │ │
    │ .vectors │ 1028 │ 0.78 │ │ │
    │ DRAM │ 53104 │ 42.63 │ 71476 │ 124580 │
    │ .bss │ 28728 │ 23.06 │ │ │
    │ .data │ 24376 │ 19.57 │ │ │
    └─────────────────────┴──────────────┴──────────┴────────────────┴───────────────┘
    Total image size: 1658375 bytes (.bin may be padded larger)
    Note: The reported total sizes may be smaller than those in the technical reference manual due to reserved memory and application configuration. The total flash size available for the application is not included by default, as it cannot be reliably determined due to the presence of other data like the bootloader, partition table, and application partition size.
    Retrieving maximum program size .pio/build/dfrobot_firebeetle2_esp32e/firmware.elf
    Checking size .pio/build/dfrobot_firebeetle2_esp32e/firmware.elf
    Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
    RAM: [== ] 16.2% (used 53104 bytes from 327680 bytes)
    Flash: [====Error: The program size (1658119 bytes) is greater than maximum allowed (1310720 bytes)
    ====*** [checkprogsize] Explicit exit, status 1
    ==] 126.5% (used 1658119 bytes from 1310720 bytes)
    ============================================================== [FAILED] Took 45.22 seconds ==============================================================

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