1if BSP_USING_USBD
2    config BSP_USBD_TYPE_FS
3        bool
4        # "USB Full Speed (FS) Core"
5    config BSP_USBD_TYPE_HS
6        bool
7        # "USB High Speed (HS) Core"
8
9    config BSP_USBD_SPEED_HS
10        bool
11        # "USB High Speed (HS) Mode"
12    config BSP_USBD_SPEED_HSINFS
13        bool
14        # "USB High Speed (HS) Core in FS mode"
15
16    config BSP_USBD_PHY_EMBEDDED
17        bool
18        # "Using Embedded phy interface"
19    config BSP_USBD_PHY_UTMI
20        bool
21        # "UTMI: USB 2.0 Transceiver Macrocell Interace"
22    config BSP_USBD_PHY_ULPI
23        bool
24        # "ULPI: UTMI+ Low Pin Interface"
25endif
26
27config BSP_USING_CRC
28    bool "Enable CRC (CRC-32 0x04C11DB7 Polynomial)"
29    select RT_USING_HWCRYPTO
30    select RT_HWCRYPTO_USING_CRC
31    # "Crypto device frame dose not support above 8-bits granularity"
32    # "Reserve progress, running well, about 32-bits granularity, such as stm32f1, stm32f4"
33    depends on (SOC_SERIES_STM32L4 || SOC_SERIES_STM32F0 || SOC_SERIES_STM32F7 || SOC_SERIES_STM32H7 || SOC_SERIES_STM32MP1)
34    default n
35
36config BSP_USING_RNG
37    bool "Enable RNG (Random Number Generator)"
38    select RT_USING_HWCRYPTO
39    select RT_HWCRYPTO_USING_RNG
40    depends on (SOC_SERIES_STM32L4 || SOC_SERIES_STM32F4 || SOC_SERIES_STM32F7 || \
41                SOC_SERIES_STM32H7 || SOC_SERIES_STM32MP1)
42    default n
43
44config BSP_USING_HASH
45    bool "Enable HASH (Hash House Harriers)"
46    select RT_USING_HWCRYPTO
47    select RT_HWCRYPTO_USING_HASH
48    depends on (SOC_SERIES_STM32MP1)
49    default n
50
51config BSP_USING_CRYP
52    bool "Enable CRYP (Encrypt And Decrypt Data)"
53    select RT_USING_HWCRYPTO
54    select RT_HWCRYPTO_USING_CRYP
55    depends on (SOC_SERIES_STM32MP1)
56    default n
57
58config BSP_USING_UDID
59    bool "Enable UDID (Unique Device Identifier)"
60    select RT_USING_HWCRYPTO
61    default n
62
63