2019-06-12 15:01:12 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
config BSP_USING_HYPERFLASH
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SOC_MIMXRT1052DVL6B
|
|
|
|
bool
|
|
|
|
select SOC_MIMXRT1050_SERIES
|
|
|
|
select BSP_USING_HYPERFLASH
|
2019-09-11 12:06:43 +08:00
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
2019-06-12 15:01:12 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
menu "On-chip Peripheral Drivers"
|
|
|
|
|
|
|
|
config BSP_USING_DMA
|
|
|
|
bool "Enable DMA"
|
|
|
|
default n
|
2022-08-15 11:21:27 +08:00
|
|
|
|
2019-06-12 15:01:12 +08:00
|
|
|
config BSP_USING_GPIO
|
|
|
|
bool "Enable GPIO"
|
|
|
|
select RT_USING_PIN
|
|
|
|
default y
|
|
|
|
|
|
|
|
menuconfig BSP_USING_LPUART
|
|
|
|
bool "Enable UART"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default y
|
2022-08-15 11:21:27 +08:00
|
|
|
|
2019-06-12 15:01:12 +08:00
|
|
|
if BSP_USING_LPUART
|
|
|
|
config BSP_USING_LPUART1
|
|
|
|
bool "Enable LPUART1"
|
|
|
|
default y
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
config BSP_LPUART1_RX_DMA_CHANNEL
|
|
|
|
depends on BSP_LPUART1_RX_USING_DMA
|
|
|
|
int "Set LPUART1 RX DMA channel (0-32)"
|
|
|
|
default 0
|
|
|
|
|
|
|
|
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
|
2019-09-16 18:26:37 +08:00
|
|
|
|
|
|
|
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
|
2020-01-14 16:09:11 +08:00
|
|
|
endif
|
2019-06-12 15:01:12 +08:00
|
|
|
|
2020-01-14 16:09:11 +08:00
|
|
|
menuconfig BSP_USING_I2C
|
|
|
|
bool "Enable I2C"
|
|
|
|
select RT_USING_I2C
|
|
|
|
default n
|
|
|
|
if BSP_USING_I2C
|
|
|
|
config BSP_USING_I2C1
|
|
|
|
bool "Enable I2C1"
|
|
|
|
default n
|
|
|
|
choice
|
|
|
|
prompt "Select I2C1 badurate"
|
|
|
|
default HW_I2C1_BADURATE_100kHZ
|
|
|
|
|
|
|
|
config HW_I2C1_BADURATE_100kHZ
|
|
|
|
bool "Badurate 100kHZ"
|
|
|
|
|
|
|
|
config HW_I2C1_BADURATE_400kHZ
|
|
|
|
bool "Badurate 400kHZ"
|
|
|
|
endchoice
|
|
|
|
endif
|
2019-06-12 15:01:12 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Onboard Peripheral Drivers"
|
|
|
|
|
2019-09-16 18:56:09 +08:00
|
|
|
config BSP_USING_SDRAM
|
|
|
|
bool "Enable SDRAM"
|
|
|
|
default n
|
|
|
|
|
2019-09-19 10:11:57 +08:00
|
|
|
menuconfig BSP_USING_ETH
|
2022-08-15 11:21:27 +08:00
|
|
|
bool "Enable Ethernet"
|
|
|
|
select RT_USING_NETDEV
|
|
|
|
select RT_USING_LWIP
|
|
|
|
default n
|
|
|
|
|
|
|
|
|
|
|
|
if BSP_USING_ETH
|
|
|
|
config BSP_USING_PHY
|
2020-10-12 19:11:38 +08:00
|
|
|
select RT_USING_PHY
|
2022-08-15 11:21:27 +08:00
|
|
|
bool "Enable ethernet phy"
|
|
|
|
default y
|
2019-09-19 10:11:57 +08:00
|
|
|
|
2022-08-15 11:21:27 +08:00
|
|
|
if BSP_USING_PHY
|
2020-10-12 19:11:38 +08:00
|
|
|
config PHY_DEVICE_ADDRESS
|
|
|
|
int "Specify address of phy device"
|
|
|
|
default 2
|
|
|
|
|
|
|
|
config PHY_USING_KSZ8081
|
|
|
|
bool "i.MX RT1064EVK uses ksz8081 phy"
|
|
|
|
default y
|
|
|
|
|
|
|
|
if PHY_USING_KSZ8081
|
|
|
|
config PHY_RESET_PORT
|
|
|
|
int "indicate port of reset"
|
|
|
|
default 1
|
|
|
|
|
|
|
|
config PHY_RESET_PIN
|
|
|
|
int "indicate pin of reset"
|
|
|
|
default 9
|
2022-08-15 11:21:27 +08:00
|
|
|
|
2020-10-12 19:11:38 +08:00
|
|
|
config FSL_FEATURE_PHYKSZ8081_USE_RMII50M_MODE
|
|
|
|
bool "Enable the PHY ksz8081 RMII50M mode"
|
|
|
|
depends on PHY_USING_KSZ8081
|
|
|
|
default y
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif
|
2022-08-15 11:21:27 +08:00
|
|
|
endif
|
|
|
|
|
2020-11-17 12:49:27 +08:00
|
|
|
menuconfig BSP_USING_AUDIO
|
|
|
|
bool "Enable AUDIO (WM8960)"
|
|
|
|
select BSP_USING_I2C1
|
|
|
|
select RT_USING_AUDIO
|
|
|
|
default n
|
2022-08-15 11:21:27 +08:00
|
|
|
|
2020-11-17 12:49:27 +08:00
|
|
|
if BSP_USING_AUDIO
|
|
|
|
config BSP_USING_AUDIO_PLAY
|
2020-01-14 16:09:11 +08:00
|
|
|
bool "Enable Audio Play"
|
|
|
|
default y
|
2020-11-17 12:49:27 +08:00
|
|
|
if BSP_USING_AUDIO_PLAY
|
|
|
|
config BSP_AUDIO_USING_DMA
|
|
|
|
bool "Enable AUDIO DMA"
|
|
|
|
default y
|
|
|
|
endif
|
2020-01-14 16:09:11 +08:00
|
|
|
|
2020-11-17 12:49:27 +08:00
|
|
|
config BSP_USING_AUDIO_RECORD
|
2020-01-14 16:09:11 +08:00
|
|
|
bool "Enable Audio Record"
|
|
|
|
select BSP_USING_AUDIO_PLAY
|
|
|
|
default n
|
2020-11-17 12:49:27 +08:00
|
|
|
if BSP_USING_AUDIO_RECORD
|
|
|
|
config BSP_AUDIO_USING_DMA
|
|
|
|
bool "Enable AUDIO DMA"
|
|
|
|
default n
|
2022-08-15 11:21:27 +08:00
|
|
|
endif
|
|
|
|
endif
|
2019-06-12 15:01:12 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Board extended module Drivers"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2021-05-03 09:26:45 +08:00
|
|
|
endmenu
|