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
|
|
|
|
|
2019-06-26 23:57:43 +08:00
|
|
|
config USE_STM32_HAL_EXTI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_FDCAN
|
|
|
|
bool
|
|
|
|
|
2017-10-31 18:44:40 +08:00
|
|
|
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
|
|
|
|
|
2019-06-26 23:57:43 +08:00
|
|
|
config USE_STM32_HAL_HSEM
|
|
|
|
bool
|
|
|
|
|
2017-10-31 18:44:40 +08:00
|
|
|
config USE_STM32_HAL_I2C
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_I2C_EX
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_I2S
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_HAL_I2S_EX
|
|
|
|
bool
|
|
|
|
|
2019-02-25 18:44:41 +08:00
|
|
|
config USE_STM32_HAL_IPCC
|
|
|
|
bool
|
|
|
|
|
2017-10-31 18:44:40 +08:00
|
|
|
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
|
|
|
|
|
2019-06-26 23:57:43 +08:00
|
|
|
config USE_STM32_HAL_MDMA
|
|
|
|
bool
|
|
|
|
|
2017-10-31 18:44:40 +08:00
|
|
|
config USE_STM32_HAL_MMC
|
|
|
|
bool
|
|
|
|
|
2019-06-26 23:57:43 +08:00
|
|
|
config USE_STM32_HAL_MMC_EX
|
|
|
|
bool
|
|
|
|
|
2017-10-31 18:44:40 +08:00
|
|
|
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
|
|
|
|
|
2019-06-26 23:57:43 +08:00
|
|
|
config USE_STM32_HAL_RAMECC
|
|
|
|
bool
|
|
|
|
|
2017-10-31 18:44:40 +08:00
|
|
|
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
|
|
|
|
|
2019-05-27 17:26:33 +08:00
|
|
|
config USE_STM32_HAL_SD_EX
|
2017-10-31 18:44:40 +08:00
|
|
|
bool
|
|
|
|
|
2019-05-27 17:26:33 +08:00
|
|
|
config USE_STM32_HAL_SDADC
|
2017-10-31 18:44:40 +08:00
|
|
|
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_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
|
|
|
|
|
2019-06-26 23:57:43 +08:00
|
|
|
config USE_STM32_LL_BDMA
|
|
|
|
bool
|
|
|
|
|
2017-10-31 18:44:40 +08:00
|
|
|
config USE_STM32_LL_COMP
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_CRC
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_CRS
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USE_STM32_LL_DAC
|
|
|
|
bool
|
|
|
|
|
2019-06-26 23:57:43 +08:00
|
|
|
config USE_STM32_LL_DELAYBLOCK
|
|
|
|
bool
|
|
|
|
|
2017-10-31 18:44:40 +08:00
|
|
|
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
|
|
|
|
|
2019-06-26 23:57:43 +08:00
|
|
|
config USE_STM32_LL_MDMA
|
|
|
|
bool
|
|
|
|
|
2017-10-31 18:44:40 +08:00
|
|
|
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
|
|
|
|
|
2019-09-06 23:05:46 +08:00
|
|
|
endif # HAS_STM32CUBE
|