Page 1 of 1

How to define a custom board

Posted: Thu May 08, 2025 11:55 am
by ashegheparyshun
Hello everyone.
I want to define a custom board so I can select it when I want to build a code.
I'm looking for a documentation to do that from espressif but I haven't find yet.
Thanks.

Re: How to define a custom board

Posted: Fri May 09, 2025 12:56 am
by Sprite
ESP-IDF does not work with board defines. Are you asking about Arduino?

Re: How to define a custom board

Posted: Mon May 12, 2025 12:36 pm
by ashegheparyshun
I'm trying to build an application for the Matter protocol.
my dev kit is esp32s3 devkit (which has a ws2812 rgb led) and I'm using Ubuntu.
For my first step I tried the light example from esp-matter sdk and it worked for me.
Next I tried to modify the example to expand the number of rgb leds to 2 but I failed.
I tried to change the number of rgb leds in the sdkconfig but it returns the number of leds to 1.
I changed the maximum number of leds in all the related file in the example but I failed too.
So, I'm trying to find a way to increase the number of leds. I thought if I could define a new board, I could increase the number of leds too.

Re: How to define a custom board

Posted: Tue May 13, 2025 2:19 am
by Sprite
What are you expecting to happen? The example itself only controls one LED source (indirectly, via a driver that also seems to only support one LED), so you'd need to do more than set the LED count to 2 in order to control multiple LEDs via Thread.