aungkhantmaw64 opened a new pull request, #15956: URL: https://github.com/apache/nuttx/pull/15956
## Summary I found that the gpio example code can't be tested on nrf5340-dk. Enabling CONFIG_DEV_GPIO wouldn't register gpio pins as /dev/gpio*. NRF5340-dk has 4 LEDs and 4 User Buttons. By setting CONFIG_DEV_GPIO=y, - 4 LEDs will be configured as GPIO outputs - 2 Buttons as GPIO inputs, and - 2 Buttons as GPIO interrupt inputs This PR will allows user to test GPIO examples on NRF5340-dk board. ## Impact This patch is nearly identical to implementation of xiao-nrf52840's nrf52_gpio.c. It only impacts board-level initialization. ## Testing I've tested this patch on NRF5340-dk itself.  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org