| 1 |
#include "boards/NUCLEO_H743ZI/mpconfigboard.h" |
| 2 |
|
| 3 |
#undef MICROPY_HW_BOARD_NAME |
| 4 |
#define MICROPY_HW_BOARD_NAME "NUCLEO_H743ZI2" |
| 5 |
|
| 6 |
// The board has an external 32kHz crystal attached |
| 7 |
#undef MICROPY_HW_RTC_USE_LSE |
| 8 |
#define MICROPY_HW_RTC_USE_LSE (1) |
| 9 |
|
| 10 |
// There is no external HS crystal. |
| 11 |
// JP1 STLNK_RST will disable the incoming 8MHz clock |
| 12 |
// since it is derived from the STLINK's MCO output |
| 13 |
#undef MICROPY_HW_CLK_USE_BYPASS |
| 14 |
#define MICROPY_HW_CLK_USE_BYPASS (1) |
| 15 |
|
| 16 |
#undef MICROPY_HW_LED2 |
| 17 |
#define MICROPY_HW_LED2 (pin_E1) // yellow |
| 18 |
|
| 19 |
// only when mboot is used |
| 20 |
// Define the user button for entering mboot |
| 21 |
#if defined(USE_MBOOT) |
| 22 |
#define MBOOT_BOOTPIN_PIN (pin_C13) |
| 23 |
#define MBOOT_BOOTPIN_PULL (MP_HAL_PIN_PULL_DOWN) |
| 24 |
#define MBOOT_BOOTPIN_ACTIVE (1) |
| 25 |
#endif |