I am getting the following error in code that worked 6 months ago.
Documents\Arduino\libraries\Arduino_AdvancedAnalog\src/AdvancedAnalog.h:24:25: fatal error: api/DMAPool.h: No such file or directory #include "api/DMAPool.h"
The hardware is Arduino Due. About 5 months ago we ported the program to a GIGAwifi. I have multiple versions of the Arduino Due source. I've opened each and made sure the hardware selected is Arduino Due (Native Port). They all give the same error.
Hi @billhpp. As @sterretje said, the "Arduino_AdvancedAnalog" library is specifically written for use with the Arduino boards based on the STM32H7 microcontroller (GIGA R1 Wifi and Portenta H7). It is not compatible with the Due. So the error you encountered is normal and expected.
You will need to find another solution to achieve the ADC functionality you require when using the Due. If you provide a detailed description of what you are hoping to accomplish with the Due, the forum helpers may be able to suggest a solution.
This is known good code for a production device that has been in service for 10 years with over 30 machines currently in production. The code samples from the DAC at 1mHz and finds the peak value in the array and a few other things. I opened a version that hasn't been changed since 2016 and tested it also with the same results.