Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you update the tutorial to the latest versions of ESP-IDF and micropython? #96

Open
kingmo888 opened this issue Jun 23, 2024 · 3 comments

Comments

@kingmo888
Copy link

When I tried to compile according to the tutorial, the compiler prompted that STATIC was unknown. After trying to change it to lowercase, although there were warnings, it was able to be edited, but ultimately the firmware still couldn't be used (camera module).

My ESP is ESP32-S3-WROOM-1+OV2640 (originally 5640, bought 2640 again)

@kingmo888
Copy link
Author

please

@getznerh
Copy link

getznerh commented Aug 25, 2024

Hi! Lemariva! You made a important work, thank you!
I have compiled a new firmwareversion with esp-idf 5.2.2 and the actual Micropython version 1.24. You can do it as it is explained in readme.md.
But you have to make small changes to modcamera.c

  1. change all STATIC to static
  2. change line about 180
    //static mp_obj_t camera_init(mp_uint_t n_pos_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
    static mp_obj_t camera_init(size_t n_pos_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {

now you can compile a new firmware as explained in readme.md
Regards Hans

@cnadler86
Copy link

Take the new API: https://github.com/cnadler86/micropython-camera-API. Usage is a little bit different, but you have more settings.
This supports the new mp version. I will publish in short precompiled FW versions vir the esp generic boards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants