Skip to content

Commit

Permalink
Fix: "ARDUINO_PORTENTA_H7_M4" was replaced by "ARDUINO_GENERIC_STM32H…
Browse files Browse the repository at this point in the history
…747_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.
  • Loading branch information
aentinger committed Feb 19, 2024
1 parent f2985db commit 70909a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/
2 changes: 1 addition & 1 deletion src/Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4)
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_GENERIC_STM32H747_M4)
#define RESET _RESET
#endif

Expand Down

0 comments on commit 70909a3

Please sign in to comment.