diff --git a/bsp/stm32/stm32l552-st-nucleo/project.uvoptx b/bsp/stm32/stm32l552-st-nucleo/project.uvoptx
index 3c54138792..2605b8b320 100644
--- a/bsp/stm32/stm32l552-st-nucleo/project.uvoptx
+++ b/bsp/stm32/stm32l552-st-nucleo/project.uvoptx
@@ -10,7 +10,7 @@
*.s*; *.src; *.a*
*.obj; *.o
*.lib
- *.txt; *.h; *.inc
+ *.txt; *.h; *.inc; *.md
*.plm
*.cpp
0
@@ -73,7 +73,7 @@
0
- 1
+ 0
0
1
@@ -182,11 +182,907 @@
- Source Group 1
+ Applications
0
0
0
0
+
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ applications\main.c
+ main.c
+ 0
+ 0
+
+
+
+
+ Compiler
+ 0
+ 0
+ 0
+ 0
+
+ 2
+ 2
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\libc\compilers\armlibc\syscall_mem.c
+ syscall_mem.c
+ 0
+ 0
+
+
+ 2
+ 3
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\libc\compilers\armlibc\syscalls.c
+ syscalls.c
+ 0
+ 0
+
+
+ 2
+ 4
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\libc\compilers\common\cctype.c
+ cctype.c
+ 0
+ 0
+
+
+ 2
+ 5
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\libc\compilers\common\cstdlib.c
+ cstdlib.c
+ 0
+ 0
+
+
+ 2
+ 6
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\libc\compilers\common\cstring.c
+ cstring.c
+ 0
+ 0
+
+
+ 2
+ 7
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\libc\compilers\common\ctime.c
+ ctime.c
+ 0
+ 0
+
+
+ 2
+ 8
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\libc\compilers\common\cunistd.c
+ cunistd.c
+ 0
+ 0
+
+
+ 2
+ 9
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\libc\compilers\common\cwchar.c
+ cwchar.c
+ 0
+ 0
+
+
+
+
+ DeviceDrivers
+ 0
+ 0
+ 0
+ 0
+
+ 3
+ 10
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\drivers\core\device.c
+ device.c
+ 0
+ 0
+
+
+ 3
+ 11
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\drivers\ipc\completion.c
+ completion.c
+ 0
+ 0
+
+
+ 3
+ 12
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\drivers\ipc\dataqueue.c
+ dataqueue.c
+ 0
+ 0
+
+
+ 3
+ 13
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\drivers\ipc\pipe.c
+ pipe.c
+ 0
+ 0
+
+
+ 3
+ 14
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\drivers\ipc\ringblk_buf.c
+ ringblk_buf.c
+ 0
+ 0
+
+
+ 3
+ 15
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\drivers\ipc\ringbuffer.c
+ ringbuffer.c
+ 0
+ 0
+
+
+ 3
+ 16
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\drivers\ipc\waitqueue.c
+ waitqueue.c
+ 0
+ 0
+
+
+ 3
+ 17
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\drivers\ipc\workqueue.c
+ workqueue.c
+ 0
+ 0
+
+
+ 3
+ 18
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\drivers\pin\pin.c
+ pin.c
+ 0
+ 0
+
+
+ 3
+ 19
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\drivers\serial\serial.c
+ serial.c
+ 0
+ 0
+
+
+
+
+ Drivers
+ 0
+ 0
+ 0
+ 0
+
+ 4
+ 20
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\HAL_Drivers\drivers\drv_gpio.c
+ drv_gpio.c
+ 0
+ 0
+
+
+ 4
+ 21
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\HAL_Drivers\drivers\drv_usart.c
+ drv_usart.c
+ 0
+ 0
+
+
+ 4
+ 22
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\HAL_Drivers\drv_common.c
+ drv_common.c
+ 0
+ 0
+
+
+ 4
+ 23
+ 2
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\CMSIS\Device\ST\STM32L5xx\Source\Templates\arm\startup_stm32l552xx.s
+ startup_stm32l552xx.s
+ 0
+ 0
+
+
+ 4
+ 24
+ 1
+ 0
+ 0
+ 0
+ board\CubeMX_Config\Src\stm32l5xx_hal_msp.c
+ stm32l5xx_hal_msp.c
+ 0
+ 0
+
+
+ 4
+ 25
+ 1
+ 0
+ 0
+ 0
+ board\board.c
+ board.c
+ 0
+ 0
+
+
+
+
+ Finsh
+ 0
+ 0
+ 0
+ 0
+
+ 5
+ 26
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\finsh\shell.c
+ shell.c
+ 0
+ 0
+
+
+ 5
+ 27
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\finsh\msh.c
+ msh.c
+ 0
+ 0
+
+
+ 5
+ 28
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\finsh\msh_parse.c
+ msh_parse.c
+ 0
+ 0
+
+
+ 5
+ 29
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\components\finsh\cmd.c
+ cmd.c
+ 0
+ 0
+
+
+
+
+ Kernel
+ 0
+ 0
+ 0
+ 0
+
+ 6
+ 30
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\src\clock.c
+ clock.c
+ 0
+ 0
+
+
+ 6
+ 31
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\src\components.c
+ components.c
+ 0
+ 0
+
+
+ 6
+ 32
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\src\idle.c
+ idle.c
+ 0
+ 0
+
+
+ 6
+ 33
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\src\ipc.c
+ ipc.c
+ 0
+ 0
+
+
+ 6
+ 34
+ 1
+ 0
+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
+ 0
+ 0
+
+
+ 7
+ 48
+ 2
+ 0
+ 0
+ 0
+ ..\..\..\libcpu\arm\cortex-m33\syscall_rvds.S
+ syscall_rvds.S
+ 0
+ 0
+
+
+ 7
+ 49
+ 1
+ 0
+ 0
+ 0
+ ..\..\..\libcpu\arm\cortex-m33\trustzone.c
+ trustzone.c
+ 0
+ 0
+
+
+
+
+ Libraries
+ 0
+ 0
+ 0
+ 0
+
+ 8
+ 50
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_pwr.c
+ stm32l5xx_hal_pwr.c
+ 0
+ 0
+
+
+ 8
+ 51
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_dma_ex.c
+ stm32l5xx_hal_dma_ex.c
+ 0
+ 0
+
+
+ 8
+ 52
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_gpio.c
+ stm32l5xx_hal_gpio.c
+ 0
+ 0
+
+
+ 8
+ 53
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_rcc_ex.c
+ stm32l5xx_hal_rcc_ex.c
+ 0
+ 0
+
+
+ 8
+ 54
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_usart.c
+ stm32l5xx_hal_usart.c
+ 0
+ 0
+
+
+ 8
+ 55
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_uart_ex.c
+ stm32l5xx_hal_uart_ex.c
+ 0
+ 0
+
+
+ 8
+ 56
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_pwr_ex.c
+ stm32l5xx_hal_pwr_ex.c
+ 0
+ 0
+
+
+ 8
+ 57
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_cryp.c
+ stm32l5xx_hal_cryp.c
+ 0
+ 0
+
+
+ 8
+ 58
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_usart_ex.c
+ stm32l5xx_hal_usart_ex.c
+ 0
+ 0
+
+
+ 8
+ 59
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_exti.c
+ stm32l5xx_hal_exti.c
+ 0
+ 0
+
+
+ 8
+ 60
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\CMSIS\Device\ST\STM32L5xx\Source\Templates\system_stm32l5xx.c
+ system_stm32l5xx.c
+ 0
+ 0
+
+
+ 8
+ 61
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_cortex.c
+ stm32l5xx_hal_cortex.c
+ 0
+ 0
+
+
+ 8
+ 62
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal.c
+ stm32l5xx_hal.c
+ 0
+ 0
+
+
+ 8
+ 63
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_rcc.c
+ stm32l5xx_hal_rcc.c
+ 0
+ 0
+
+
+ 8
+ 64
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_dma.c
+ stm32l5xx_hal_dma.c
+ 0
+ 0
+
+
+ 8
+ 65
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_uart.c
+ stm32l5xx_hal_uart.c
+ 0
+ 0
+
+
+ 8
+ 66
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_comp.c
+ stm32l5xx_hal_comp.c
+ 0
+ 0
+
+
+ 8
+ 67
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_rng.c
+ stm32l5xx_hal_rng.c
+ 0
+ 0
+
+
+ 8
+ 68
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_crc.c
+ stm32l5xx_hal_crc.c
+ 0
+ 0
+
+
+ 8
+ 69
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_crc_ex.c
+ stm32l5xx_hal_crc_ex.c
+ 0
+ 0
+
+
+ 8
+ 70
+ 1
+ 0
+ 0
+ 0
+ ..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_cryp_ex.c
+ stm32l5xx_hal_cryp_ex.c
+ 0
+ 0
+
diff --git a/bsp/stm32/stm32l552-st-nucleo/project.uvprojx b/bsp/stm32/stm32l552-st-nucleo/project.uvprojx
index fb664f841a..65806aef5b 100644
--- a/bsp/stm32/stm32l552-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32l552-st-nucleo/project.uvprojx
@@ -1,13 +1,16 @@
+
2.1
+
### uVision Project, (C) Keil Software
+
rt-thread
0x4
ARM-ADS
- 5060750::V5.06 update 6 (build 750)::ARMCC
+ 6190000::V6.19::ARMCLANG
1
@@ -16,28 +19,28 @@
Keil.STM32L5xx_DFP.1.3.0
http://www.keil.com/pack/
IRAM(0x20000000,0x00040000) IRAM2(0x30000000,0x00040000) IROM(0x08000000,0x00080000) IROM2(0x0C000000,0x00080000) CPUTYPE("Cortex-M33") FPU3(SFPU) DSP TZ CLOCK(12000000) ELITTLE
-
-
+
+
UL2V8M(-S0 -C0 -P0 -FD20000000 -FC1000 -FN2 -FF0STM32L5x_512_0C00 -FS0C000000 -FL080000 -FF1STM32L5x_512_0800 -FS18000000 -FL180000 -FP0($$Device:STM32L552ZETxQ$CMSIS\Flash\STM32L5x_512_0C00.FLM) -FP1($$Device:STM32L552ZETxQ$CMSIS\Flash\STM32L5x_512_0800.FLM))
0
$$Device:STM32L552ZETxQ$Drivers\CMSIS\Device\ST\STM32L5xx\Include\stm32l5xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32L552ZETxQ$CMSIS\SVD\STM32L552.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -59,8 +62,8 @@
0
0
-
-
+
+
0
0
0
@@ -69,8 +72,8 @@
0
0
-
-
+
+
0
0
0
@@ -80,14 +83,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -101,15 +104,15 @@
0
0
3
-
-
+
+
1
-
-
-
-
+
+
+
+
SARMV8M.DLL
-MPU
TCM.DLL
@@ -135,11 +138,11 @@
1
BIN\UL2V8M.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -172,7 +175,7 @@
0
0
"Cortex-M33"
-
+
0
0
0
@@ -183,6 +186,7 @@
2
0
0
+ 0
1
1
8
@@ -277,8 +281,8 @@
1
- 0x0
- 0x0
+ 0xc000000
+ 0x80000
0
@@ -302,11 +306,11 @@
0
- 0x0
- 0x0
+ 0x30000000
+ 0x40000
-
+
1
@@ -333,10 +337,10 @@
0
0
-
+
STM32L552xx, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_HAL_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
-
- ..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension;..\libraries\STM32L5xx_HAL\CMSIS\Device\ST\STM32L5xx\Include;..\libraries\HAL_Drivers\CMSIS\Include;..\libraries\HAL_Drivers\config;.;..\libraries\HAL_Drivers;..\..\..\components\libc\compilers\common\include;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m33;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;board;board\CubeMX_Config\Inc;..\..\..\components\libc\posix\io\eventfd;..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Inc;applications;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\epoll;..\..\..\components\finsh
+
+ ..\libraries\STM32L5xx_HAL\CMSIS\Device\ST\STM32L5xx\Include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\eventfd;..\..\..\include;..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Inc;..\..\..\components\drivers\include;..\..\..\components\finsh;board;..\libraries\HAL_Drivers\drivers;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m33;..\libraries\HAL_Drivers\drivers\config;applications;..\..\..\libcpu\arm\common;..\libraries\HAL_Drivers;board\CubeMX_Config\Inc;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\io\poll;.;..\..\..\components\libc\posix\ipc;..\libraries\HAL_Drivers\CMSIS\Include;..\..\..\components\drivers\include
@@ -349,12 +353,12 @@
0
0
0
- 4
+ 3
-
-
-
-
+
+
+
+
@@ -366,13 +370,13 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
@@ -395,50 +399,36 @@
1
..\..\..\components\libc\compilers\armlibc\syscall_mem.c
-
-
syscalls.c
1
..\..\..\components\libc\compilers\armlibc\syscalls.c
-
-
cctype.c
1
..\..\..\components\libc\compilers\common\cctype.c
-
-
cstdlib.c
1
..\..\..\components\libc\compilers\common\cstdlib.c
-
-
cstring.c
1
..\..\..\components\libc\compilers\common\cstring.c
-
-
ctime.c
1
..\..\..\components\libc\compilers\common\ctime.c
-
-
cunistd.c
1
..\..\..\components\libc\compilers\common\cunistd.c
-
-
cwchar.c
1
@@ -446,58 +436,6 @@
-
- CPU
-
-
- atomic_arm.c
- 1
- ..\..\..\libcpu\arm\common\atomic_arm.c
-
-
-
-
- div0.c
- 1
- ..\..\..\libcpu\arm\common\div0.c
-
-
-
-
- showmem.c
- 1
- ..\..\..\libcpu\arm\common\showmem.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m33\context_rvds.S
-
-
-
-
- cpuport.c
- 1
- ..\..\..\libcpu\arm\cortex-m33\cpuport.c
-
-
-
-
- syscall_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m33\syscall_rvds.S
-
-
-
-
- trustzone.c
- 1
- ..\..\..\libcpu\arm\cortex-m33\trustzone.c
-
-
-
DeviceDrivers
@@ -505,110 +443,592 @@
device.c
1
..\..\..\components\drivers\core\device.c
+
+
+ 2
+ 0
+ 0
+ 0
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 3
+
+
+ 1
+
+
+
+ 2
+ 0
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 0
+ 2
+ 2
+ 2
+ 2
+ 2
+ 0
+ 0
+ 2
+ 2
+ 2
+ 2
+ 2
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
-
-
completion.c
1
..\..\..\components\drivers\ipc\completion.c
+
+
+ 2
+ 0
+ 0
+ 0
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 3
+
+
+ 1
+
+
+
+ 2
+ 0
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 0
+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2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 0
+ 2
+ 2
+ 2
+ 2
+ 2
+ 0
+ 0
+ 2
+ 2
+ 2
+ 2
+ 2
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
Drivers
+
+ drv_gpio.c
+ 1
+ ..\libraries\HAL_Drivers\drivers\drv_gpio.c
+
+
+ drv_usart.c
+ 1
+ ..\libraries\HAL_Drivers\drivers\drv_usart.c
+
drv_common.c
1
..\libraries\HAL_Drivers\drv_common.c
-
-
-
- drv_gpio.c
- 1
- ..\libraries\HAL_Drivers\drv_gpio.c
-
-
-
-
- drv_usart.c
- 1
- ..\libraries\HAL_Drivers\drv_usart.c
-
-
-
startup_stm32l552xx.s
2
..\libraries\STM32L5xx_HAL\CMSIS\Device\ST\STM32L5xx\Source\Templates\arm\startup_stm32l552xx.s
-
-
stm32l5xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32l5xx_hal_msp.c
-
-
board.c
1
@@ -624,22 +1044,16 @@
1
..\..\..\components\finsh\shell.c
-
-
msh.c
1
..\..\..\components\finsh\msh.c
-
-
msh_parse.c
1
..\..\..\components\finsh\msh_parse.c
-
-
cmd.c
1
@@ -654,83 +1068,769 @@
clock.c
1
..\..\..\src\clock.c
+
+
+ 2
+ 0
+ 0
+ 0
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 3
+
+
+ 1
+
+
+
+ 2
+ 0
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 0
+ 2
+ 2
+ 2
+ 2
+ 2
+ 0
+ 0
+ 2
+ 2
+ 2
+ 2
+ 2
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
-
-
components.c
1
..\..\..\src\components.c
+
+
+ 2
+ 0
+ 0
+ 0
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 3
+
+
+ 1
+
+
+
+ 2
+ 0
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
+ 2
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+ ..\..\..\libcpu\arm\cortex-m33\cpuport.c
+
+
+ syscall_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m33\syscall_rvds.S
+
+
+ trustzone.c
+ 1
+ ..\..\..\libcpu\arm\cortex-m33\trustzone.c
@@ -742,141 +1842,101 @@
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_pwr.c
-
-
stm32l5xx_hal_dma_ex.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_dma_ex.c
-
-
stm32l5xx_hal_gpio.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_gpio.c
-
-
stm32l5xx_hal_rcc_ex.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_rcc_ex.c
-
-
stm32l5xx_hal_usart.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_usart.c
-
-
stm32l5xx_hal_uart_ex.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_uart_ex.c
-
-
stm32l5xx_hal_pwr_ex.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_pwr_ex.c
-
-
stm32l5xx_hal_cryp.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_cryp.c
-
-
stm32l5xx_hal_usart_ex.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_usart_ex.c
-
-
stm32l5xx_hal_exti.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_exti.c
-
-
system_stm32l5xx.c
1
..\libraries\STM32L5xx_HAL\CMSIS\Device\ST\STM32L5xx\Source\Templates\system_stm32l5xx.c
-
-
stm32l5xx_hal_cortex.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_cortex.c
-
-
stm32l5xx_hal.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal.c
-
-
stm32l5xx_hal_rcc.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_rcc.c
-
-
stm32l5xx_hal_dma.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_dma.c
-
-
stm32l5xx_hal_uart.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_uart.c
-
-
stm32l5xx_hal_comp.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_comp.c
-
-
stm32l5xx_hal_rng.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_rng.c
-
-
stm32l5xx_hal_crc.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_crc.c
-
-
stm32l5xx_hal_crc_ex.c
1
..\libraries\STM32L5xx_HAL\STM32L5xx_HAL_Driver\Src\stm32l5xx_hal_crc_ex.c
-
-
stm32l5xx_hal_cryp_ex.c
1
@@ -887,23 +1947,21 @@
+
-
-
-
+
+
+
+
<Project Info>
-
-
-
-
-
0
1
+
diff --git a/bsp/stm32/stm32l552-st-nucleo/rtconfig.h b/bsp/stm32/stm32l552-st-nucleo/rtconfig.h
index 63290e1643..5b9c2a8a4c 100644
--- a/bsp/stm32/stm32l552-st-nucleo/rtconfig.h
+++ b/bsp/stm32/stm32l552-st-nucleo/rtconfig.h
@@ -4,9 +4,12 @@
/* Automatically generated file; DO NOT EDIT. */
/* RT-Thread Configuration */
+#define BOARD_STM32L552_NUCLEO
+
/* RT-Thread Kernel */
#define RT_NAME_MAX 8
+#define RT_CPUS_NR 1
#define RT_ALIGN_SIZE 8
#define RT_THREAD_PRIORITY_32
#define RT_THREAD_PRIORITY_MAX 32
@@ -38,14 +41,12 @@
#define RT_USING_SMALL_MEM
#define RT_USING_SMALL_MEM_AS_HEAP
#define RT_USING_HEAP
-
-/* Kernel Device Object */
-
#define RT_USING_DEVICE
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 256
#define RT_CONSOLE_DEVICE_NAME "lpuart1"
-#define RT_VER_NUM 0x50002
+#define RT_VER_NUM 0x50100
+#define RT_BACKTRACE_LEVEL_MAX_NR 32
#define RT_USING_HW_ATOMIC
#define RT_USING_CPU_FFS
#define ARCH_ARM
@@ -112,6 +113,9 @@
/* Network */
+/* Memory protection */
+
+
/* Utilities */
@@ -233,6 +237,7 @@
#define SOC_FAMILY_STM32
#define SOC_SERIES_STM32L5
+#define BOARD_SERIES_STM32_NUCLEO_144
/* Hardware Drivers Config */
diff --git a/bsp/stm32/stm32l552-st-nucleo/template.uvoptx b/bsp/stm32/stm32l552-st-nucleo/template.uvoptx
index 3c54138792..f7b4704302 100644
--- a/bsp/stm32/stm32l552-st-nucleo/template.uvoptx
+++ b/bsp/stm32/stm32l552-st-nucleo/template.uvoptx
@@ -10,7 +10,7 @@
*.s*; *.src; *.a*
*.obj; *.o
*.lib
- *.txt; *.h; *.inc
+ *.txt; *.h; *.inc; *.md
*.plm
*.cpp
0
@@ -73,7 +73,7 @@
0
- 1
+ 0
0
1
diff --git a/bsp/stm32/stm32l552-st-nucleo/template.uvprojx b/bsp/stm32/stm32l552-st-nucleo/template.uvprojx
index baa2ffd389..67651b3fef 100644
--- a/bsp/stm32/stm32l552-st-nucleo/template.uvprojx
+++ b/bsp/stm32/stm32l552-st-nucleo/template.uvprojx
@@ -186,6 +186,7 @@
2
0
0
+ 0
1
1
8
@@ -280,8 +281,8 @@
1
- 0x0
- 0x0
+ 0xc000000
+ 0x80000
0
@@ -305,8 +306,8 @@
0
- 0x0
- 0x0
+ 0x30000000
+ 0x40000
@@ -352,7 +353,7 @@
0
0
0
- 4
+ 3
@@ -397,11 +398,6 @@
<Project Info>
-
-
-
-
-
0
1