Hi community
- My goal is: Install ISR service properly
- My actions are: I have a simple code which include gpio_install_isr_service (ESP-IDF).
enum mgos_app_init_result mgos_app_init(void) {
esp_err_t err = gpio_install_isr_service(ESP_INTR_FLAG_IRAM);
if (err != ESP_OK) {
ESP_LOGE(TAG, “Could not install gpio isr service! (%X)”, err);
return err;
}
return MGOS_APP_INIT_SUCCESS;
}
- The result I see is: What I get in console is:
[Feb 15 13:31:44.804] E (740) : Could not install gpio isr service! (105)
[Feb 15 13:31:44.809] mgos_freertos.c:184 MGOS init failed: -2
[Feb 15 13:31:45.313] mgos_vfs.c:1026 Unmounting filesystems
[Feb 15 13:31:45.317] mgos_system.c:43 Restarting
[Feb 15 13:31:45.321] ets Jun 8 2016 00:22:57
ESP_ERR_NOT_FOUND
(0x105) : Requested resource not found
- My expectation & question is: How to fix it?
Best Regard