I'm trying to use an example (CameraCaptureRawBytes) from an Arduino library (Arduino_OV767X) but when trying to upload it to a board this error appears.
Any idea how to fix this?
Overflow in constant expression
WARNING: library Arduino_OV767X claims to run on mbed architecture(s) and may be incompatible with your current board which runs on avr architecture(s).
CameraCaptureRawBytes:35:20: error: overflow in constant expression
byte data[320 * 240 * 2]; // QVGA: 320x240 X 2 bytes per pixel (RGB565)