2019-06-25 04:42:06 +01:00
|
|
|
/* This file is part of the MicroPython project, http://micropython.org/
|
|
|
|
* The MIT License (MIT)
|
|
|
|
* Copyright (c) 2019 Damien P. George
|
|
|
|
*/
|
|
|
|
#ifndef MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
|
|
|
|
#define MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
|
2017-06-30 13:23:21 +01:00
|
|
|
|
2019-06-25 04:42:06 +01:00
|
|
|
#include "boards/stm32f4xx_hal_conf_base.h"
|
2017-06-30 13:23:21 +01:00
|
|
|
|
2019-06-25 04:42:06 +01:00
|
|
|
// Oscillator values in Hz
|
|
|
|
#define HSE_VALUE (8000000)
|
|
|
|
#define LSE_VALUE (32768)
|
|
|
|
#define EXTERNAL_CLOCK_VALUE (12288000)
|
2017-06-30 13:23:21 +01:00
|
|
|
|
2019-06-25 04:42:06 +01:00
|
|
|
// Oscillator timeouts in ms
|
|
|
|
#define HSE_STARTUP_TIMEOUT (100)
|
|
|
|
#define LSE_STARTUP_TIMEOUT (5000)
|
2017-06-30 13:23:21 +01:00
|
|
|
|
2019-06-25 04:42:06 +01:00
|
|
|
#endif // MICROPY_INCLUDED_STM32F4XX_HAL_CONF_H
|