2019-10-27 21:06:27 +08:00
|
|
|
if BSP_USING_USBD
|
|
|
|
config BSP_USBD_TYPE_FS
|
|
|
|
bool
|
|
|
|
# "USB Full Speed (FS) Core"
|
|
|
|
config BSP_USBD_TYPE_HS
|
|
|
|
bool
|
|
|
|
# "USB High Speed (HS) Core"
|
|
|
|
|
|
|
|
config BSP_USBD_SPEED_HS
|
2023-01-09 10:14:23 +08:00
|
|
|
bool
|
2019-10-27 21:06:27 +08:00
|
|
|
# "USB High Speed (HS) Mode"
|
|
|
|
config BSP_USBD_SPEED_HSINFS
|
2023-01-09 10:14:23 +08:00
|
|
|
bool
|
2019-10-27 21:06:27 +08:00
|
|
|
# "USB High Speed (HS) Core in FS mode"
|
|
|
|
|
|
|
|
config BSP_USBD_PHY_EMBEDDED
|
2023-01-09 10:14:23 +08:00
|
|
|
bool
|
2019-10-27 21:06:27 +08:00
|
|
|
# "Using Embedded phy interface"
|
|
|
|
config BSP_USBD_PHY_UTMI
|
2023-01-09 10:14:23 +08:00
|
|
|
bool
|
2019-10-27 21:06:27 +08:00
|
|
|
# "UTMI: USB 2.0 Transceiver Macrocell Interace"
|
|
|
|
config BSP_USBD_PHY_ULPI
|
2023-01-09 10:14:23 +08:00
|
|
|
bool
|
2019-10-27 21:06:27 +08:00
|
|
|
# "ULPI: UTMI+ Low Pin Interface"
|
|
|
|
endif
|
2019-07-10 18:40:01 +08:00
|
|
|
|
|
|
|
config BSP_USING_CRC
|
2019-07-12 09:37:26 +08:00
|
|
|
bool "Enable CRC (CRC-32 0x04C11DB7 Polynomial)"
|
2019-07-10 18:40:01 +08:00
|
|
|
select RT_USING_HWCRYPTO
|
|
|
|
select RT_HWCRYPTO_USING_CRC
|
2019-07-12 16:54:15 +08:00
|
|
|
# "Crypto device frame dose not support above 8-bits granularity"
|
|
|
|
# "Reserve progress, running well, about 32-bits granularity, such as stm32f1, stm32f4"
|
2020-06-20 14:04:27 +08:00
|
|
|
depends on (SOC_SERIES_STM32L4 || SOC_SERIES_STM32F0 || SOC_SERIES_STM32F7 || SOC_SERIES_STM32H7 || SOC_SERIES_STM32MP1)
|
2023-01-09 10:14:23 +08:00
|
|
|
default n
|
2019-07-10 18:40:01 +08:00
|
|
|
|
|
|
|
config BSP_USING_RNG
|
2019-07-12 09:37:26 +08:00
|
|
|
bool "Enable RNG (Random Number Generator)"
|
2019-07-10 18:40:01 +08:00
|
|
|
select RT_USING_HWCRYPTO
|
|
|
|
select RT_HWCRYPTO_USING_RNG
|
|
|
|
depends on (SOC_SERIES_STM32L4 || SOC_SERIES_STM32F4 || SOC_SERIES_STM32F7 || \
|
2020-06-20 14:04:27 +08:00
|
|
|
SOC_SERIES_STM32H7 || SOC_SERIES_STM32MP1)
|
2019-07-10 18:40:01 +08:00
|
|
|
default n
|
2020-11-26 14:29:41 +08:00
|
|
|
|
|
|
|
config BSP_USING_HASH
|
|
|
|
bool "Enable HASH (Hash House Harriers)"
|
|
|
|
select RT_USING_HWCRYPTO
|
|
|
|
select RT_HWCRYPTO_USING_HASH
|
|
|
|
depends on (SOC_SERIES_STM32MP1)
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_CRYP
|
|
|
|
bool "Enable CRYP (Encrypt And Decrypt Data)"
|
|
|
|
select RT_USING_HWCRYPTO
|
|
|
|
select RT_HWCRYPTO_USING_CRYP
|
|
|
|
depends on (SOC_SERIES_STM32MP1)
|
|
|
|
default n
|
|
|
|
|
2019-07-10 18:40:01 +08:00
|
|
|
config BSP_USING_UDID
|
2019-07-12 09:37:26 +08:00
|
|
|
bool "Enable UDID (Unique Device Identifier)"
|
2019-07-10 18:40:01 +08:00
|
|
|
select RT_USING_HWCRYPTO
|
|
|
|
default n
|
|
|
|
|