Correct place to set Kconfig parameter CONFIG_GPIO=y using nRF Connect SDK v2.9.0?

Hi,

What file or files should contain CONFIG_GPIO=y for a simple application developed with nRF Connect SDK v2.9.0 such that VS Code does not show squiggles under #include <zephyr/drivers/gpio.h>  indicating error:  The GPIO drivers must be enabled by CONFIG_GPIO to be included in build (missing_kconfig_param).

I have a similar problem with CONFIG_PWM.  I have tried setting it in prj.conf and also my custom_board_defconfig file without solving the problem.

Thanks,

Ken

Parents Reply
  • Hi Anders,

    AndersHedberg said:
    I also got this error now, and it's confusing. One error claims GPIO is set twice, another error that it must be enabled. And just by clicking on the files, it now have a CONFIG_UART_CONSOLE error as well... what is going on?!? and this is just the first lesson! Now Use sysbuild was marked... 

    A new update to the VS Code Extension should be available soon (I can not say exactly when).
    With that update, you should not longer get the warning that "GPIO is set twice".

    Let me know if you still get this warning after your next VS Code Extension update

Children
No Data
Related