Hello
NCS2.0.2, nRF5340, VScode
i can't read button P1.00.
#include <zephyr.h>
#include <device.h>
#include <drivers/gpio.h>
#include <hal/nrf_gpio.h>
#include <hal/nrf_gpiote.h>
#include <nrfx_gpiote.h>
#include <sys/reboot.h>
void main(void)
{
printk("Hello World! %s\n", CONFIG_BOARD);
nrf_gpio_cfg_input(0x20,GPIO_PIN_CNF_PULL_Disabled);
while(1)
{
int vi1=nrf_gpio_pin_read(0x20);
printk("*button P1.00= %d \n",vi1);
k_msleep(500);
}
}
prj.conf
if remove CONFIG_BT, button P1.00 will read ok;
how to slove it ?
Best regards



