2016-11-02 18:55:39 +08:00
|
|
|
# Kconfig - STM32CUBE HAL config
|
|
|
|
|
|
|
|
# Copyright (c) 2016 Linaro Limited.
|
|
|
|
#
|
2017-01-21 09:22:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-11-02 18:55:39 +08:00
|
|
|
|
|
|
|
config HAS_STM32CUBE
|
|
|
|
bool
|
|
|
|
select HAS_CMSIS
|
|
|
|
depends on SOC_FAMILY_STM32
|
2017-10-31 18:44:40 +08:00
|
|
|
|
|
|
|
if HAS_STM32CUBE
|
|
|
|
|
|
|
|
config USE_STM32_HAL_ADC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_ADC_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_CAN
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_CEC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_COMP
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_CORTEX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_CRC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_CRC_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_CRYPT
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_CRYPT_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_DAC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_DAC_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_DCMI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_DCMI_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_DFSDM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_DFSDM_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_DMA
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_DMA2D
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_DMA_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_DSI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_ETH
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_FIREWALL
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_FLASH
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_FLASH_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_FLASH_RAMFUNC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_FMPI2C
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_FMPI2C_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_GFXMMU
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_GPIO
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_GPIO_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_HASH
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_HASH_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_HCD
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_HRTIM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_I2C
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_I2C_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_I2S
|
|
|
|
bool
|
|
|
|
|
2019-02-20 16:02:46 +08:00
|
|
|
config USE_STM32_HAL_IPCC
|
|
|
|
bool
|
|
|
|
|
2017-10-31 18:44:40 +08:00
|
|
|
config USE_STM32_HAL_I2S_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_IRDA
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_IWDG
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_JPEG
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_LCD
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_LPTIM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_LTDC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_LTDC_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_MDIOS
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_MMC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_NAND
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_NOR
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_OPAMP
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_OPAMP_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_OSPI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_PCCARD
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_PCD
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_PCD_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_PWR
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_PWR_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_QSPI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_RCC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_RCC_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_RNG
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_RTC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_RTC_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SAI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SAI_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SD
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SDADC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SD_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SDRAM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SMARTCARD
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SMARTCARD_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SMBUS
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SPDIFRX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SPI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SPI_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SRAM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_SWPMI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_TIM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_TIME_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_TIM_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_TSC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_UART
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_UART_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_USART
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_USART_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_WWDG
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_ADC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_COMP
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_CRC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_CRS
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_DAC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_DMA
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_DMA2D
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_EXTI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_FMC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_FSMC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_GPIO
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_HRTIM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_I2C
|
|
|
|
bool
|
|
|
|
|
2019-02-20 16:02:46 +08:00
|
|
|
config USE_STM32_LL_IPCC
|
|
|
|
bool
|
|
|
|
|
2017-10-31 18:44:40 +08:00
|
|
|
config USE_STM32_LL_LPTIM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_LPUART
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_OPAMP
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_PWR
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_RCC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_RNG
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_RTC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_SDMMC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_SPI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_SWPMI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_TIM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_USART
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_USB
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_UTILS
|
|
|
|
bool
|
|
|
|
|
|
|
|
endif
|