Skip to content

Commit 70909a3

Browse files
committed
Fix: "ARDUINO_PORTENTA_H7_M4" was replaced by "ARDUINO_GENERIC_STM32H747_M4" for Arduino Portenta H7 / M4 core.
Since the previous define ("ARDUINO_PORTENTA_H7_M7") no longer exists, the #ifdef is not evaluated leading to a compilation error when compiling this library for the M4 core of the Arduino Portenta H7.
1 parent f2985db commit 70909a3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea/

src/Common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1515
*/
1616

17-
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4)
17+
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_GENERIC_STM32H747_M4)
1818
#define RESET _RESET
1919
#endif
2020

0 commit comments

Comments
 (0)