Open reubens308 opened 3 years ago
As per @janjongboom on Edge Impulse forum the library "need a target that supports a C++11 compiler". Another issue is that 8kb of SRAM on Mage 2560 is not enough to run Edge Impulse inference. You may need to try on a bit more powerful MCU like Arduino Nano 33 BLE or other development boards as per their documentation.
I have used Arduino Mega to run this project. But the code doesnt compile. it falls on an error as shown below. I feel its a library issue, but I have set up the libraries asper the requirements.
In file included from E:\Users\sreu1\Documents\Arduino\libraries\EI_Deployed_Library\src/edge-impulse-sdk/dsp/spectral/spectral.hpp:27:0, from E:\Users\sreu1\Documents\Arduino\libraries\EI_Deployed_Library\src/edge-impulse-sdk/classifier/ei_run_dsp.h:27, from E:\Users\sreu1\Documents\Arduino\libraries\EI_Deployed_Library\src/edge-impulse-sdk/classifier/ei_run_classifier.h:30, from E:\Users\sreu1\Documents\Arduino\libraries\EI_Deployed_Library\src/ecg_analyzer_inference.h:41, from E:\Users\sreu1\Downloads\ECGAnalyzer-main\ECGAnalyzer-main\ECGAnalyzer\ECGAnalyzer\EI_Deployed_Library\examples\ECGAnalyzer\ECGAnalyzer.ino:9: E:\Users\sreu1\Documents\Arduino\libraries\EI_Deployed_Library\src/edge-impulse-sdk/dsp/spectral/processing.hpp:26:10: fatal error: vector: No such file or directory
include vector
compilation terminated. exit status 1 Error compiling for board Arduino Mega or Mega 2560.