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
  • Sorry, I can't help you. But I want to report that I have a similar error. I'm following the course "nrf Connect SDK Fundamentals" and am now stuck on task 2 where the Blinky example is the starting point. I've been looking for several days to find out what could be wrong, without success.  I mention this becouse I have observed when "googling" that other have the same problem. 

Reply
  • Sorry, I can't help you. But I want to report that I have a similar error. I'm following the course "nrf Connect SDK Fundamentals" and am now stuck on task 2 where the Blinky example is the starting point. I've been looking for several days to find out what could be wrong, without success.  I mention this becouse I have observed when "googling" that other have the same problem. 

Children
No Data
Related