microsoft / devicescript

TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
https://microsoft.github.io/devicescript/
MIT License
3.29k stars 121 forks source link

Add ESP32-C3FH4-RGB #612

Closed gsteiert closed 1 year ago

gsteiert commented 1 year ago

Add support for ESP32-C3FH4-RGB https://github.com/01Space/ESP32-C3FH4-RGB

The attached file should take care of it if you remove the .txt suffix

Additional context esp32_c3fh4_rgb.board.json.txt

pelikhan commented 1 year ago

@mmoskal let's chat about bringing this in.

gsteiert commented 1 year ago

Any status on this? Do you need help with the board page?

pelikhan commented 1 year ago

It slipped through the cracs. We'll take a look soon.

pelikhan commented 1 year ago

Could you take a picture of this device using this template and attach it to the bug?

https://microsoft.github.io/jacdac-docs/templates/jacdac-device-photo-template.pdf

gsteiert commented 1 year ago

Will this work? IMG_20230911_195519

gsteiert commented 1 year ago

this might be a little better IMG_20230911_200206

pelikhan commented 1 year ago

https://github.com/microsoft/jacdac/pull/1329

mmoskal commented 1 year ago

should be fixed now (once everything builds)

gsteiert commented 1 year ago

Thanks for adding the board. It might be nice to mention the 5x5 LED grid is connected to LEDS pin GPIO8 on the board page. This makes a good board to demo the LED driver.

IMG_20230911_194228

pelikhan commented 1 year ago

Right we need to support having a bit of typescript in the board definition.

pelikhan commented 1 year ago

@gsteiert you can add an example section and code snippet at website/docs/devices/esp32/esp32-c3fh4-rgb-examples.mdp then run yarn docs to preview it.

pelikhan commented 1 year ago

example added https://github.com/microsoft/devicescript/commit/ca5fa26485df3addbb2d7225ecb8f08dccfb9135