Setting up an ESP32C2

Hullo hullo

I bought a few ESPC2 8684 boards to automate some fans - I got them because they were the cheapest, and didn’t think to check compatibility before I did

I’m running HA on a Raspberry Pi 4 using HA OS, with the ESPHome addon installed. In the UI for selecting a board, I can’t find my exact version. Picking just a generic ESP32 doesn’t work, I get the error ERROR Running command failed: This chip is ESP32-C2 not ESP32. Wrong --chip argument? while installing the yaml.

At this stage I’d usually write it off and buy some more boards I know would work, but one thing that give me hope is that ESP32C2 appears in the variant autosuggest, I just can’t work out what the board type should be.

image

Are they compatible, or should I get some new boards?

Thanks :slight_smile:

1 Like

if unsure choose a generic board from Espressif such as esp32dev

Just like the docs say

Also fixed your subject line

Thanks for your quick response!

Sorry if my post wasn’t clear enough - it’s when using board: esp32dev, I get the error ERROR Running command failed: This chip is ESP32-C2 not ESP32. Wrong --chip argument?. I’ve tried setting the variant as well using

esp32:
  board: esp32dev
  variant: ESP32C2

but I get the error Option 'variant' does not match selected board.

Sorry you were clear, I didn’t read it well.

Try esp-idf framework. The C2 is a single core board.

However I am not sure how well the C2 is supported. Board request: ESP8684-DevKitM-1 · Issue #1151 · platformio/platform-espressif32 · GitHub

Ah, thanks very much, I’ll go down that rabbit hole and see if I can get it working

Did you get it working also have c2 board

1 Like

Old thread but I got a few ESP32-C2 and went down that rabbit hole too, this board should be compatible since September 2023: ESPHome 2023.9.0 - 27th September 2023 — ESPHome
“Support for ESP32-C2 & ESP32-C6 esphome#4377 by @vidplace7

I also saw this blog with an example: Run ESPHome on ESP32-C2 / ESP8684 | www.ewan.cc

I’m still trying to compile something to test the board with no success, any help would be appreciated. Thanks!