Arduino: Build errors (lots of) with Teensy 3.x (Arduino IDE 1.8.7 + Teensyduino 1.44)
Hello, just purchased an Arduino Mini Module 2MP to use with my Teensy 3.2 and 3.6 boards.
I’m using your latest library (https://github.com/ArduCAM/Arduino) and trying to build this example https://github.com/ArduCAM/Arduino/tree/master/ArduCAM/examples/mini/ArduCAM_Mini_2MP_OV2640_functions
I already edited “memorysaver.h” to define (only) the 2mp Mini module.
I use Arduino IDE v1.8.7 and latest Teensyduino add-on v1.44, but when I select a Teensy 3.2 or 3.6 board and try to build the sketch, I get many errors, for example:
`In file included from d:\temp\arduino_modified_sketch_232629\ArduCAM_Mini_2MP_OV2640_functions.ino:11:0:
F:\Arduino\libraries\ArduCAM/ArduCAM.h:713:2: error: ‘regtype’ does not name a type
regtype *P_CS;
^
F:\Arduino\libraries\ArduCAM/ArduCAM.h:714:2: error: ‘regsize’ does not name a type
regsize B_CS;
^
ArduCAM_Mini_2MP_OV2640_functions: In function ‘void loop()’: ArduCAM_Mini_2MP_OV2640_functions:471: warning: unused variable ‘temp_last’ uint8_t temp, temp_last;
^
Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire Using library ArduCAM in folder: F:\Arduino\libraries\ArduCAM (legacy) Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SPI Error compiling for board Teensy 3.2 / 3.1. `
It looks like the patches proposed by “sumotoy” to get Arducam library work with Teensy were reverted, and Teensy does not work anymore?
About this issue
- Original URL
- State: open
- Created 6 years ago
- Comments: 18 (6 by maintainers)
@XFer012 What’s the main chip type of your teensy and I plan to buy one.
@XFer012 Hi, I have updated the ArduCAM library code to support teensyduino , please download the new library to try.