2022-05-19 14:06:35 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
config BSP_USING_QSPIFLASH
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SOC_MIMXRT1176DVMAA
|
|
|
|
bool
|
|
|
|
select SOC_MIMXRT1170_SERIES
|
|
|
|
select BSP_USING_QSPIFLASH
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
default y
|
|
|
|
|
|
|
|
menu "On-chip Peripheral Drivers"
|
|
|
|
|
|
|
|
config BSP_USING_DMA
|
|
|
|
bool "Enable DMA"
|
|
|
|
default n
|
2022-08-14 10:06:38 +08:00
|
|
|
|
2022-05-19 14:06:35 +08:00
|
|
|
config BSP_USING_GPIO
|
|
|
|
bool "Enable GPIO"
|
|
|
|
select RT_USING_PIN
|
|
|
|
default y
|
|
|
|
|
2022-09-05 19:39:10 +08:00
|
|
|
config BSP_USING_RTC
|
|
|
|
bool "Enable RTC"
|
|
|
|
select RT_USING_RTC
|
2022-09-09 11:20:50 +08:00
|
|
|
default n
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2022-11-15 12:51:35 +08:00
|
|
|
config BSP_USING_USB
|
|
|
|
bool "Enable USB"
|
|
|
|
select RT_USING_USB_HOST
|
|
|
|
default n
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2022-11-15 12:51:35 +08:00
|
|
|
if BSP_USING_USB
|
2023-01-09 10:14:23 +08:00
|
|
|
config BSP_USB0_HOST
|
|
|
|
bool "Enable USB0"
|
|
|
|
default n
|
2022-09-09 11:20:50 +08:00
|
|
|
|
2023-01-09 10:14:23 +08:00
|
|
|
config BSP_USB1_HOST
|
|
|
|
bool "Enable USB1"
|
|
|
|
default n
|
2022-11-15 12:51:35 +08:00
|
|
|
endif
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2022-09-09 11:20:50 +08:00
|
|
|
config BSP_USING_SDIO
|
|
|
|
bool "Enable SDIO"
|
|
|
|
select RT_USING_SDIO
|
|
|
|
select RT_USING_DFS
|
2022-09-15 17:08:26 +08:00
|
|
|
default n
|
2022-09-05 19:39:10 +08:00
|
|
|
|
2022-11-08 13:49:39 +08:00
|
|
|
if BSP_USING_SDIO
|
|
|
|
config CODE_STORED_ON_SDCARD
|
|
|
|
bool "Enable Code STORED On SDCARD"
|
|
|
|
default n
|
2023-01-09 10:14:23 +08:00
|
|
|
help
|
|
|
|
"SD CARD work as boot devive"
|
2022-11-08 13:49:39 +08:00
|
|
|
endif
|
|
|
|
|
2022-05-19 14:06:35 +08:00
|
|
|
menuconfig BSP_USING_LPUART
|
|
|
|
bool "Enable UART"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default y
|
2022-08-14 10:06:38 +08:00
|
|
|
|
2022-05-19 14:06:35 +08:00
|
|
|
if BSP_USING_LPUART
|
|
|
|
config BSP_USING_LPUART1
|
|
|
|
bool "Enable LPUART1"
|
|
|
|
default y
|
|
|
|
|
2023-01-09 10:14:23 +08:00
|
|
|
config BSP_LPUART1_RX_USING_DMA
|
|
|
|
bool "Enable LPUART1 RX DMA"
|
|
|
|
depends on BSP_USING_LPUART1
|
|
|
|
select BSP_USING_DMA
|
|
|
|
select RT_SERIAL_USING_DMA
|
|
|
|
default n
|
2022-05-19 14:06:35 +08:00
|
|
|
|
2023-01-09 10:14:23 +08:00
|
|
|
config BSP_LPUART1_RX_DMA_CHANNEL
|
|
|
|
depends on BSP_LPUART1_RX_USING_DMA
|
|
|
|
int "Set LPUART1 RX DMA channel (0-32)"
|
|
|
|
default 0
|
2022-05-19 14:06:35 +08:00
|
|
|
|
|
|
|
config BSP_LPUART1_TX_USING_DMA
|
|
|
|
bool "Enable LPUART1 TX DMA"
|
|
|
|
depends on BSP_USING_LPUART1
|
|
|
|
select BSP_USING_DMA
|
|
|
|
select RT_SERIAL_USING_DMA
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_LPUART1_TX_DMA_CHANNEL
|
|
|
|
depends on BSP_LPUART1_TX_USING_DMA
|
|
|
|
int "Set LPUART1 TX DMA channel (0-32)"
|
|
|
|
default 1
|
|
|
|
|
|
|
|
config BSP_USING_LPUART3
|
|
|
|
bool "Enable LPUART3"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_LPUART3_RX_USING_DMA
|
|
|
|
bool "Enable LPUART3 RX DMA"
|
|
|
|
depends on BSP_USING_LPUART3
|
|
|
|
select BSP_USING_DMA
|
|
|
|
select RT_SERIAL_USING_DMA
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_LPUART3_RX_DMA_CHANNEL
|
|
|
|
depends on BSP_LPUART3_RX_USING_DMA
|
|
|
|
int "Set LPUART3 RX DMA channel (0-32)"
|
|
|
|
default 0
|
|
|
|
|
|
|
|
config BSP_LPUART3_TX_USING_DMA
|
|
|
|
bool "Enable LPUART3 TX DMA"
|
|
|
|
depends on BSP_USING_LPUART3
|
|
|
|
select BSP_USING_DMA
|
|
|
|
select RT_SERIAL_USING_DMA
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_LPUART3_TX_DMA_CHANNEL
|
|
|
|
depends on BSP_LPUART3_TX_USING_DMA
|
|
|
|
int "Set LPUART3 TX DMA channel (0-32)"
|
|
|
|
default 1
|
|
|
|
endif
|
2023-01-09 10:14:23 +08:00
|
|
|
|
|
|
|
menuconfig BSP_USING_CAN
|
|
|
|
bool "Enable CAN"
|
|
|
|
select RT_USING_CAN
|
|
|
|
default n
|
|
|
|
if BSP_USING_CAN
|
|
|
|
config BSP_USING_CAN3
|
|
|
|
bool "Enable FLEXCAN3"
|
|
|
|
default n
|
|
|
|
endif
|
2022-09-15 17:08:26 +08:00
|
|
|
|
|
|
|
menuconfig BSP_USING_FLEXSPI
|
2023-01-09 10:14:23 +08:00
|
|
|
bool "Enable FLEXSPI"
|
|
|
|
default n
|
|
|
|
if BSP_USING_FLEXSPI
|
|
|
|
config BSP_USING_FLEXSPI1
|
|
|
|
bool "Enable FLEXSPI1"
|
|
|
|
default n
|
2022-09-15 17:08:26 +08:00
|
|
|
config BSP_USING_FLEXSPI2
|
2023-01-09 10:14:23 +08:00
|
|
|
bool "Enable FLEXSPI2"
|
|
|
|
default n
|
|
|
|
endif
|
2022-05-19 14:06:35 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Onboard Peripheral Drivers"
|
|
|
|
|
|
|
|
config BSP_USING_SDRAM
|
|
|
|
bool "Enable SDRAM"
|
|
|
|
default n
|
|
|
|
|
2022-08-14 10:06:38 +08:00
|
|
|
menuconfig BSP_USING_ETH
|
|
|
|
bool "Enable Ethernet"
|
|
|
|
select RT_USING_NETDEV
|
|
|
|
select RT_USING_LWIP
|
|
|
|
default n
|
|
|
|
|
|
|
|
|
|
|
|
if BSP_USING_ETH
|
|
|
|
config BSP_USING_PHY
|
|
|
|
select RT_USING_PHY
|
|
|
|
bool "Enable ethernet phy"
|
|
|
|
default y
|
|
|
|
|
|
|
|
if BSP_USING_PHY
|
|
|
|
config PHY_USING_KSZ8081
|
2022-08-15 11:21:27 +08:00
|
|
|
bool "i.MX RT1176EVK uses ksz8081 phy"
|
2022-08-14 10:06:38 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
if PHY_USING_KSZ8081
|
2022-08-15 11:21:27 +08:00
|
|
|
config PHY_KSZ8081_ADDRESS
|
|
|
|
int "Specify address of phy device"
|
|
|
|
default 2
|
|
|
|
|
|
|
|
config PHY_RESET_KSZ8081_PORT
|
2022-08-14 10:06:38 +08:00
|
|
|
int "indicate port of reset"
|
|
|
|
default 6
|
|
|
|
|
2022-08-15 11:21:27 +08:00
|
|
|
config PHY_RESET_KSZ8081_PIN
|
2022-08-14 10:06:38 +08:00
|
|
|
int "indicate pin of reset"
|
|
|
|
default 12
|
|
|
|
|
|
|
|
config FSL_FEATURE_PHYKSZ8081_USE_RMII50M_MODE
|
|
|
|
bool "Enable the PHY ksz8081 RMII50M mode"
|
|
|
|
depends on PHY_USING_KSZ8081
|
|
|
|
default y
|
|
|
|
endif
|
2022-08-15 11:21:27 +08:00
|
|
|
endif
|
2022-08-14 10:06:38 +08:00
|
|
|
|
2022-08-15 11:21:27 +08:00
|
|
|
if BSP_USING_PHY
|
|
|
|
config PHY_USING_RTL8211F
|
|
|
|
bool "i.MX RT1176EVK uses rtl8211f phy"
|
|
|
|
default y
|
|
|
|
|
|
|
|
if PHY_USING_RTL8211F
|
|
|
|
config PHY_RTL8211F_ADDRESS
|
|
|
|
int "Specify address of phy device"
|
|
|
|
default 1
|
|
|
|
|
|
|
|
config PHY_RESET_RTL8211F_PORT
|
|
|
|
int "indicate port of reset"
|
2022-08-17 21:40:26 +08:00
|
|
|
default 5
|
2022-08-15 11:21:27 +08:00
|
|
|
|
|
|
|
config PHY_RESET_RTL8211F_PIN
|
|
|
|
int "indicate pin of reset"
|
|
|
|
default 14
|
|
|
|
|
|
|
|
endif
|
2022-08-14 10:06:38 +08:00
|
|
|
endif
|
|
|
|
endif
|
2022-09-09 11:20:50 +08:00
|
|
|
|
|
|
|
menuconfig BSP_USING_FS
|
|
|
|
bool "Enable File System"
|
|
|
|
select RT_USING_DFS_DEVFS
|
|
|
|
select RT_USING_DFS
|
|
|
|
default n
|
|
|
|
|
|
|
|
if BSP_USING_FS
|
|
|
|
config BSP_USING_SDCARD_FATFS
|
|
|
|
bool "Enable SDCARD (FATFS)"
|
|
|
|
select BSP_USING_SDIO
|
|
|
|
select RT_USING_DFS_ELMFAT
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
2022-05-19 14:06:35 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Board extended module Drivers"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|