Skip to content

Commit 0f9a4fa

Browse files
authored
fixup: building failure in bsp cause by hal (RT-Thread#9086)
fixup: hal
1 parent fa2d806 commit 0f9a4fa

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/SConstruct

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ else:
88
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
99

1010
# set RTT_ROOT
11-
if not os.getenv("RTT_ROOT"):
11+
if not os.getenv("RTT_ROOT"):
1212
RTT_ROOT="rt-thread"
1313

1414
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
@@ -39,7 +39,7 @@ Export('env')
3939
Export('RTT_ROOT')
4040
Export('rtconfig')
4141

42-
SDK_ROOT = os.path.abspath('./')
42+
SDK_ROOT = os.path.abspath('../')
4343

4444
if os.path.exists(SDK_ROOT + '/libraries'):
4545
libraries_path_prefix = SDK_ROOT + '/libraries'

bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/Kconfig

+5-5
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ menu "On-chip Peripheral Drivers"
3636
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
3737
default n
3838
endif
39-
39+
4040
menuconfig BSP_USING_ADC
4141
bool "Enable ADC"
4242
default n
@@ -87,19 +87,19 @@ menu "On-chip Peripheral Drivers"
8787
bool "Enable SPI3 BUS(WAN Interface)"
8888
default n
8989
endif
90-
90+
9191
config BSP_USING_QSPI_FLASH
9292
bool "Enable QSPI FLASH (NAND Flash 8MB)"
9393
select BSP_USING_QSPI
9494
select RT_USING_SFUD
9595
select RT_SFUD_USING_SFDP
96-
default n
96+
default n
9797

9898
config BSP_USING_SDCARD
9999
bool "Enable SDCARD (sdio)"
100100
select BSP_USING_SDIO
101101
default n
102-
102+
103103
menuconfig BSP_USING_I2C1
104104
bool "Enable I2C1 BUS (software simulation)"
105105
default n
@@ -117,7 +117,7 @@ menu "On-chip Peripheral Drivers"
117117
default 25
118118
endif
119119

120-
rsource "../libraries/HAL_Drivers/drivers/Kconfig"
120+
rsource "../../libraries/HAL_Drivers/drivers/Kconfig"
121121

122122
endmenu
123123

0 commit comments

Comments
 (0)