Does anyone know how to writing codes for esp32c2?

I have designed a board using esp32c2 (or esp8684),but when I tried to code in platformio I didn’t find any of c2 boards in the supported list.I learned that I can define custom boards in platformio,but how can I do that?

Use the fork pioarduino GitHub - pioarduino/platform-espressif32: Espressif 32: pioarduino community platform compatible with PlatformIO
There and only there is support for the C2 with Arduino