Can't install isr service

Hi community

  1. My goal is: Install ISR service properly
  2. 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;
}

  1. 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

  1. My expectation & question is: How to fix it?

Best Regard

I’ve had the same problem, and after asking on the chat opened this issue (but I guess you’ve already been there)

I don’t know for sure and right now I don’t have the time to try, my guess is that mOS is using the complementary function and we should re-write code to conform to that. Just a guess.

Should anybody have the proper answer, please leave a comment on this thread.