Skip to content

Commit 6371234

Browse files
authored
Fix: "ARDUINO_PORTENTA_H7_M4" was replaced by "ARDUINO_GENERIC_STM32H747_M4" for Arduino Portenta H7 / M4 core. (#64)
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 6371234

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea/

src/Common.h

+1-1
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)