[bsp][stm32] stm32f411-mini-system edit kconfig

This commit is contained in:
greedyhao 2020-02-28 17:01:57 +08:00
parent 8498a19082
commit 3ddf6c96f5
2 changed files with 17 additions and 8 deletions

View File

@ -41,14 +41,16 @@ menu "On-chip Peripheral Drivers"
depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
default n default n
config BSP_USING_UART6 if !BSP_USING_USBD
bool "Enable UART6" config BSP_USING_UART6
default n bool "Enable UART6"
default n
config BSP_UART6_RX_USING_DMA config BSP_UART6_RX_USING_DMA
bool "Enable UART6 RX DMA" bool "Enable UART6 RX DMA"
depends on BSP_USING_UART6 && RT_SERIAL_USING_DMA depends on BSP_USING_UART6 && RT_SERIAL_USING_DMA
default n default n
endif
endif endif
menuconfig BSP_USING_I2C1 menuconfig BSP_USING_I2C1
@ -108,6 +110,13 @@ menu "On-chip Peripheral Drivers"
bool "Enable on-chip FLASH" bool "Enable on-chip FLASH"
default n default n
config BSP_USING_USBD
bool "Enable USB Device"
select RT_USING_USB_DEVICE
default n
source "../libraries/HAL_Drivers/Kconfig"
endmenu endmenu
menu "Board extended module Drivers" menu "Board extended module Drivers"

View File

@ -73,7 +73,7 @@
<LExpSel>0</LExpSel> <LExpSel>0</LExpSel>
</OPTXL> </OPTXL>
<OPTFL> <OPTFL>
<tvExp>0</tvExp> <tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<IsCurrentTarget>1</IsCurrentTarget> <IsCurrentTarget>1</IsCurrentTarget>
</OPTFL> </OPTFL>