fixup: building failure in bsp cause by hal (#9086)

fixup: hal
This commit is contained in:
Shell 2024-06-23 21:28:26 +08:00 committed by GitHub
parent fa2d80679e
commit 0f9a4fa032
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ else:
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
# set RTT_ROOT
if not os.getenv("RTT_ROOT"):
if not os.getenv("RTT_ROOT"):
RTT_ROOT="rt-thread"
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
@ -39,7 +39,7 @@ Export('env')
Export('RTT_ROOT')
Export('rtconfig')
SDK_ROOT = os.path.abspath('./')
SDK_ROOT = os.path.abspath('../')
if os.path.exists(SDK_ROOT + '/libraries'):
libraries_path_prefix = SDK_ROOT + '/libraries'

View File

@ -36,7 +36,7 @@ menu "On-chip Peripheral Drivers"
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
default n
endif
menuconfig BSP_USING_ADC
bool "Enable ADC"
default n
@ -87,19 +87,19 @@ menu "On-chip Peripheral Drivers"
bool "Enable SPI3 BUS(WAN Interface)"
default n
endif
config BSP_USING_QSPI_FLASH
bool "Enable QSPI FLASH (NAND Flash 8MB)"
select BSP_USING_QSPI
select RT_USING_SFUD
select RT_SFUD_USING_SFDP
default n
default n
config BSP_USING_SDCARD
bool "Enable SDCARD (sdio)"
select BSP_USING_SDIO
default n
menuconfig BSP_USING_I2C1
bool "Enable I2C1 BUS (software simulation)"
default n
@ -117,7 +117,7 @@ menu "On-chip Peripheral Drivers"
default 25
endif
rsource "../libraries/HAL_Drivers/drivers/Kconfig"
rsource "../../libraries/HAL_Drivers/drivers/Kconfig"
endmenu