ArduCAM / Arduino

This is ArduCAM library for Arduino boards
MIT License
479 stars 351 forks source link

Problem with Arduino Nano RP2040 #539

Open rodolphekoe opened 3 years ago

rodolphekoe commented 3 years ago

Hello, It doesn't work with Arduino Nano RP2040 connect. Our camera is the ArduCam mini 5MP OV5642 Plus, we configured the memorysaver.h as explained in the tutorial. In fact, we tried to compile the example ArduCAM_Mini_5MP_OV5642_Plus_Functions, and we get this error message :

Arduino : 1.8.16 (Mac OS X), Carte : "Arduino Nano RP2040 Connect"

In file included from /Users/rodolphek/Documents/Arduino/libraries/ArduCAM/examples/mini/ArduCAM_Mini_5MP_OV5642_Plus_Functions/ArduCAM_Mini_5MP_OV5642_Plus_Functions.ino:13:0: /Users/rodolphek/Documents/Arduino/libraries/ArduCAM/ArduCAM.h:768:2: error: 'regtype' does not name a type; did you mean 'wctype'? regtype *P_CS; ^~~ wctype /Users/rodolphek/Documents/Arduino/libraries/ArduCAM/ArduCAM.h:769:2: error: 'regsize' does not name a type regsize B_CS; ^~~ /Users/rodolphek/Documents/Arduino/libraries/ArduCAM/examples/mini/ArduCAM_Mini_5MP_OV5642_Plus_Functions/ArduCAM_Mini_5MP_OV5642_Plus_Functions.ino: In function 'void loop()': /Users/rodolphek/Documents/Arduino/libraries/ArduCAM/examples/mini/ArduCAM_Mini_5MP_OV5642_Plus_Functions/ArduCAM_Mini_5MP_OV5642_Plus_Functions.ino:763:19: warning: unused variable 'temp_last' [-Wunused-variable] uint8_t temp, temp_last; ^~~~~ exit status 1 Erreur de compilation pour la carte Arduino Nano RP2040 Connect

Can you provide any guidance for getting the device working on this board? Thank you ! 👍 🐙

daneos commented 2 years ago

I have exactly the same problem. Any updates on this?

Looking at ArduCAM.h file there is no configuration for ARDUINO_ARCH_MBED_NANO. Does that mean that ArduCAM doesn't support any Nano board?