lemariva/micropython-camera-driver

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

Opened this issue · 2 comments

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)

please

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