Hi,
I am trying to turn on p0.03 when it goes in dfu mode but it not turning on
err_code = nrf_drv_gpiote_init();
APP_ERROR_CHECK(err_code);
nrf_drv_gpiote_out_config_t out_config = GPIOTE_CONFIG_OUT_SIMPLE(false);
err_code = nrf_drv_gpiote_out_init(3, &out_config);
APP_ERROR_CHECK(err_code);
nrf_drv_gpiote_out_clear(3);
It turn on led and then turn off it self
I figure out that the issue is with
err_code = app_timer_create(&nrf_dfu_inactivity_timeout_timer_id,
APP_TIMER_MODE_SINGLE_SHOT,
nrf_dfu_reset_timeout_handler);
is it possible to use app_timer_create after gpio_init?
Thanks