Debian Codegraph @

ports/stm32/boards/ARDUINO_NICLA_VISION/stm32h7xx_hal_conf.h

raw
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 (25000000)
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 #define DATA_CACHE_ENABLE 1
18 #define INSTRUCTION_CACHE_ENABLE 1
19 #define PREFETCH_ENABLE 1
20 #define USE_RTOS 0
21
22 #define HAL_HSEM_MODULE_ENABLED
23 #define HAL_JPEG_MODULE_ENABLED
24 #define HAL_LPTIM_MODULE_ENABLED
25 #define HAL_LTDC_MODULE_ENABLED
26 #define HAL_MDIOS_MODULE_ENABLED
27 #define HAL_MDMA_MODULE_ENABLED
28 #define HAL_MMC_MODULE_ENABLED
29 #define HAL_NAND_MODULE_ENABLED
30 #define HAL_OPAMP_MODULE_ENABLED
31 #define HAL_QSPI_MODULE_ENABLED
32 #define HAL_RNG_MODULE_ENABLED
33 #define HAL_SAI_MODULE_ENABLED
34 #define HAL_SMBUS_MODULE_ENABLED
35 #define HAL_SPDIFRX_MODULE_ENABLED
36 #define HAL_SRAM_MODULE_ENABLED
37 #define HAL_SWPMI_MODULE_ENABLED
38
39 #ifdef HAL_HSEM_MODULE_ENABLED
40 #include "stm32h7xx_hal_hsem.h"
41 #endif
42
43 #ifdef HAL_MMC_MODULE_ENABLED
44 #include "stm32h7xx_hal_mmc.h"
45 #endif
46
47 #include "boards/stm32h7xx_hal_conf_base.h"
48
49 #endif // MICROPY_INCLUDED_STM32H7XX_HAL_CONF_H