Skip to content

The ESP32-C2 cannot run on PlatformIO. #11761

@yang199901

Description

@yang199901

Board

ESP32-C2

Device Description

custom

Hardware Configuration

no

Version

latest stable Release (if not listed below)

Type

Task

IDE Name

vscode + platformio

Operating System

win 11

Flash frequency

40Mhz

PSRAM enabled

yes

Upload speed

115200

Description

Based on the current information, it seems that the ESP32-C2 can only run on ESP-IDF or Arduino. However, my current project is written using the Arduino framework on PlatformIO. I hope you can provide a temporary solution to allow my current project to support the ESP32-C2 module under the PlatformIO Arduino framework.

Sketch

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
board_build.filesystem = littlefs

Debug Message

A fatal error occurred: This chip is ESP32-C2, not ESP32-C3. Wrong --chip argument?

*** [upload] Error 2

==================================================== [FAILED] Took 7.45 seconds ====================================================

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions