From 0f9a4fa032217e8f537b2d9365dbb239e5a7fec8 Mon Sep 17 00:00:00 2001 From: Shell Date: Sun, 23 Jun 2024 21:28:26 +0800 Subject: [PATCH] fixup: building failure in bsp cause by hal (#9086) fixup: hal --- bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/SConstruct | 4 ++-- .../stm32l431-tencentos-tiny-EVB_MX+/board/Kconfig | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/SConstruct b/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/SConstruct index b0c451de58..02c7aa4726 100644 --- a/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/SConstruct +++ b/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/SConstruct @@ -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' diff --git a/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/Kconfig b/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/Kconfig index c82d1c5907..cea70caaf6 100644 --- a/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/Kconfig +++ b/bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/Kconfig @@ -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