yd-pyboard/YD-PYBV11/stm32f4xx_hal_conf.h

16 lines
408 B
C
Raw Permalink Normal View History

2024-02-07 23:32:33 +08:00
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
// Oscillator values in Hz
#define HSE_VALUE (12000000)
#define LSE_VALUE (32768)
#define EXTERNAL_CLOCK_VALUE (12288000)
// Oscillator timeouts in ms
#define HSE_STARTUP_TIMEOUT (100)
#define LSE_STARTUP_TIMEOUT (5000)
#include "boards/stm32f4xx_hal_conf_base.h"
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H