GithubHelp home page GithubHelp logo

Comments (1)

sylvesternumski avatar sylvesternumski commented on July 28, 2024

This code depends on esp32-camera component from esp-idf. There have been many updates recently but if you replace the line:
gpio_install_isr_service(ESP_INTR_FLAG_LEVEL1 | ESP_INTR_FLAG_IRAM);

in esp32-camera/target/esp32/ll_cam.c with:
esp_err_t err = gpio_install_isr_service(ESP_INTR_FLAG_LEVEL1 | ESP_INTR_FLAG_IRAM);
if (err != ESP_OK) {
if (err != ESP_ERR_INVALID_STATE) {
ESP_LOGE(TAG, "gpio_install_isr_service failed (%x)", err);
}
else {
ESP_LOGW(TAG, "gpio_install_isr_service already installed");
}
}

The gpio service install will still fail but will allow the driver to continue and be successful.

This was suggested here: #5 (comment)
But because of all the updates, that patch doesn't line up correctly, and the location of where to update with this logic is different in the more recent esp32-camera source. (update ll_cam.c as opposed to camera.c - which is no longer there). I'm surprised that this logic has not been put into the main esp32-camera component but I'm sure there's a specific reason (it might be "board" specific and should be done only with a specific configuration and I don't want to hunt around to see about enabling it - maybe I will later if I get further)

from esp32-cam-micropython.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.