Skip to content

Commit

Permalink
修正Kconfig配置
Browse files Browse the repository at this point in the history
  • Loading branch information
QT-one committed Jan 13, 2025
1 parent c038fa3 commit 6fc7d0d
Show file tree
Hide file tree
Showing 15 changed files with 586 additions and 574 deletions.
4 changes: 2 additions & 2 deletions bsp/ht32/ht32f12366/.config
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
# rt_vsscanf options
#
CONFIG_RT_KLIBC_USING_LIBC_VSSCANF=y
# CONFIG_RT_KLIBC_USING_LIBC_VSSCANF is not set
# end of rt_vsscanf options

#
Expand Down Expand Up @@ -1276,7 +1276,7 @@ CONFIG_SOC_HT32F12366=y
#
# Onboard Peripheral Drivers
#
CONFIG_BSP_USING_TEST=y
# CONFIG_BSP_USING_TEST is not set
# end of Onboard Peripheral Drivers

#
Expand Down
10 changes: 5 additions & 5 deletions bsp/ht32/ht32f12366/board/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ menu "On-chip Peripheral Drivers"
if BSP_USING_UART
config BSP_USING_USART0
bool "Enable USART0"
default y
default n
config BSP_USING_USART0_NAME
depends on BSP_USING_USART0
string "usart0 bus name"
Expand Down Expand Up @@ -168,7 +168,7 @@ menu "On-chip Peripheral Drivers"
if BSP_USING_SPI
config BSP_USING_SPI0
bool "Enable SPI0 Bus"
default y
default n
config BSP_USING_SPI0_NAME
depends on BSP_USING_SPI0
string "spi0 bus name"
Expand All @@ -189,12 +189,12 @@ menu "On-chip Peripheral Drivers"
if BSP_USING_I2C
menuconfig BSP_USING_I2C_HW
bool "Enable I2C Bus(hardware)"
default y
default n
select RT_USING_I2C if BSP_USING_I2C_HW
if BSP_USING_I2C_HW
config BSP_USING_I2C0_HW
bool "Enable Hardware I2C0 Bus"
default y
default n
config BSP_USING_I2C0_HW_NAME
depends on BSP_USING_I2C0_HW
string "hardware i2c0 name"
Expand Down Expand Up @@ -282,7 +282,7 @@ menu "On-chip Peripheral Drivers"
if BSP_USING_ADC
config BSP_USING_ADC0
bool "Enable ADC0"
default y
default n
config BSP_USING_ADC0_NAME
depends on BSP_USING_ADC0
string "adc0 device name"
Expand Down
Loading

0 comments on commit 6fc7d0d

Please sign in to comment.