How to define a custom board

ashegheparyshun
Posts: 7
Joined: Mon May 17, 2021 11:30 am

How to define a custom board

Postby ashegheparyshun » Thu May 08, 2025 11:55 am

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.

Sprite
Espressif staff
Espressif staff
Posts: 10596
Joined: Thu Nov 26, 2015 4:08 am

Re: How to define a custom board

Postby Sprite » Fri May 09, 2025 12:56 am

ESP-IDF does not work with board defines. Are you asking about Arduino?

ashegheparyshun
Posts: 7
Joined: Mon May 17, 2021 11:30 am

Re: How to define a custom board

Postby ashegheparyshun » Mon May 12, 2025 12:36 pm

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.

Sprite
Espressif staff
Espressif staff
Posts: 10596
Joined: Thu Nov 26, 2015 4:08 am

Re: How to define a custom board

Postby Sprite » Tue May 13, 2025 2:19 am

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.

Who is online

Users browsing this forum: ChatGPT-User, Perplexity-User, PerplexityBot and 6 guests