| 1 |
/* This file is part of the MicroPython project, http://micropython.org/ |
| 2 |
* The MIT License (MIT) |
| 3 |
* Copyright (c) 2019 Damien P. George |
| 4 |
*/ |
| 5 |
#ifndef MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H |
| 6 |
#define MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H |
| 7 |
|
| 8 |
// Oscillator values in Hz |
| 9 |
#define HSE_VALUE (24000000) |
| 10 |
#define LSE_VALUE (32768) |
| 11 |
#define EXTERNAL_CLOCK_VALUE (12288000) |
| 12 |
|
| 13 |
// Oscillator timeouts in ms |
| 14 |
#define HSE_STARTUP_TIMEOUT (5000) |
| 15 |
#define LSE_STARTUP_TIMEOUT (5000) |
| 16 |
|
| 17 |
#include "boards/stm32h7xx_hal_conf_base.h" |
| 18 |
|
| 19 |
#endif // MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H |