nRF Connect for VSCode - custom board selection

Hello,

I have a question about the Kconfig extension for VSCode.

When I use the nrf52840 DK, the Board Selection correctly check the nrf52840dk_nrf52840 and all the configs made inside the nrf52840dk_nrf52840_defconf. In this case, I can correctly check the LOG_BACKEND_SWO option for example.

But when I use our custom board based on the DK (with all the files correctly named and with a correct build), our board is not checked inside the Board Selection menu. And then the LOG_BACKEND_SWO (for example), cannot be checked as Kconfig think that the board has no SWO...

Yes I can just put "CONFIG_LOG_BACKEND_SWO" inside the prj.conf but I want to use the graphical extension as it's easier to navigate in it.

Also, when I use guiconfig or menuconfig, I see that my board is selected in the Board Selection menu.

Is there something I'm doing wrong or is the Kconfig extension not made for custom board ?

Regards,

Andrew

Related