Skip to content

Commit e1c9b69

Browse files
committed
Add easy to remember alias for LL_RCC_ForceCM4Boot
1 parent acb7dc6 commit e1c9b69

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

variants/PORTENTA_H7_M7/pins_arduino.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
extern "C" unsigned int PINCOUNT_fn();
99
extern "C" bool isBetaBoard();
1010
#endif
11+
12+
// Booting
13+
// ----
14+
#define bootM4() LL_RCC_ForceCM4Boot() // Provide a memorable alias
15+
16+
17+
// Pin count
18+
// ----
1119
#define PINS_COUNT (PINCOUNT_fn())
1220
#define NUM_DIGITAL_PINS (22u)
1321
#define NUM_ANALOG_INPUTS (7u)

0 commit comments

Comments
 (0)