Missing DMAPool.h error in code that is know to be good

My program has the following include statement:

#include "AdvancedADC.h"

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.

I've scanned my PC for that file and can not find it for the SAM platform that supports the Due. It's available for other platforms (e.g. the Giga).

PS
I have moved your topic because it does not indicate an upload problem.

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.

If so, It seems that include "AdvancedADC.h" has changed during this years.

Disregard. I am a moron. The code was changed. I was working out of the wrong directory.

Thanks for taking the time to post an update! I hope everything is working as expected now.

Regards, Per