Platformio configuration for ESP32-C3-0.42OLED board

These esp32-c3 boards (with a tiny oled display, as the name suggests) are dirt cheap on AliExpress and Banggood at the moment.

There is a GitHub page with a description of the board, and various examples for Arduino IDE (which will at least allow me to find the pins and specs for the OLED, etc): GitHub - 01Space/ESP32-C3-0.42LCD

I haven’t started experimenting with the board yet in PlatformIO, has anyone else done so already? Any suggestions on what I should put in platformio.ini as board, and possibly in the board_build variables?

Alternatively, is anyone interested in this as well, and should I report what I find?

GitHub - 01Space/ESP32-C3-0.42LCD says

Setup connection to connect to Board ESP32C3 Dev

And since esp32-c3-devkitm-1.json is using that variant, I would start out with that board.

[env:esp32-c3-devkitm-1]
platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
1 Like

I have an esp32-c3-devkitc-02 Board. Can I use the esp32-c3-devkitm-1 variant?