diff --git a/src/Arduino_AdvancedAnalog.h b/src/Arduino_AdvancedAnalog.h index f654650..a4fadbd 100644 --- a/src/Arduino_AdvancedAnalog.h +++ b/src/Arduino_AdvancedAnalog.h @@ -24,6 +24,10 @@ * INCLUDE **************************************************************************************/ +#ifdef ARDUINO_PORTENTA_H7_M4 +# error "This library on works on the M7 core of any STM32H747 based board (Portenta H7, Giga, X8)." +#endif + #include "AdvancedADC.h" #include "AdvancedDAC.h"