Skip to content

Commit 9593747

Browse files
authored
Provide error message when trying to compile this library for the M4 core. (#22)
1 parent dc7bc69 commit 9593747

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Arduino_AdvancedAnalog.h

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
* INCLUDE
2525
**************************************************************************************/
2626

27+
#ifdef ARDUINO_PORTENTA_H7_M4
28+
# error "This library on works on the M7 core of any STM32H747 based board (Portenta H7, Giga, X8)."
29+
#endif
30+
2731
#include "AdvancedADC.h"
2832
#include "AdvancedDAC.h"
2933

0 commit comments

Comments
 (0)