diff --git a/bsp/lpc176x/project.ewp b/bsp/lpc176x/project.ewp
index 5b6109ab5fa93f2f94a001d7ad0cd0f50d5e5e56..cc30279eaefd8c36fcf05ab635550381728c7615 100644
--- a/bsp/lpc176x/project.ewp
+++ b/bsp/lpc176x/project.ewp
@@ -155,6 +155,7 @@
@@ -354,7 +355,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -1248,6 +1248,7 @@
CCDefines
STM32F103xE
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1386,7 +1387,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -2065,60 +2065,60 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\applications\nrf24l01_init.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
- $PROJ_DIR$\applications\nrf24l01_init.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2143,70 +2143,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
@@ -2234,9 +2228,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-dofly-M3S/project.uvproj b/bsp/stm32/stm32f103-dofly-M3S/project.uvproj
index 2e50f0389c00c9021c4ec3f6a089e21963d54386..d4f956b09248b101035402dd424b9a60044fc568 100644
--- a/bsp/stm32/stm32f103-dofly-M3S/project.uvproj
+++ b/bsp/stm32/stm32f103-dofly-M3S/project.uvproj
@@ -371,9 +371,9 @@
0
- USE_HAL_DRIVER, STM32F103xE
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F103xE
- .;..\..\..\include;applications;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -415,120 +415,123 @@
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
- components.c
+ nrf24l01_init.c
1
- ..\..\..\src\components.c
+ applications\nrf24l01_init.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -578,156 +581,132 @@
- cpu
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
+ finsh
- div0.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\shell.c
- showmem.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\cmd.c
- cpuport.c
+ msh.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ ..\..\..\components\finsh\msh.c
- DeviceDrivers
-
-
- pin.c
- 1
- ..\..\..\components\drivers\misc\pin.c
-
-
+ Kernel
- serial.c
+ clock.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\clock.c
- completion.c
+ components.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\components.c
- dataqueue.c
+ device.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\device.c
- pipe.c
+ idle.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\idle.c
- ringblk_buf.c
+ ipc.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\ipc.c
- ringbuffer.c
+ irq.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\irq.c
- waitqueue.c
+ kservice.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\kservice.c
- workqueue.c
+ mem.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\mem.c
-
-
- finsh
- shell.c
+ mempool.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\mempool.c
- symbol.c
+ object.c
1
- ..\..\..\components\finsh\symbol.c
+ ..\..\..\src\object.c
- cmd.c
+ scheduler.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\scheduler.c
- msh.c
+ signal.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\signal.c
- msh_cmd.c
+ thread.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\thread.c
- msh_file.c
+ timer.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
@@ -791,13 +770,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
-
stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-dofly-M3S/project.uvprojx b/bsp/stm32/stm32f103-dofly-M3S/project.uvprojx
index da0c64405648a51f48105edae5566684f388b82e..097329f35e46b75474f1da2c82e6fda9d1e2a3e4 100644
--- a/bsp/stm32/stm32f103-dofly-M3S/project.uvprojx
+++ b/bsp/stm32/stm32f103-dofly-M3S/project.uvprojx
@@ -333,9 +333,9 @@
0
- USE_HAL_DRIVER, STM32F103xE
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F103xE
- .;..\..\..\include;applications;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -377,127 +377,123 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
- cpu.c
+ nrf24l01_init.c
1
- ..\..\..\src\cpu.c
+ applications\nrf24l01_init.c
+
+
+ CPU
- device.c
+ backtrace.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- idle.c
+ div0.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\div0.c
- ipc.c
+ showmem.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\common\showmem.c
- irq.c
+ cpuport.c
1
- ..\..\..\src\irq.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- kservice.c
- 1
- ..\..\..\src\kservice.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- mem.c
+ pin.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\misc\pin.c
- mempool.c
+ serial.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\serial\serial.c
- object.c
+ completion.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\completion.c
- scheduler.c
+ dataqueue.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\dataqueue.c
- signal.c
+ pipe.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\pipe.c
- thread.c
+ ringblk_buf.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- timer.c
+ ringbuffer.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\ringbuffer.c
-
-
- Applications
- main.c
+ waitqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\waitqueue.c
- nrf24l01_init.c
+ workqueue.c
1
- applications\nrf24l01_init.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -547,135 +543,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
@@ -739,13 +732,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
-
stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-dofly-lyc8/project.ewp b/bsp/stm32/stm32f103-dofly-lyc8/project.ewp
index 5c991640e39aedf2f37569be8cae43cb1b07fbfd..efa2606ae37ff916d0c4f417d22ced115c10a980 100644
--- a/bsp/stm32/stm32f103-dofly-lyc8/project.ewp
+++ b/bsp/stm32/stm32f103-dofly-lyc8/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32F103xB
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -362,7 +363,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -1269,6 +1269,7 @@
CCDefines
STM32F103xB
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1406,7 +1407,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -2089,57 +2089,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2164,70 +2164,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
@@ -2255,9 +2249,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-dofly-lyc8/project.uvopt b/bsp/stm32/stm32f103-dofly-lyc8/project.uvopt
index f19fcdc1cb0b0111cea4b9cbebbea4811af20ad7..7946319ef93db8bc541b3471e1621191e6ad0d99 100644
--- a/bsp/stm32/stm32f103-dofly-lyc8/project.uvopt
+++ b/bsp/stm32/stm32f103-dofly-lyc8/project.uvopt
@@ -13,7 +13,6 @@
*.txt; *.h; *.inc
*.plm
*.cpp
- 0
@@ -32,7 +31,6 @@
1
1
0
- 0
1
@@ -98,9 +96,10 @@
0
1
1
+ 0
0
0
- 3
+ 6
@@ -157,739 +156,7 @@
- 0
-
-
- 0
-
- Applications
- 0
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 2
- 2
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 2
- 3
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
- stm32f1xx_hal_msp.c
- 0
- 0
-
-
- 2
- 4
- 2
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
- startup_stm32f103xb.s
- 0
- 0
-
-
- 2
- 5
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 2
- 6
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 2
- 7
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- Kernel
- 0
- 0
- 0
- 0
-
- 3
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 3
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 3
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\cpu.c
- cpu.c
- 0
- 0
-
-
- 3
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 3
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 3
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 3
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 3
- 15
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 3
- 16
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 3
- 22
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- CORTEX-M3
- 0
- 0
- 0
- 0
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 24
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 27
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\symbol.c
- symbol.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_cmd.c
- msh_cmd.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_file.c
- msh_file.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 7
- 43
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
- system_stm32f1xx.c
- 0
- 0
-
-
- 7
- 44
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c
- stm32f1xx_hal_dma.c
- 0
- 0
-
-
- 7
- 45
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c
- stm32f1xx_hal_cortex.c
- 0
- 0
-
-
- 7
- 46
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_crc.c
- stm32f1xx_hal_crc.c
- 0
- 0
-
-
- 7
- 47
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c
- stm32f1xx_hal_pwr.c
- 0
- 0
-
-
- 7
- 48
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c
- stm32f1xx_hal_rcc.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c
- stm32f1xx_hal_rcc_ex.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c
- stm32f1xx_hal.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
- stm32f1xx_hal_cec.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
- stm32f1xx_hal_sram.c
- 0
- 0
-
-
- 7
- 53
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
- stm32f1xx_hal_gpio.c
- 0
- 0
-
-
- 7
- 54
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c
- stm32f1xx_hal_gpio_ex.c
- 0
- 0
-
-
- 7
- 55
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c
- stm32f1xx_hal_uart.c
- 0
- 0
-
-
- 7
- 56
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_usart.c
- stm32f1xx_hal_usart.c
- 0
- 0
-
-
-
diff --git a/bsp/stm32/stm32f103-dofly-lyc8/project.uvproj b/bsp/stm32/stm32f103-dofly-lyc8/project.uvproj
index 9fffc5ef30f3376c1e5704565d30c9a40efb8e70..1b7ef8dd9ef49e787d705d612e69762eef8eb7b6 100644
--- a/bsp/stm32/stm32f103-dofly-lyc8/project.uvproj
+++ b/bsp/stm32/stm32f103-dofly-lyc8/project.uvproj
@@ -1,10 +1,7 @@
-
1.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -15,26 +12,26 @@
STM32F103RB
STMicroelectronics
IRAM(0x20000000-0x20004FFF) IROM(0x8000000-0x801FFFF) CLOCK(8000000) CPUTYPE("Cortex-M3")
-
+
"STARTUP\ST\STM32F10x\startup_stm32f10x_md.s" ("STM32 Medium Density Line Startup Code")
UL2CM3(-O14 -S0 -C0 -N00("ARM Cortex-M3") -D00(1BA00477) -L00(4) -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000)
4231
stm32f10x.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
SFD\ST\STM32F1xx\STM32F103xx.sfr
0
0
-
-
-
+
+
+
ST\STM32F10x\
ST\STM32F10x\
@@ -58,8 +55,8 @@
0
0
-
-
+
+
0
0
0
@@ -68,25 +65,21 @@
0
0
-
-
+
+
0
0
- 0
- 0
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
- 0
- 0
0
-
+
0
@@ -100,17 +93,17 @@
0
0
3
-
-
+
+
1
SARMCM3.DLL
-
+
DARMSTM.DLL
-pSTM32F103RB
SARMCM3.DLL
-
+
TARMSTM.DLL
-pSTM32F103RB
@@ -145,22 +138,23 @@
1
0
1
+ 0
0
- 3
+ 6
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
Segger\JL2CM3.dll
@@ -175,11 +169,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -212,7 +206,7 @@
0
0
"Cortex-M3"
-
+
0
0
0
@@ -227,7 +221,6 @@
0
0
0
- 0
3
3
0
@@ -344,7 +337,7 @@
0x0
-
+
1
@@ -362,17 +355,11 @@
0
1
0
- 1
- 1
- 1
- 1
- 0
- 0
-
- STM32F103xB, USE_HAL_DRIVER
-
- applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m3;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+
+ STM32F103xB, USE_HAL_DRIVER, __RTTHREAD__
+
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -386,10 +373,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -401,13 +388,13 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
-
-
+
+
+
+
+
@@ -423,303 +410,366 @@
- Drivers
+ CPU
- board.c
+ backtrace.c
1
- board\board.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- stm32f1xx_hal_msp.c
+ div0.c
1
- board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
- startup_stm32f103xb.s
- 2
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- drv_gpio.c
+ showmem.c
1
- ..\libraries\HAL_Drivers\drv_gpio.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- drv_usart.c
+ cpuport.c
1
- ..\libraries\HAL_Drivers\drv_usart.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+
+
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
- Kernel
+ DeviceDrivers
- clock.c
+ pin.c
1
- ..\..\..\src\clock.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- components.c
+ serial.c
1
- ..\..\..\src\components.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- cpu.c
+ completion.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- device.c
+ dataqueue.c
1
- ..\..\..\src\device.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- idle.c
+ pipe.c
1
- ..\..\..\src\idle.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
- ipc.c
+ ringblk_buf.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
- irq.c
+ ringbuffer.c
1
- ..\..\..\src\irq.c
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
- kservice.c
+ waitqueue.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\src\waitqueue.c
+
+
- mem.c
+ workqueue.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\src\workqueue.c
+
+
+
+ Drivers
+
- mempool.c
+ board.c
1
- ..\..\..\src\mempool.c
+ board\board.c
+
+
- object.c
+ stm32f1xx_hal_msp.c
1
- ..\..\..\src\object.c
+ board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
+ startup_stm32f103xb.s
+ 2
+ ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
+
+
- signal.c
+ drv_gpio.c
1
- ..\..\..\src\signal.c
+ ..\libraries\HAL_Drivers\drv_gpio.c
+
+
- thread.c
+ drv_usart.c
1
- ..\..\..\src\thread.c
+ ..\libraries\HAL_Drivers\drv_usart.c
+
+
- timer.c
+ drv_common.c
1
- ..\..\..\src\timer.c
+ ..\libraries\HAL_Drivers\drv_common.c
- CORTEX-M3
+ finsh
- cpuport.c
- 1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
-
-
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
+
+
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
+
+
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- pin.c
- 1
- ..\..\..\components\drivers\misc\pin.c
-
-
- serial.c
+ clock.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\clock.c
+
+
- completion.c
+ components.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\components.c
+
+
- dataqueue.c
+ device.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\device.c
+
+
- pipe.c
+ idle.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\idle.c
+
+
- ringblk_buf.c
+ ipc.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\ipc.c
+
+
- ringbuffer.c
+ irq.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\irq.c
+
+
- waitqueue.c
+ kservice.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\kservice.c
+
+
- workqueue.c
+ mem.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\mem.c
-
-
- finsh
- shell.c
+ mempool.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\mempool.c
+
+
- symbol.c
+ object.c
1
- ..\..\..\components\finsh\symbol.c
+ ..\..\..\src\object.c
+
+
- cmd.c
+ scheduler.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\scheduler.c
+
+
- msh.c
+ signal.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\signal.c
+
+
- msh_cmd.c
+ thread.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\thread.c
+
+
- msh_file.c
+ timer.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
1
..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
+
+
stm32f1xx_hal_dma.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c
+
+
stm32f1xx_hal_cortex.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c
+
+
stm32f1xx_hal_crc.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_crc.c
+
+
stm32f1xx_hal_pwr.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c
+
+
stm32f1xx_hal_rcc.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c
+
+
stm32f1xx_hal_rcc_ex.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c
+
+
stm32f1xx_hal.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c
+
+
stm32f1xx_hal_cec.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
+
+
stm32f1xx_hal_gpio.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
+
+
stm32f1xx_hal_gpio_ex.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c
+
+
stm32f1xx_hal_uart.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c
+
+
stm32f1xx_hal_usart.c
1
@@ -730,5 +780,4 @@
-
diff --git a/bsp/stm32/stm32f103-dofly-lyc8/project.uvprojx b/bsp/stm32/stm32f103-dofly-lyc8/project.uvprojx
index d2333b7920be65c9e18d1b902256270737861807..a7c862baf771937e992360e3231c3f74b75a72b3 100644
--- a/bsp/stm32/stm32f103-dofly-lyc8/project.uvprojx
+++ b/bsp/stm32/stm32f103-dofly-lyc8/project.uvprojx
@@ -329,9 +329,9 @@
0
- STM32F103xB, USE_HAL_DRIVER
+ STM32F103xB, USE_HAL_DRIVER, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -372,120 +372,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -535,135 +531,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
@@ -727,13 +720,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
-
stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-fire-arbitrary/project.ewp b/bsp/stm32/stm32f103-fire-arbitrary/project.ewp
index 0403a7dc9b8d8dc3249974a45c8ad1f93faf1edb..0125f84f8e74be5e44d1c97f78397ef32b0c158a 100644
--- a/bsp/stm32/stm32f103-fire-arbitrary/project.ewp
+++ b/bsp/stm32/stm32f103-fire-arbitrary/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F103xE
+ __RTTHREAD__
RT_USING_DLIBC
USE_HAL_DRIVER
@@ -1250,6 +1251,7 @@
CCDefines
STM32F103xE
+ __RTTHREAD__
RT_USING_DLIBC
USE_HAL_DRIVER
@@ -2069,60 +2071,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\memheap.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2147,63 +2146,63 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\memheap.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2211,9 +2210,6 @@
$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
-
-
- dlib
$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
@@ -2249,7 +2245,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
@@ -2277,9 +2273,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-fire-arbitrary/project.uvproj b/bsp/stm32/stm32f103-fire-arbitrary/project.uvproj
index 035380edc583b0b0c689f9eb92bd87f5b9ea3fa7..a232cd71f06dcd202c374d1dd14a8a18dd0c079d 100644
--- a/bsp/stm32/stm32f103-fire-arbitrary/project.uvproj
+++ b/bsp/stm32/stm32f103-fire-arbitrary/project.uvproj
@@ -357,9 +357,9 @@
0
- USE_HAL_DRIVER, RT_USING_ARM_LIBC, STM32F103xE
+ USE_HAL_DRIVER, RT_USING_ARM_LIBC, __RTTHREAD__, STM32F103xE
- applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m3;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -392,7 +392,7 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
+
@@ -410,167 +410,28 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f1xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
-
-
- startup_stm32f103xe.s
- 2
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xe.s
-
-
-
-
- drv_gpio.c
- 1
- ..\libraries\HAL_Drivers\drv_gpio.c
-
-
-
-
- drv_usart.c
- 1
- ..\libraries\HAL_Drivers\drv_usart.c
-
-
-
-
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
-
-
- components.c
- 1
- ..\..\..\src\components.c
-
-
-
-
- cpu.c
- 1
- ..\..\..\src\cpu.c
-
-
-
-
- device.c
- 1
- ..\..\..\src\device.c
-
-
-
-
- idle.c
- 1
- ..\..\..\src\idle.c
-
-
-
-
- ipc.c
- 1
- ..\..\..\src\ipc.c
-
-
-
-
- irq.c
- 1
- ..\..\..\src\irq.c
-
-
-
-
- kservice.c
- 1
- ..\..\..\src\kservice.c
-
-
-
-
- mem.c
- 1
- ..\..\..\src\mem.c
-
-
-
-
- memheap.c
- 1
- ..\..\..\src\memheap.c
-
-
-
-
- mempool.c
- 1
- ..\..\..\src\mempool.c
-
-
-
-
- object.c
- 1
- ..\..\..\src\object.c
-
-
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
+ CPU
- signal.c
+ backtrace.c
1
- ..\..\..\src\signal.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- thread.c
+ div0.c
1
- ..\..\..\src\thread.c
+ ..\..\..\libcpu\arm\common\div0.c
- timer.c
+ showmem.c
1
- ..\..\..\src\timer.c
+ ..\..\..\libcpu\arm\common\showmem.c
-
-
- CORTEX-M3
cpuport.c
@@ -585,27 +446,6 @@
..\..\..\libcpu\arm\cortex-m3\context_rvds.S
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
-
-
- div0.c
- 1
- ..\..\..\libcpu\arm\common\div0.c
-
-
-
-
- showmem.c
- 1
- ..\..\..\libcpu\arm\common\showmem.c
-
-
DeviceDrivers
@@ -674,270 +514,262 @@
- finsh
+ Drivers
- shell.c
+ board.c
1
- ..\..\..\components\finsh\shell.c
+ board\board.c
- symbol.c
+ stm32f1xx_hal_msp.c
1
- ..\..\..\components\finsh\symbol.c
+ board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
+ startup_stm32f103xe.s
+ 2
+ ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xe.s
- msh.c
+ drv_gpio.c
1
- ..\..\..\components\finsh\msh.c
+ ..\libraries\HAL_Drivers\drv_gpio.c
- msh_cmd.c
+ drv_usart.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\libraries\HAL_Drivers\drv_usart.c
- msh_file.c
+ drv_common.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\libraries\HAL_Drivers\drv_common.c
- libc
-
-
- libc.c
- 1
- ..\..\..\components\libc\compilers\armlibc\libc.c
-
-
-
-
- mem_std.c
- 1
- ..\..\..\components\libc\compilers\armlibc\mem_std.c
-
-
+ finsh
- stubs.c
+ shell.c
1
- ..\..\..\components\libc\compilers\armlibc\stubs.c
+ ..\..\..\components\finsh\shell.c
- time.c
+ cmd.c
1
- ..\..\..\components\libc\compilers\armlibc\time.c
+ ..\..\..\components\finsh\cmd.c
- gmtime_r.c
+ msh.c
1
- ..\..\..\components\libc\compilers\common\gmtime_r.c
+ ..\..\..\components\finsh\msh.c
- STM32_HAL
+ Kernel
- system_stm32f1xx.c
+ clock.c
1
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
+ ..\..\..\src\clock.c
- stm32f1xx_hal_adc.c
+ components.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_adc.c
+ ..\..\..\src\components.c
- stm32f1xx_hal_adc_ex.c
+ device.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_adc_ex.c
+ ..\..\..\src\device.c
- stm32f1xx_hal_gpio.c
+ idle.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
+ ..\..\..\src\idle.c
- stm32f1xx_hal_gpio_ex.c
+ ipc.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c
+ ..\..\..\src\ipc.c
- stm32f1xx_hal_flash.c
+ irq.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash.c
+ ..\..\..\src\irq.c
- stm32f1xx_hal_flash_ex.c
+ kservice.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash_ex.c
+ ..\..\..\src\kservice.c
- stm32f1xx_hal_dma.c
+ mem.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c
+ ..\..\..\src\mem.c
- stm32f1xx_hal_cortex.c
+ memheap.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c
+ ..\..\..\src\memheap.c
- stm32f1xx_hal_crc.c
+ mempool.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_crc.c
+ ..\..\..\src\mempool.c
- stm32f1xx_hal_i2c.c
+ object.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_i2c.c
+ ..\..\..\src\object.c
- stm32f1xx_hal_irda.c
+ scheduler.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_irda.c
+ ..\..\..\src\scheduler.c
- stm32f1xx_hal_iwdg.c
+ signal.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_iwdg.c
+ ..\..\..\src\signal.c
- stm32f1xx_hal_pwr.c
+ thread.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c
+ ..\..\..\src\thread.c
- stm32f1xx_hal_rcc.c
+ timer.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c
+ ..\..\..\src\timer.c
+
+
+ libc
- stm32f1xx_hal_rcc_ex.c
+ libc.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c
+ ..\..\..\components\libc\compilers\armlibc\libc.c
- stm32f1xx_hal_rtc.c
+ mem_std.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rtc.c
+ ..\..\..\components\libc\compilers\armlibc\mem_std.c
- stm32f1xx_hal_rtc_ex.c
+ stubs.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rtc_ex.c
+ ..\..\..\components\libc\compilers\armlibc\stubs.c
- stm32f1xx_hal_smartcard.c
+ time.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_smartcard.c
+ ..\..\..\components\libc\compilers\common\time.c
+
+
+ Libraries
- stm32f1xx_hal_spi.c
+ system_stm32f1xx.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_spi.c
+ ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
- stm32f1xx_hal_spi_ex.c
+ stm32f1xx_hal_dma.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_spi_ex.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c
- stm32f1xx_hal_tim.c
+ stm32f1xx_hal_cortex.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c
- stm32f1xx_hal_tim_ex.c
+ stm32f1xx_hal_crc.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_crc.c
- stm32f1xx_hal_uart.c
+ stm32f1xx_hal_pwr.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c
- stm32f1xx_hal_usart.c
+ stm32f1xx_hal_rcc.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_usart.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c
- stm32f1xx_hal_wwdg.c
+ stm32f1xx_hal_rcc_ex.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_wwdg.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c
@@ -947,125 +779,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c
-
-
- stm32f1xx_ll_adc.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_adc.c
-
-
-
-
- stm32f1xx_ll_crc.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_crc.c
-
-
-
-
- stm32f1xx_ll_dac.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_dac.c
-
-
-
-
- stm32f1xx_ll_dma.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_dma.c
-
-
-
-
- stm32f1xx_ll_exti.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_exti.c
-
-
-
-
- stm32f1xx_ll_fsmc.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_fsmc.c
-
-
-
-
- stm32f1xx_ll_gpio.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_gpio.c
-
-
-
-
- stm32f1xx_ll_i2c.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_i2c.c
-
-
-
-
- stm32f1xx_ll_pwr.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_pwr.c
-
-
-
-
- stm32f1xx_ll_rcc.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_rcc.c
-
-
-
-
- stm32f1xx_ll_rtc.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_rtc.c
-
-
-
-
- stm32f1xx_ll_sdmmc.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_sdmmc.c
-
-
-
-
- stm32f1xx_ll_spi.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_spi.c
-
-
-
-
- stm32f1xx_ll_tim.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_tim.c
-
-
-
-
- stm32f1xx_ll_usart.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_usart.c
-
-
-
-
- stm32f1xx_ll_usb.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_usb.c
-
-
-
-
- stm32f1xx_ll_utils.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_utils.c
-
-
stm32f1xx_hal_cec.c
@@ -1075,100 +788,30 @@
- stm32f1xx_hal_can.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_can.c
-
-
-
-
- stm32f1xx_hal_dac.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dac.c
-
-
-
-
- stm32f1xx_hal_dac_ex.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dac_ex.c
-
-
-
-
- stm32f1xx_hal_eth.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_eth.c
-
-
-
-
- stm32f1xx_hal_hcd.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_hcd.c
-
-
-
-
- stm32f1xx_hal_i2s.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_i2s.c
-
-
-
-
- stm32f1xx_hal_mmc.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_mmc.c
-
-
-
-
- stm32f1xx_hal_sd.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sd.c
-
-
-
-
- stm32f1xx_hal_nand.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_nand.c
-
-
-
-
- stm32f1xx_hal_pccard.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pccard.c
-
-
-
-
- stm32f1xx_hal_nor.c
+ stm32f1xx_hal_gpio.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_nor.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
- stm32f1xx_hal_sram.c
+ stm32f1xx_hal_gpio_ex.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c
- stm32f1xx_hal_pcd.c
+ stm32f1xx_hal_uart.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pcd.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c
- stm32f1xx_hal_pcd_ex.c
+ stm32f1xx_hal_usart.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pcd_ex.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_usart.c
diff --git a/bsp/stm32/stm32f103-fire-arbitrary/project.uvprojx b/bsp/stm32/stm32f103-fire-arbitrary/project.uvprojx
index 12b0122716de83c15c0defdb72f8dd24ae6ae07d..ea093faa8732b4435798a08037dc3d9ac84e93cf 100644
--- a/bsp/stm32/stm32f103-fire-arbitrary/project.uvprojx
+++ b/bsp/stm32/stm32f103-fire-arbitrary/project.uvprojx
@@ -332,9 +332,9 @@
0
- USE_HAL_DRIVER, RT_USING_ARM_LIBC, STM32F103xE
+ USE_HAL_DRIVER, RT_USING_ARM_LIBC, __RTTHREAD__, STM32F103xE
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -376,127 +376,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
-
-
- components.c
- 1
- ..\..\..\src\components.c
-
-
+ Applications
- cpu.c
+ main.c
1
- ..\..\..\src\cpu.c
+ applications\main.c
+
+
+ CPU
- device.c
+ backtrace.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- idle.c
+ div0.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\div0.c
- ipc.c
+ showmem.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\common\showmem.c
- irq.c
+ cpuport.c
1
- ..\..\..\src\irq.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- kservice.c
- 1
- ..\..\..\src\kservice.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- mem.c
+ pin.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\misc\pin.c
- memheap.c
+ serial.c
1
- ..\..\..\src\memheap.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -546,130 +535,134 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ memheap.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\memheap.c
- waitqueue.c
+ mempool.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\mempool.c
- workqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\object.c
-
-
- finsh
- shell.c
+ scheduler.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\scheduler.c
- cmd.c
+ signal.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\signal.c
- msh.c
+ thread.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
@@ -705,7 +698,7 @@
- STM32_HAL
+ Libraries
system_stm32f1xx.c
@@ -769,13 +762,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
-
stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-gizwits-gokitv21/project.ewp b/bsp/stm32/stm32f103-gizwits-gokitv21/project.ewp
index 5f761c6ca5dac66e239856b5d76b551447270911..3fccb364fc56aeb6a3558feb4ce4607e5702ded4 100644
--- a/bsp/stm32/stm32f103-gizwits-gokitv21/project.ewp
+++ b/bsp/stm32/stm32f103-gizwits-gokitv21/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32F103xB
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -362,7 +363,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -1277,6 +1277,7 @@
CCDefines
STM32F103xB
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1414,7 +1415,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -2105,57 +2105,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2180,70 +2180,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
@@ -2271,9 +2265,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-gizwits-gokitv21/project.uvopt b/bsp/stm32/stm32f103-gizwits-gokitv21/project.uvopt
index 59340ab9ed9388e4a3669585e29cc7957fb376d2..42b682251164a8d9a4b2f2ee461f6d63e10d51e3 100644
--- a/bsp/stm32/stm32f103-gizwits-gokitv21/project.uvopt
+++ b/bsp/stm32/stm32f103-gizwits-gokitv21/project.uvopt
@@ -71,7 +71,7 @@
0
- 1
+ 0
0
1
@@ -113,7 +113,7 @@
0
1
1
- 1
+ 0
0
0
6
@@ -168,7 +168,7 @@
0
0
0
- 0
+ 1
0
@@ -176,956 +176,4 @@
-
- Kernel
- 0
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\cpu.c
- cpu.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 15
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 0
- 0
- 0
- 0
-
- 2
- 16
- 1
- 0
- 1
- 0
- 0
- 1
- 1
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 3
- 17
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
- stm32f1xx_hal_msp.c
- 0
- 0
-
-
- 3
- 19
- 2
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
- startup_stm32f103xb.s
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 3
- 22
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 4
- 23
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 27
- 2
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 28
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 37
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\finsh\symbol.c
- symbol.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\finsh\msh_cmd.c
- msh_cmd.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\..\..\components\finsh\msh_file.c
- msh_file.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 7
- 43
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
- system_stm32f1xx.c
- 0
- 0
-
-
- 7
- 44
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c
- stm32f1xx_hal_dma.c
- 0
- 0
-
-
- 7
- 45
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c
- stm32f1xx_hal_cortex.c
- 0
- 0
-
-
- 7
- 46
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_crc.c
- stm32f1xx_hal_crc.c
- 0
- 0
-
-
- 7
- 47
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c
- stm32f1xx_hal_pwr.c
- 0
- 0
-
-
- 7
- 48
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c
- stm32f1xx_hal_rcc.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c
- stm32f1xx_hal_rcc_ex.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c
- stm32f1xx_hal.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
- stm32f1xx_hal_cec.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
- stm32f1xx_hal_sram.c
- 0
- 0
-
-
- 7
- 53
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
- stm32f1xx_hal_gpio.c
- 0
- 0
-
-
- 7
- 54
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c
- stm32f1xx_hal_gpio_ex.c
- 0
- 0
-
-
- 7
- 55
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c
- stm32f1xx_hal_uart.c
- 0
- 0
-
-
- 7
- 56
- 1
- 0
- 1
- 3019404
- 0
- 0
- 5
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_usart.c
- stm32f1xx_hal_usart.c
- 0
- 0
-
-
-
diff --git a/bsp/stm32/stm32f103-gizwits-gokitv21/project.uvproj b/bsp/stm32/stm32f103-gizwits-gokitv21/project.uvproj
index 17a0bbf9d8863ecd1dec18fd2bf10252e3003a05..f744e8df76d838e44b7755c8387e0a5363e399b1 100644
--- a/bsp/stm32/stm32f103-gizwits-gokitv21/project.uvproj
+++ b/bsp/stm32/stm32f103-gizwits-gokitv21/project.uvproj
@@ -1,10 +1,7 @@
-
1.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -15,26 +12,26 @@
STM32F103C8
STMicroelectronics
IRAM(0x20000000-0x20004FFF) IROM(0x8000000-0x800FFFF) CLOCK(8000000) CPUTYPE("Cortex-M3")
-
+
"STARTUP\ST\STM32F10x\startup_stm32f10x_md.s" ("STM32 Medium Density Line Startup Code")
UL2CM3(-O14 -S0 -C0 -N00("ARM Cortex-M3") -D00(1BA00477) -L00(4) -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F10x_128 -FS08000000 -FL010000)
4235
stm32f10x.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
SFD\ST\STM32F1xx\STM32F103xx.sfrSVD=SFD\ST\STM32F1xx\STM32F103xx.sfr
0
0
-
-
-
+
+
+
ST\STM32F10x\
ST\STM32F10x\
@@ -58,8 +55,8 @@
0
0
-
-
+
+
0
0
0
@@ -68,8 +65,8 @@
0
0
-
-
+
+
0
0
@@ -77,12 +74,12 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
-
+
0
@@ -96,17 +93,17 @@
0
0
3
-
-
+
+
1
SARMCM3.DLL
-
+
DARMSTM.DLL
-pSTM32F103C8
SARMCM3.DLL
-
+
TARMSTM.DLL
-pSTM32F103C8
@@ -141,23 +138,23 @@
1
0
1
- 1
+ 0
0
6
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
Segger\JL2CM3.dll
@@ -172,11 +169,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -209,7 +206,7 @@
0
0
"Cortex-M3"
-
+
0
0
0
@@ -340,7 +337,7 @@
0x0
-
+
1
@@ -359,10 +356,10 @@
1
0
-
- STM32F103xB, USE_HAL_DRIVER
-
- .;..\..\..\include;applications;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+
+ STM32F103xB, USE_HAL_DRIVER, __RTTHREAD__
+
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -376,10 +373,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -391,104 +388,128 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
- Kernel
+ Applications
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+
+ CPU
+
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+
+
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+
+ DeviceDrivers
+
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -500,26 +521,36 @@
1
board\board.c
+
+
stm32f1xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
startup_stm32f103xb.s
2
..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_common.c
1
@@ -528,188 +559,217 @@
- cpu
+ finsh
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
- div0.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\shell.c
+
+
- showmem.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\cmd.c
+
+
- cpuport.c
+ msh.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ ..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- pin.c
- 1
- ..\..\..\components\drivers\misc\pin.c
-
-
- serial.c
+ clock.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\clock.c
+
+
- completion.c
+ components.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\components.c
+
+
- dataqueue.c
+ device.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\device.c
+
+
- pipe.c
+ idle.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\idle.c
+
+
- ringblk_buf.c
+ ipc.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\ipc.c
+
+
- ringbuffer.c
+ irq.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\irq.c
+
+
- waitqueue.c
+ kservice.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\kservice.c
+
+
- workqueue.c
+ mem.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\mem.c
-
-
- finsh
- shell.c
+ mempool.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\mempool.c
+
+
- symbol.c
+ object.c
1
- ..\..\..\components\finsh\symbol.c
+ ..\..\..\src\object.c
+
+
- cmd.c
+ scheduler.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\scheduler.c
+
+
- msh.c
+ signal.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\signal.c
+
+
- msh_cmd.c
+ thread.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\thread.c
+
+
- msh_file.c
+ timer.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
1
..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
+
+
stm32f1xx_hal_dma.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c
+
+
stm32f1xx_hal_cortex.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c
+
+
stm32f1xx_hal_crc.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_crc.c
+
+
stm32f1xx_hal_pwr.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c
+
+
stm32f1xx_hal_rcc.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c
+
+
stm32f1xx_hal_rcc_ex.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c
+
+
stm32f1xx_hal.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c
+
+
stm32f1xx_hal_cec.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
+
+
stm32f1xx_hal_gpio.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
+
+
stm32f1xx_hal_gpio_ex.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c
+
+
stm32f1xx_hal_uart.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c
+
+
stm32f1xx_hal_usart.c
1
@@ -720,5 +780,4 @@
-
diff --git a/bsp/stm32/stm32f103-gizwits-gokitv21/project.uvprojx b/bsp/stm32/stm32f103-gizwits-gokitv21/project.uvprojx
index 45218d944561c9c23e7470ac90c026067faae3a0..08f1c38a27ebe6e7a93818434e128c00e881d9ea 100644
--- a/bsp/stm32/stm32f103-gizwits-gokitv21/project.uvprojx
+++ b/bsp/stm32/stm32f103-gizwits-gokitv21/project.uvprojx
@@ -333,9 +333,9 @@
0
- STM32F103xB, USE_HAL_DRIVER
+ STM32F103xB, USE_HAL_DRIVER, __RTTHREAD__
- .;..\..\..\include;applications;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -377,113 +377,116 @@
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+ CPU
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -533,135 +536,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
diff --git a/bsp/stm32/stm32f103-hw100k-ibox/project.ewp b/bsp/stm32/stm32f103-hw100k-ibox/project.ewp
index 9581c92094f67be5f008d321e81a48d28cc5cd41..69bdf58abd9bd18627422ad7481aa194cc26702a 100644
--- a/bsp/stm32/stm32f103-hw100k-ibox/project.ewp
+++ b/bsp/stm32/stm32f103-hw100k-ibox/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32F103xE
+ __RTTHREAD__
RT_USING_DLIBC
USE_HAL_DRIVER
@@ -1296,6 +1297,7 @@
CCDefines
STM32F103xE
+ __RTTHREAD__
RT_USING_DLIBC
USE_HAL_DRIVER
@@ -2143,54 +2145,57 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2215,63 +2220,60 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2279,9 +2281,6 @@
$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
-
-
- dlib
$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
@@ -2317,7 +2316,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
diff --git a/bsp/stm32/stm32f103-hw100k-ibox/project.uvoptx b/bsp/stm32/stm32f103-hw100k-ibox/project.uvoptx
index 95a31f060f427566cfa483e57c87efc62136f6ac..eccd61de784dcfb1620639f9df47b04cd43d07c5 100644
--- a/bsp/stm32/stm32f103-hw100k-ibox/project.uvoptx
+++ b/bsp/stm32/stm32f103-hw100k-ibox/project.uvoptx
@@ -77,7 +77,7 @@
0
1
- 18
+ 255
0
1
@@ -181,799 +181,11 @@
- Kernel
+ Source Group 1
0
0
0
0
-
- 1
- 1
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- ..\..\..\src\cpu.c
- cpu.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 15
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 0
- 0
- 0
- 0
-
- 2
- 16
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 1
- 0
- 0
- 0
-
- 3
- 17
- 1
- 1
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
- stm32f1xx_hal_msp.c
- 0
- 0
-
-
- 3
- 19
- 2
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xe.s
- startup_stm32f103xe.s
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 3
- 22
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 27
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\symbol.c
- symbol.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_cmd.c
- msh_cmd.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_file.c
- msh_file.c
- 0
- 0
-
-
-
-
- libc
- 0
- 0
- 0
- 0
-
- 7
- 43
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\libc.c
- libc.c
- 0
- 0
-
-
- 7
- 44
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\mem_std.c
- mem_std.c
- 0
- 0
-
-
- 7
- 45
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\stubs.c
- stubs.c
- 0
- 0
-
-
- 7
- 46
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\time.c
- time.c
- 0
- 0
-
-
- 7
- 47
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\gmtime_r.c
- gmtime_r.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 8
- 48
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
- system_stm32f1xx.c
- 0
- 0
-
-
- 8
- 49
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c
- stm32f1xx_hal_dma.c
- 0
- 0
-
-
- 8
- 50
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c
- stm32f1xx_hal_cortex.c
- 0
- 0
-
-
- 8
- 51
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_crc.c
- stm32f1xx_hal_crc.c
- 0
- 0
-
-
- 8
- 52
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c
- stm32f1xx_hal_pwr.c
- 0
- 0
-
-
- 8
- 53
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c
- stm32f1xx_hal_rcc.c
- 0
- 0
-
-
- 8
- 54
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c
- stm32f1xx_hal_rcc_ex.c
- 0
- 0
-
-
- 8
- 55
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c
- stm32f1xx_hal.c
- 0
- 0
-
-
- 8
- 56
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
- stm32f1xx_hal_cec.c
- 0
- 0
-
-
- 8
- 57
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
- stm32f1xx_hal_sram.c
- 0
- 0
-
-
- 8
- 58
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
- stm32f1xx_hal_gpio.c
- 0
- 0
-
-
- 8
- 59
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c
- stm32f1xx_hal_gpio_ex.c
- 0
- 0
-
-
- 8
- 60
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c
- stm32f1xx_hal_uart.c
- 0
- 0
-
-
- 8
- 61
- 1
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_usart.c
- stm32f1xx_hal_usart.c
- 0
- 0
-
diff --git a/bsp/stm32/stm32f103-hw100k-ibox/project.uvproj b/bsp/stm32/stm32f103-hw100k-ibox/project.uvproj
index 51a11268e3ff91b692823f6273816f5ae449d493..c28c5f2b74ad2ea8527f71202ad5ca9275ad4690 100644
--- a/bsp/stm32/stm32f103-hw100k-ibox/project.uvproj
+++ b/bsp/stm32/stm32f103-hw100k-ibox/project.uvproj
@@ -370,9 +370,9 @@
0
- USE_HAL_DRIVER, RT_USING_ARM_LIBC, STM32F103xE
+ USE_HAL_DRIVER, RT_USING_ARM_LIBC, __RTTHREAD__, STM32F103xE
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -406,7 +406,7 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
+
@@ -414,120 +414,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -577,151 +573,127 @@
- cpu
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
+ finsh
- div0.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\shell.c
- showmem.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\cmd.c
- cpuport.c
+ msh.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ ..\..\..\components\finsh\msh.c
- DeviceDrivers
-
-
- pin.c
- 1
- ..\..\..\components\drivers\misc\pin.c
-
-
+ Kernel
- serial.c
+ clock.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\clock.c
- completion.c
+ components.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\components.c
- dataqueue.c
+ device.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\device.c
- pipe.c
+ idle.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\idle.c
- ringblk_buf.c
+ ipc.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\ipc.c
- ringbuffer.c
+ irq.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\irq.c
- waitqueue.c
+ kservice.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\kservice.c
- workqueue.c
+ mem.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\mem.c
-
-
- finsh
- shell.c
+ mempool.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\mempool.c
- symbol.c
+ object.c
1
- ..\..\..\components\finsh\symbol.c
+ ..\..\..\src\object.c
- cmd.c
+ scheduler.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\scheduler.c
- msh.c
+ signal.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\signal.c
- msh_cmd.c
+ thread.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\thread.c
- msh_file.c
+ timer.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\src\timer.c
@@ -752,19 +724,12 @@
time.c
1
- ..\..\..\components\libc\compilers\armlibc\time.c
-
-
-
-
- gmtime_r.c
- 1
- ..\..\..\components\libc\compilers\common\gmtime_r.c
+ ..\..\..\components\libc\compilers\common\time.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
@@ -828,13 +793,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
-
stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-hw100k-ibox/project.uvprojx b/bsp/stm32/stm32f103-hw100k-ibox/project.uvprojx
index 8c7ad6afae3e1d58d5e21bde01236131e75aef91..49c07c3b1c38d6b3add1b012231b848d0eff4dbd 100644
--- a/bsp/stm32/stm32f103-hw100k-ibox/project.uvprojx
+++ b/bsp/stm32/stm32f103-hw100k-ibox/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -19,28 +16,28 @@
Keil.STM32F1xx_DFP.2.2.0
http://www.keil.com/pack/
IRAM(0x20000000,0x10000) IROM(0x08000000,0x80000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_512 -FS08000000 -FL080000 -FP0($$Device:STM32F103ZE$Flash\STM32F10x_512.FLM))
4216
$$Device:STM32F103ZE$Device\Include\stm32f10x.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32F103ZE$SVD\STM32F103xx.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,17 +101,17 @@
0
0
3
-
-
+
+
1
SARMCM3.DLL
-
+
DARMSTM.DLL
-pSTM32F103ZE
SARMCM3.DLL
-
+
TARMSTM.DLL
-pSTM32F103ZE
@@ -138,11 +135,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M3"
-
+
0
0
0
@@ -307,7 +304,7 @@
0x0
-
+
1
@@ -334,10 +331,10 @@
0
0
-
- USE_HAL_DRIVER, RT_USING_ARM_LIBC, STM32F103xE
-
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+
+ USE_HAL_DRIVER, RT_USING_ARM_LIBC, __RTTHREAD__, STM32F103xE
+
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -352,10 +349,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -367,104 +364,128 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
- Kernel
+ Applications
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+
+ CPU
+
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+
+
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+
+ DeviceDrivers
+
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -476,26 +497,36 @@
1
board\board.c
+
+
stm32f1xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
startup_stm32f103xe.s
2
..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xe.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_common.c
1
@@ -504,102 +535,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
+
+
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
+
+
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+ Kernel
+
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ ..\..\..\src\clock.c
+
+
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
+
+
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
+
+
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
+
+
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
+
+
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
+
+
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
+
+
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
+
+
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
+
+
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
+
+
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
+
+
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -611,16 +667,22 @@
1
..\..\..\components\libc\compilers\armlibc\libc.c
+
+
mem_std.c
1
..\..\..\components\libc\compilers\armlibc\mem_std.c
+
+
stubs.c
1
..\..\..\components\libc\compilers\armlibc\stubs.c
+
+
time.c
1
@@ -629,73 +691,92 @@
- STM32_HAL
+ Libraries
system_stm32f1xx.c
1
..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
+
+
stm32f1xx_hal_dma.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c
+
+
stm32f1xx_hal_cortex.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c
+
+
stm32f1xx_hal_crc.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_crc.c
+
+
stm32f1xx_hal_pwr.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c
+
+
stm32f1xx_hal_rcc.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c
+
+
stm32f1xx_hal_rcc_ex.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c
+
+
stm32f1xx_hal.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c
+
+
stm32f1xx_hal_cec.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
+
+
stm32f1xx_hal_gpio.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
+
+
stm32f1xx_hal_gpio_ex.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c
+
+
stm32f1xx_hal_uart.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c
+
+
stm32f1xx_hal_usart.c
1
@@ -706,11 +787,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32f103-mini-system/project.ewp b/bsp/stm32/stm32f103-mini-system/project.ewp
index 2f50c19183e5c353bcb981857ed6f732d55dbaae..2a43f432a0ca354b9630dd94f5aa8fa09c613001 100644
--- a/bsp/stm32/stm32f103-mini-system/project.ewp
+++ b/bsp/stm32/stm32f103-mini-system/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F103xB
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -353,7 +354,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -1247,6 +1247,7 @@
CCDefines
STM32F103xB
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1384,7 +1385,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -2063,57 +2063,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2138,70 +2138,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
@@ -2229,9 +2223,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-mini-system/project.uvproj b/bsp/stm32/stm32f103-mini-system/project.uvproj
index 8b05c9d088d818c15692dc931b27a4fb3a0620b3..8e7d7538d51c700ad9e176b01376b79d3c42c018 100644
--- a/bsp/stm32/stm32f103-mini-system/project.uvproj
+++ b/bsp/stm32/stm32f103-mini-system/project.uvproj
@@ -357,9 +357,9 @@
0
- STM32F103xB, USE_HAL_DRIVER
+ STM32F103xB, USE_HAL_DRIVER, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -392,7 +392,7 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
+
@@ -400,120 +400,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -535,9 +531,9 @@
- startup_stm32f103xB.s
+ startup_stm32f103xb.s
2
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xB.s
+ ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
@@ -563,156 +559,132 @@
- cpu
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
+ finsh
- div0.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\shell.c
- showmem.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\cmd.c
- cpuport.c
+ msh.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ ..\..\..\components\finsh\msh.c
- DeviceDrivers
-
-
- pin.c
- 1
- ..\..\..\components\drivers\misc\pin.c
-
-
+ Kernel
- serial.c
+ clock.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\clock.c
- completion.c
+ components.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\components.c
- dataqueue.c
+ device.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\device.c
- pipe.c
+ idle.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\idle.c
- ringblk_buf.c
+ ipc.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\ipc.c
- ringbuffer.c
+ irq.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\irq.c
- waitqueue.c
+ kservice.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\kservice.c
- workqueue.c
+ mem.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\mem.c
-
-
- finsh
- shell.c
+ mempool.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\mempool.c
- symbol.c
+ object.c
1
- ..\..\..\components\finsh\symbol.c
+ ..\..\..\src\object.c
- cmd.c
+ scheduler.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\scheduler.c
- msh.c
+ signal.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\signal.c
- msh_cmd.c
+ thread.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\thread.c
- msh_file.c
+ timer.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
@@ -776,13 +748,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
-
stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-mini-system/project.uvprojx b/bsp/stm32/stm32f103-mini-system/project.uvprojx
index e756f1b0ee7d3d449bf0722380caae7b5aeab5c4..f719cebbfa6422988f4f3031710c99eda9c73f88 100644
--- a/bsp/stm32/stm32f103-mini-system/project.uvprojx
+++ b/bsp/stm32/stm32f103-mini-system/project.uvprojx
@@ -360,9 +360,9 @@
0
- STM32F103xB, USE_HAL_DRIVER
+ STM32F103xB, USE_HAL_DRIVER, __RTTHREAD__
- .;..\..\..\include;applications;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -403,120 +403,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -566,135 +562,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
@@ -758,13 +751,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
-
stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-onenet-nbiot/project.ewp b/bsp/stm32/stm32f103-onenet-nbiot/project.ewp
index 6de45c981c6f31faac1f01e2c1c1e0f93a075073..88ad75c5307ff4974863aaa67f8779bd94034fee 100644
--- a/bsp/stm32/stm32f103-onenet-nbiot/project.ewp
+++ b/bsp/stm32/stm32f103-onenet-nbiot/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F103xE
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -353,7 +354,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -1247,6 +1247,7 @@
CCDefines
STM32F103xE
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1384,7 +1385,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -2063,57 +2063,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\memheap.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2138,70 +2138,67 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\memheap.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
diff --git a/bsp/stm32/stm32f103-onenet-nbiot/project.uvproj b/bsp/stm32/stm32f103-onenet-nbiot/project.uvproj
index c0f4981b8eab8c99c8dc4d24b4beaa394fd0af4a..b8da141ed334005439a2b9f42f3363ef72fd227b 100644
--- a/bsp/stm32/stm32f103-onenet-nbiot/project.uvproj
+++ b/bsp/stm32/stm32f103-onenet-nbiot/project.uvproj
@@ -357,9 +357,9 @@
0
- USE_HAL_DRIVER, STM32F103xE
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F103xE
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -400,120 +400,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- device.c
+ backtrace.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- idle.c
+ div0.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\div0.c
- ipc.c
+ showmem.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\common\showmem.c
- irq.c
+ cpuport.c
1
- ..\..\..\src\irq.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- kservice.c
- 1
- ..\..\..\src\kservice.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- mem.c
+ pin.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\misc\pin.c
- memheap.c
+ serial.c
1
- ..\..\..\src\memheap.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -563,135 +559,139 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ memheap.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\memheap.c
- waitqueue.c
+ mempool.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\mempool.c
- workqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\object.c
-
-
- finsh
- shell.c
+ scheduler.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\scheduler.c
- cmd.c
+ signal.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\signal.c
- msh.c
+ thread.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
diff --git a/bsp/stm32/stm32f103-onenet-nbiot/project.uvprojx b/bsp/stm32/stm32f103-onenet-nbiot/project.uvprojx
index 7757be72b90ba92786448e7620a519882b793627..4964e02dcd84026f3aff87a88ad10b448c9e92b0 100644
--- a/bsp/stm32/stm32f103-onenet-nbiot/project.uvprojx
+++ b/bsp/stm32/stm32f103-onenet-nbiot/project.uvprojx
@@ -360,9 +360,9 @@
0
- USE_HAL_DRIVER, STM32F103xE
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F103xE
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -403,120 +403,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- device.c
+ backtrace.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- idle.c
+ div0.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\div0.c
- ipc.c
+ showmem.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\common\showmem.c
- irq.c
+ cpuport.c
1
- ..\..\..\src\irq.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- kservice.c
- 1
- ..\..\..\src\kservice.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- mem.c
+ pin.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\misc\pin.c
- memheap.c
+ serial.c
1
- ..\..\..\src\memheap.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -566,135 +562,139 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ memheap.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\memheap.c
- waitqueue.c
+ mempool.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\mempool.c
- workqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\object.c
-
-
- finsh
- shell.c
+ scheduler.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\scheduler.c
- cmd.c
+ signal.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\signal.c
- msh.c
+ thread.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
diff --git a/bsp/stm32/stm32f103-yf-ufun/project.ewp b/bsp/stm32/stm32f103-yf-ufun/project.ewp
index 7abfd29b9e31e9bcc2532b7acaac26e6d0275e34..7faf7e28c2cb826aca5261e853fd45819fc1ff46 100644
--- a/bsp/stm32/stm32f103-yf-ufun/project.ewp
+++ b/bsp/stm32/stm32f103-yf-ufun/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32F103xE
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -362,7 +363,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -1277,6 +1277,7 @@
CCDefines
STM32F103xE
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1414,7 +1415,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -2105,57 +2105,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2180,70 +2180,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
@@ -2271,9 +2265,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f103-yf-ufun/project.uvopt b/bsp/stm32/stm32f103-yf-ufun/project.uvopt
index 1deab6fd87e6a695ac34bf69d52cd3ff5a300860..541f2a24177a7330b9a68c224f40465c355454bf 100644
--- a/bsp/stm32/stm32f103-yf-ufun/project.uvopt
+++ b/bsp/stm32/stm32f103-yf-ufun/project.uvopt
@@ -71,7 +71,7 @@
0
- 1
+ 0
0
1
@@ -176,956 +176,4 @@
-
- Kernel
- 0
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\cpu.c
- cpu.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 15
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 0
- 0
- 0
- 0
-
- 2
- 16
- 1
- 1
- 0
- 33
- 0
- 3
- 16
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 3
- 17
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
- stm32f1xx_hal_msp.c
- 0
- 0
-
-
- 3
- 19
- 2
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xe.s
- startup_stm32f103xe.s
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 3
- 22
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 4
- 23
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 27
- 2
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 28
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 37
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\finsh\symbol.c
- symbol.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_cmd.c
- msh_cmd.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_file.c
- msh_file.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 7
- 43
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
- system_stm32f1xx.c
- 0
- 0
-
-
- 7
- 44
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c
- stm32f1xx_hal_dma.c
- 0
- 0
-
-
- 7
- 45
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c
- stm32f1xx_hal_cortex.c
- 0
- 0
-
-
- 7
- 46
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_crc.c
- stm32f1xx_hal_crc.c
- 0
- 0
-
-
- 7
- 47
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c
- stm32f1xx_hal_pwr.c
- 0
- 0
-
-
- 7
- 48
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c
- stm32f1xx_hal_rcc.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c
- stm32f1xx_hal_rcc_ex.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c
- stm32f1xx_hal.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
- stm32f1xx_hal_cec.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
- stm32f1xx_hal_sram.c
- 0
- 0
-
-
- 7
- 53
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
- stm32f1xx_hal_gpio.c
- 0
- 0
-
-
- 7
- 54
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c
- stm32f1xx_hal_gpio_ex.c
- 0
- 0
-
-
- 7
- 55
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c
- stm32f1xx_hal_uart.c
- 0
- 0
-
-
- 7
- 56
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_usart.c
- stm32f1xx_hal_usart.c
- 0
- 0
-
-
-
diff --git a/bsp/stm32/stm32f103-yf-ufun/project.uvproj b/bsp/stm32/stm32f103-yf-ufun/project.uvproj
index a1324a548f2718331211d065d9acf5a9e2638eb7..60e9e771c6d3758c1093db92743e8847ece34945 100644
--- a/bsp/stm32/stm32f103-yf-ufun/project.uvproj
+++ b/bsp/stm32/stm32f103-yf-ufun/project.uvproj
@@ -1,10 +1,7 @@
-
1.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -15,26 +12,26 @@
STM32F103RC
STMicroelectronics
IRAM(0x20000000-0x2000BFFF) IROM(0x8000000-0x803FFFF) CLOCK(8000000) CPUTYPE("Cortex-M3")
-
+
"STARTUP\ST\STM32F10x\startup_stm32f10x_hd.s" ("STM32 High Density Line Startup Code")
UL2CM3(-O14 -S0 -C0 -N00("ARM Cortex-M3") -D00(1BA00477) -L00(4) -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F10x_512 -FS08000000 -FL040000)
4230
stm32f10x.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
SFD\ST\STM32F1xx\STM32F103xx.sfr
0
0
-
-
-
+
+
+
ST\STM32F10x\
ST\STM32F10x\
@@ -58,8 +55,8 @@
0
0
-
-
+
+
0
0
0
@@ -68,8 +65,8 @@
0
0
-
-
+
+
0
0
@@ -77,12 +74,12 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
-
+
0
@@ -96,8 +93,8 @@
0
0
3
-
-
+
+
1
@@ -106,7 +103,7 @@
DCM.DLL
-pCM3
SARMCM3.DLL
-
+
TCM.DLL
-pCM3
@@ -146,18 +143,18 @@
0
6
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
Segger\JL2CM3.dll
@@ -172,11 +169,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -209,7 +206,7 @@
0
0
"Cortex-M3"
-
+
0
0
0
@@ -340,7 +337,7 @@
0x0
-
+
1
@@ -359,10 +356,10 @@
1
0
-
- USE_HAL_DRIVER, STM32F103xE
-
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F103xE
+
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -376,10 +373,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -391,104 +388,128 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
- Kernel
+ Applications
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+
+ CPU
+
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+
+
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+
+ DeviceDrivers
+
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -500,26 +521,36 @@
1
board\board.c
+
+
stm32f1xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
startup_stm32f103xe.s
2
..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xe.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_common.c
1
@@ -528,188 +559,217 @@
- cpu
+ finsh
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
- div0.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\shell.c
+
+
- showmem.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\cmd.c
+
+
- cpuport.c
+ msh.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ ..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- pin.c
- 1
- ..\..\..\components\drivers\misc\pin.c
-
-
- serial.c
+ clock.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\clock.c
+
+
- completion.c
+ components.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\components.c
+
+
- dataqueue.c
+ device.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\device.c
+
+
- pipe.c
+ idle.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\idle.c
+
+
- ringblk_buf.c
+ ipc.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\ipc.c
+
+
- ringbuffer.c
+ irq.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\irq.c
+
+
- waitqueue.c
+ kservice.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\kservice.c
+
+
- workqueue.c
+ mem.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\mem.c
-
-
- finsh
- shell.c
+ mempool.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\mempool.c
+
+
- symbol.c
+ object.c
1
- ..\..\..\components\finsh\symbol.c
+ ..\..\..\src\object.c
+
+
- cmd.c
+ scheduler.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\scheduler.c
+
+
- msh.c
+ signal.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\signal.c
+
+
- msh_cmd.c
+ thread.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\thread.c
+
+
- msh_file.c
+ timer.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
1
..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
+
+
stm32f1xx_hal_dma.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c
+
+
stm32f1xx_hal_cortex.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c
+
+
stm32f1xx_hal_crc.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_crc.c
+
+
stm32f1xx_hal_pwr.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c
+
+
stm32f1xx_hal_rcc.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c
+
+
stm32f1xx_hal_rcc_ex.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c
+
+
stm32f1xx_hal.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c
+
+
stm32f1xx_hal_cec.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
+
+
stm32f1xx_hal_gpio.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
+
+
stm32f1xx_hal_gpio_ex.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c
+
+
stm32f1xx_hal_uart.c
1
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c
+
+
stm32f1xx_hal_usart.c
1
@@ -720,5 +780,4 @@
-
diff --git a/bsp/stm32/stm32f103-yf-ufun/project.uvprojx b/bsp/stm32/stm32f103-yf-ufun/project.uvprojx
index 428129215337b4ff98ddf4008bfd8d4e56ab4f1e..ec6d5269670cae2729bfcb1287df17a9739a3d60 100644
--- a/bsp/stm32/stm32f103-yf-ufun/project.uvprojx
+++ b/bsp/stm32/stm32f103-yf-ufun/project.uvprojx
@@ -333,9 +333,9 @@
0
- USE_HAL_DRIVER, STM32F103xE
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F103xE
- .;..\..\..\include;applications;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -377,120 +377,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -540,135 +536,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
@@ -732,13 +725,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
-
stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f107-uc-eval/project.ewp b/bsp/stm32/stm32f107-uc-eval/project.ewp
index 406c8ed398b08e891a1735dd6d92e7255bf2e28b..8d7b417546e8571f570913d04553314810b92e23 100644
--- a/bsp/stm32/stm32f107-uc-eval/project.ewp
+++ b/bsp/stm32/stm32f107-uc-eval/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F107xC
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -353,7 +354,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -1247,6 +1247,7 @@
CCDefines
STM32F107xC
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1384,7 +1385,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -2063,57 +2063,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2138,70 +2138,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
@@ -2229,9 +2223,6 @@
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
$PROJ_DIR$\..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f107-uc-eval/project.uvproj b/bsp/stm32/stm32f107-uc-eval/project.uvproj
index 7f1cdb6f8d450474855c0d9487994ee3307df3f6..d3480bad3c7eb1ff1b2fde60d1580f91e688f1b7 100644
--- a/bsp/stm32/stm32f107-uc-eval/project.uvproj
+++ b/bsp/stm32/stm32f107-uc-eval/project.uvproj
@@ -357,9 +357,9 @@
0
- USE_HAL_DRIVER, STM32F107xC
+ USE_HAL_DRIVER, STM32F107xC, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -392,7 +392,7 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
+
@@ -400,120 +400,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -563,156 +559,132 @@
- cpu
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
+ finsh
- div0.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\shell.c
- showmem.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\cmd.c
- cpuport.c
+ msh.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ ..\..\..\components\finsh\msh.c
- DeviceDrivers
-
-
- pin.c
- 1
- ..\..\..\components\drivers\misc\pin.c
-
-
+ Kernel
- serial.c
+ clock.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\clock.c
- completion.c
+ components.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\components.c
- dataqueue.c
+ device.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\device.c
- pipe.c
+ idle.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\idle.c
- ringblk_buf.c
+ ipc.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\ipc.c
- ringbuffer.c
+ irq.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\irq.c
- waitqueue.c
+ kservice.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\kservice.c
- workqueue.c
+ mem.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\mem.c
-
-
- finsh
- shell.c
+ mempool.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\mempool.c
- symbol.c
+ object.c
1
- ..\..\..\components\finsh\symbol.c
+ ..\..\..\src\object.c
- cmd.c
+ scheduler.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\scheduler.c
- msh.c
+ signal.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\signal.c
- msh_cmd.c
+ thread.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\thread.c
- msh_file.c
+ timer.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
@@ -776,13 +748,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
-
stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f107-uc-eval/project.uvprojx b/bsp/stm32/stm32f107-uc-eval/project.uvprojx
index 8be1065581fe37c74ffef33ff71cf3e8dd99af2a..faa312dc4ed0b125a2cb23d82c41bfad0c613dca 100644
--- a/bsp/stm32/stm32f107-uc-eval/project.uvprojx
+++ b/bsp/stm32/stm32f107-uc-eval/project.uvprojx
@@ -331,9 +331,9 @@
0
- USE_HAL_DRIVER, STM32F107xC
+ USE_HAL_DRIVER, STM32F107xC, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\libraries\STM32F1xx_HAL\CMSIS\Include
@@ -375,120 +375,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -538,135 +534,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f1xx.c
@@ -730,13 +723,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
-
stm32f1xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f401-st-nucleo/project.ewp b/bsp/stm32/stm32f401-st-nucleo/project.ewp
index fcadae25169f597b8dbb159f901254fcab7a0a36..98af472d023ed518a27c5f873eb54a1abf6c2b1b 100644
--- a/bsp/stm32/stm32f401-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32f401-st-nucleo/project.ewp
@@ -220,6 +220,7 @@
CCDefines
STM32F401xE
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -355,7 +356,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -1255,6 +1255,7 @@
CCDefines
STM32F401xE
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1390,7 +1391,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -2071,57 +2071,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2146,70 +2146,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f401-st-nucleo/project.uvprojx b/bsp/stm32/stm32f401-st-nucleo/project.uvprojx
index 4932f4e8ff393569983943b1f774ea6d7d1e8228..713844bd440f765a6488130a141d09c5560c0b26 100644
--- a/bsp/stm32/stm32f401-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32f401-st-nucleo/project.uvprojx
@@ -333,9 +333,9 @@
0
- STM32F401xE, USE_HAL_DRIVER
+ STM32F401xE, USE_HAL_DRIVER, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -377,120 +377,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -540,135 +536,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/project.ewp b/bsp/stm32/stm32f405-smdz-breadfruit/project.ewp
index 93e53ab30a1bb988cd0788dd805edc85810dc9f7..88e20c83968b503d62d4bcb46ae046efc0a4ca1a 100644
--- a/bsp/stm32/stm32f405-smdz-breadfruit/project.ewp
+++ b/bsp/stm32/stm32f405-smdz-breadfruit/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F405xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -351,7 +352,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -1246,6 +1246,7 @@
CCDefines
STM32F405xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1381,7 +1382,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -2062,57 +2062,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2137,70 +2137,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/project.uvproj b/bsp/stm32/stm32f405-smdz-breadfruit/project.uvproj
index a2c80e0594ebcb24c1dc61224704ae1a1ed5aebe..d718327302aa6f7aecfa1b96a2a18088c7e3ed90 100644
--- a/bsp/stm32/stm32f405-smdz-breadfruit/project.uvproj
+++ b/bsp/stm32/stm32f405-smdz-breadfruit/project.uvproj
@@ -357,9 +357,9 @@
0
- USE_HAL_DRIVER, STM32F407xx
+ STM32F405xx, USE_HAL_DRIVER, __RTTHREAD__
- applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -392,7 +392,7 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
+
@@ -410,153 +410,28 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f407xx.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
-
-
-
-
- drv_gpio.c
- 1
- ..\libraries\HAL_Drivers\drv_gpio.c
-
-
-
-
- drv_usart.c
- 1
- ..\libraries\HAL_Drivers\drv_usart.c
-
-
-
-
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
-
-
- components.c
- 1
- ..\..\..\src\components.c
-
-
-
-
- device.c
- 1
- ..\..\..\src\device.c
-
-
-
-
- idle.c
- 1
- ..\..\..\src\idle.c
-
-
-
-
- ipc.c
- 1
- ..\..\..\src\ipc.c
-
-
-
-
- irq.c
- 1
- ..\..\..\src\irq.c
-
-
-
-
- kservice.c
- 1
- ..\..\..\src\kservice.c
-
-
-
-
- mem.c
- 1
- ..\..\..\src\mem.c
-
-
-
-
- mempool.c
- 1
- ..\..\..\src\mempool.c
-
-
+ CPU
- object.c
- 1
- ..\..\..\src\object.c
-
-
-
-
- scheduler.c
+ backtrace.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- signal.c
+ div0.c
1
- ..\..\..\src\signal.c
+ ..\..\..\libcpu\arm\common\div0.c
- thread.c
+ showmem.c
1
- ..\..\..\src\thread.c
+ ..\..\..\libcpu\arm\common\showmem.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
-
- CORTEX-M4
cpuport.c
@@ -571,27 +446,6 @@
..\..\..\libcpu\arm\cortex-m4\context_rvds.S
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
-
-
- div0.c
- 1
- ..\..\..\libcpu\arm\common\div0.c
-
-
-
-
- showmem.c
- 1
- ..\..\..\libcpu\arm\common\showmem.c
-
-
DeviceDrivers
@@ -660,351 +514,238 @@
- finsh
+ Drivers
- shell.c
+ board.c
1
- ..\..\..\components\finsh\shell.c
+ board\board.c
- symbol.c
+ stm32f4xx_hal_msp.c
1
- ..\..\..\components\finsh\symbol.c
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
+ startup_stm32f405xx.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f405xx.s
- msh.c
+ drv_gpio.c
1
- ..\..\..\components\finsh\msh.c
+ ..\libraries\HAL_Drivers\drv_gpio.c
- msh_cmd.c
+ drv_usart.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\libraries\HAL_Drivers\drv_usart.c
- msh_file.c
+ drv_common.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\libraries\HAL_Drivers\drv_common.c
- STM32_HAL
-
-
- system_stm32f4xx.c
- 1
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
-
-
-
-
- stm32f4xx_hal.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
-
-
-
-
- stm32f4xx_hal_adc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c
-
-
-
-
- stm32f4xx_hal_adc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c
-
-
-
-
- stm32f4xx_hal_can.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c
-
-
-
-
- stm32f4xx_hal_cec.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
-
-
-
-
- stm32f4xx_hal_cortex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
-
-
-
-
- stm32f4xx_hal_crc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
-
-
-
-
- stm32f4xx_hal_cryp.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
-
-
-
-
- stm32f4xx_hal_cryp_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
-
-
-
-
- stm32f4xx_hal_dac.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac.c
-
-
-
-
- stm32f4xx_hal_dac_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac_ex.c
-
-
-
-
- stm32f4xx_hal_dcmi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi.c
-
-
-
-
- stm32f4xx_hal_dcmi_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi_ex.c
-
-
-
-
- stm32f4xx_hal_dfsdm.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dfsdm.c
-
-
-
-
- stm32f4xx_hal_dma.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
-
-
-
-
- stm32f4xx_hal_dma2d.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma2d.c
-
-
+ finsh
- stm32f4xx_hal_dma_ex.c
+ shell.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+ ..\..\..\components\finsh\shell.c
- stm32f4xx_hal_dsi.c
+ cmd.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dsi.c
+ ..\..\..\components\finsh\cmd.c
- stm32f4xx_hal_eth.c
+ msh.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_eth.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- stm32f4xx_hal_flash.c
+ clock.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
+ ..\..\..\src\clock.c
- stm32f4xx_hal_flash_ex.c
+ components.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
+ ..\..\..\src\components.c
- stm32f4xx_hal_flash_ramfunc.c
+ device.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
+ ..\..\..\src\device.c
- stm32f4xx_hal_fmpi2c.c
+ idle.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
+ ..\..\..\src\idle.c
- stm32f4xx_hal_fmpi2c_ex.c
+ ipc.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
+ ..\..\..\src\ipc.c
- stm32f4xx_hal_gpio.c
+ irq.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+ ..\..\..\src\irq.c
- stm32f4xx_hal_hash.c
+ kservice.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
+ ..\..\..\src\kservice.c
- stm32f4xx_hal_hash_ex.c
+ mem.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
+ ..\..\..\src\mem.c
- stm32f4xx_hal_hcd.c
+ mempool.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.c
+ ..\..\..\src\mempool.c
- stm32f4xx_hal_i2c.c
+ object.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
+ ..\..\..\src\object.c
- stm32f4xx_hal_i2c_ex.c
+ scheduler.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
+ ..\..\..\src\scheduler.c
- stm32f4xx_hal_i2s.c
+ signal.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
+ ..\..\..\src\signal.c
- stm32f4xx_hal_i2s_ex.c
+ thread.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
+ ..\..\..\src\thread.c
- stm32f4xx_hal_irda.c
+ timer.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
+ ..\..\..\src\timer.c
+
+
+ Libraries
- stm32f4xx_hal_iwdg.c
+ system_stm32f4xx.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- stm32f4xx_hal_lptim.c
+ stm32f4xx_hal.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal_ltdc.c
+ stm32f4xx_hal_cec.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_ltdc_ex.c
+ stm32f4xx_hal_cortex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_nand.c
+ stm32f4xx_hal_crc.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_nor.c
+ stm32f4xx_hal_cryp.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_pccard.c
+ stm32f4xx_hal_cryp_ex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_pcd.c
+ stm32f4xx_hal_dma.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_pcd_ex.c
+ stm32f4xx_hal_dma_ex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
@@ -1021,13 +762,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
-
-
- stm32f4xx_hal_qspi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
-
-
stm32f4xx_hal_rcc.c
@@ -1051,86 +785,9 @@
- stm32f4xx_hal_rtc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc.c
-
-
-
-
- stm32f4xx_hal_rtc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc_ex.c
-
-
-
-
- stm32f4xx_hal_sai.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai.c
-
-
-
-
- stm32f4xx_hal_sai_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai_ex.c
-
-
-
-
- stm32f4xx_hal_sd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sd.c
-
-
-
-
- stm32f4xx_hal_sdram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sdram.c
-
-
-
-
- stm32f4xx_hal_smartcard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_smartcard.c
-
-
-
-
- stm32f4xx_hal_spdifrx.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spdifrx.c
-
-
-
-
- stm32f4xx_hal_spi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c
-
-
-
-
- stm32f4xx_hal_sram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
-
-
-
-
- stm32f4xx_hal_tim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c
-
-
-
-
- stm32f4xx_hal_tim_ex.c
+ stm32f4xx_hal_gpio.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
@@ -1147,41 +804,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
-
-
- stm32f4xx_hal_wwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c
-
-
-
-
- stm32f4xx_ll_fmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fmc.c
-
-
-
-
- stm32f4xx_ll_fsmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fsmc.c
-
-
-
-
- stm32f4xx_ll_sdmmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_sdmmc.c
-
-
-
-
- stm32f4xx_ll_usb.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usb.c
-
-
diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/project.uvprojx b/bsp/stm32/stm32f405-smdz-breadfruit/project.uvprojx
index 3fcb1ab562dffd5776bb2868109cbbe290713509..efcb987905f2898725c9283079051304e7f4e985 100644
--- a/bsp/stm32/stm32f405-smdz-breadfruit/project.uvprojx
+++ b/bsp/stm32/stm32f405-smdz-breadfruit/project.uvprojx
@@ -359,9 +359,9 @@
0
- STM32F405xx, USE_HAL_DRIVER
+ STM32F405xx, USE_HAL_DRIVER, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -402,120 +402,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -565,135 +561,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f407-atk-explorer/project.ewp b/bsp/stm32/stm32f407-atk-explorer/project.ewp
index 56bc36d485d61b91f237d6f3c6dcf3e180f8aa4e..9e92b5b93498612cd5c238e47a5834fece0addf3 100644
--- a/bsp/stm32/stm32f407-atk-explorer/project.ewp
+++ b/bsp/stm32/stm32f407-atk-explorer/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F407xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -352,7 +353,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -1247,6 +1247,7 @@
CCDefines
STM32F407xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1383,7 +1384,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -2064,57 +2064,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2139,70 +2139,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f407-atk-explorer/project.uvoptx b/bsp/stm32/stm32f407-atk-explorer/project.uvoptx
index f011526ee18d03aba2c815d1ca32d915114764a6..09dec0af9f8009ea7f9b5b993bd5f313ab86f120 100644
--- a/bsp/stm32/stm32f407-atk-explorer/project.uvoptx
+++ b/bsp/stm32/stm32f407-atk-explorer/project.uvoptx
@@ -73,7 +73,7 @@
0
- 1
+ 0
0
1
@@ -181,579 +181,11 @@
- Kernel
+ Source Group 1
0
0
0
0
-
- 1
- 1
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- ..\..\..\src\cpu.c
- cpu.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 1
- 0
- 0
- 0
-
- 2
- 15
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 1
- 0
- 0
- 0
-
- 3
- 16
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- stm32f4xx_hal_msp.c
- 0
- 0
-
-
- 3
- 18
- 2
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
- startup_stm32f407xx.s
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 4
- 20
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 21
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 22
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 24
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- finsh
- 1
- 0
- 0
- 0
-
- 5
- 25
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 5
- 26
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 5
- 27
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 1
- 0
- 0
- 0
-
- 6
- 28
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- system_stm32f4xx.c
- 0
- 0
-
-
- 6
- 29
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal.c
- 0
- 0
-
-
- 6
- 30
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_cec.c
- 0
- 0
-
-
- 6
- 31
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_cortex.c
- 0
- 0
-
-
- 6
- 32
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_crc.c
- 0
- 0
-
-
- 6
- 33
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_cryp.c
- 0
- 0
-
-
- 6
- 34
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_cryp_ex.c
- 0
- 0
-
-
- 6
- 35
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_dma.c
- 0
- 0
-
-
- 6
- 36
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
- stm32f4xx_hal_dma_ex.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
- stm32f4xx_hal_pwr.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
- stm32f4xx_hal_pwr_ex.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
- stm32f4xx_hal_rcc.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
- stm32f4xx_hal_rcc_ex.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
- stm32f4xx_hal_rng.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
- stm32f4xx_hal_gpio.c
- 0
- 0
-
-
- 6
- 43
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
- stm32f4xx_hal_uart.c
- 0
- 0
-
-
- 6
- 44
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
- stm32f4xx_hal_usart.c
- 0
- 0
-
diff --git a/bsp/stm32/stm32f407-atk-explorer/project.uvproj b/bsp/stm32/stm32f407-atk-explorer/project.uvproj
index c38efb36835b3b5eaa34cd3641a37e86b375157e..cc34a04713e230cce03bf9ca3453eccf79842a17 100644
--- a/bsp/stm32/stm32f407-atk-explorer/project.uvproj
+++ b/bsp/stm32/stm32f407-atk-explorer/project.uvproj
@@ -357,9 +357,9 @@
0
- USE_HAL_DRIVER, STM32F407xx
+ USE_HAL_DRIVER, STM32F407xx, __RTTHREAD__
- applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -392,7 +392,7 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
+
@@ -410,160 +410,28 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f407xx.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
-
-
-
-
- drv_gpio.c
- 1
- ..\libraries\HAL_Drivers\drv_gpio.c
-
-
-
-
- drv_usart.c
- 1
- ..\libraries\HAL_Drivers\drv_usart.c
-
-
-
-
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
-
-
- components.c
- 1
- ..\..\..\src\components.c
-
-
-
-
- cpu.c
- 1
- ..\..\..\src\cpu.c
-
-
-
-
- device.c
- 1
- ..\..\..\src\device.c
-
-
-
-
- idle.c
- 1
- ..\..\..\src\idle.c
-
-
-
-
- ipc.c
- 1
- ..\..\..\src\ipc.c
-
-
-
-
- irq.c
- 1
- ..\..\..\src\irq.c
-
-
-
-
- kservice.c
- 1
- ..\..\..\src\kservice.c
-
-
-
-
- mem.c
- 1
- ..\..\..\src\mem.c
-
-
-
-
- mempool.c
- 1
- ..\..\..\src\mempool.c
-
-
-
-
- object.c
- 1
- ..\..\..\src\object.c
-
-
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
+ CPU
- signal.c
+ backtrace.c
1
- ..\..\..\src\signal.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- thread.c
+ div0.c
1
- ..\..\..\src\thread.c
+ ..\..\..\libcpu\arm\common\div0.c
- timer.c
+ showmem.c
1
- ..\..\..\src\timer.c
+ ..\..\..\libcpu\arm\common\showmem.c
-
-
- CORTEX-M4
cpuport.c
@@ -578,27 +446,6 @@
..\..\..\libcpu\arm\cortex-m4\context_rvds.S
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
-
-
- div0.c
- 1
- ..\..\..\libcpu\arm\common\div0.c
-
-
-
-
- showmem.c
- 1
- ..\..\..\libcpu\arm\common\showmem.c
-
-
DeviceDrivers
@@ -667,351 +514,238 @@
- finsh
+ Drivers
- shell.c
+ board.c
1
- ..\..\..\components\finsh\shell.c
+ board\board.c
- symbol.c
+ stm32f4xx_hal_msp.c
1
- ..\..\..\components\finsh\symbol.c
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
+ startup_stm32f407xx.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
- msh.c
+ drv_gpio.c
1
- ..\..\..\components\finsh\msh.c
+ ..\libraries\HAL_Drivers\drv_gpio.c
- msh_cmd.c
+ drv_usart.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\libraries\HAL_Drivers\drv_usart.c
- msh_file.c
+ drv_common.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\libraries\HAL_Drivers\drv_common.c
- STM32_HAL
-
-
- system_stm32f4xx.c
- 1
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
-
-
-
-
- stm32f4xx_hal.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
-
-
-
-
- stm32f4xx_hal_adc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c
-
-
-
-
- stm32f4xx_hal_adc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c
-
-
-
-
- stm32f4xx_hal_can.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c
-
-
-
-
- stm32f4xx_hal_cec.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
-
-
-
-
- stm32f4xx_hal_cortex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
-
-
-
-
- stm32f4xx_hal_crc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
-
-
-
-
- stm32f4xx_hal_cryp.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
-
-
-
-
- stm32f4xx_hal_cryp_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
-
-
-
-
- stm32f4xx_hal_dac.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac.c
-
-
-
-
- stm32f4xx_hal_dac_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac_ex.c
-
-
-
-
- stm32f4xx_hal_dcmi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi.c
-
-
-
-
- stm32f4xx_hal_dcmi_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi_ex.c
-
-
-
-
- stm32f4xx_hal_dfsdm.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dfsdm.c
-
-
-
-
- stm32f4xx_hal_dma.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
-
-
-
-
- stm32f4xx_hal_dma2d.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma2d.c
-
-
+ finsh
- stm32f4xx_hal_dma_ex.c
+ shell.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+ ..\..\..\components\finsh\shell.c
- stm32f4xx_hal_dsi.c
+ cmd.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dsi.c
+ ..\..\..\components\finsh\cmd.c
- stm32f4xx_hal_eth.c
+ msh.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_eth.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- stm32f4xx_hal_flash.c
+ clock.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
+ ..\..\..\src\clock.c
- stm32f4xx_hal_flash_ex.c
+ components.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
+ ..\..\..\src\components.c
- stm32f4xx_hal_flash_ramfunc.c
+ device.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
+ ..\..\..\src\device.c
- stm32f4xx_hal_fmpi2c.c
+ idle.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
+ ..\..\..\src\idle.c
- stm32f4xx_hal_fmpi2c_ex.c
+ ipc.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
+ ..\..\..\src\ipc.c
- stm32f4xx_hal_gpio.c
+ irq.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+ ..\..\..\src\irq.c
- stm32f4xx_hal_hash.c
+ kservice.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
+ ..\..\..\src\kservice.c
- stm32f4xx_hal_hash_ex.c
+ mem.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
+ ..\..\..\src\mem.c
- stm32f4xx_hal_hcd.c
+ mempool.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.c
+ ..\..\..\src\mempool.c
- stm32f4xx_hal_i2c.c
+ object.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
+ ..\..\..\src\object.c
- stm32f4xx_hal_i2c_ex.c
+ scheduler.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
+ ..\..\..\src\scheduler.c
- stm32f4xx_hal_i2s.c
+ signal.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
+ ..\..\..\src\signal.c
- stm32f4xx_hal_i2s_ex.c
+ thread.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
+ ..\..\..\src\thread.c
- stm32f4xx_hal_irda.c
+ timer.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
+ ..\..\..\src\timer.c
+
+
+ Libraries
- stm32f4xx_hal_iwdg.c
+ system_stm32f4xx.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- stm32f4xx_hal_lptim.c
+ stm32f4xx_hal.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal_ltdc.c
+ stm32f4xx_hal_cec.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_ltdc_ex.c
+ stm32f4xx_hal_cortex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_nand.c
+ stm32f4xx_hal_crc.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_nor.c
+ stm32f4xx_hal_cryp.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_pccard.c
+ stm32f4xx_hal_cryp_ex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_pcd.c
+ stm32f4xx_hal_dma.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_pcd_ex.c
+ stm32f4xx_hal_dma_ex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
@@ -1028,13 +762,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
-
-
- stm32f4xx_hal_qspi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
-
-
stm32f4xx_hal_rcc.c
@@ -1058,86 +785,9 @@
- stm32f4xx_hal_rtc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc.c
-
-
-
-
- stm32f4xx_hal_rtc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc_ex.c
-
-
-
-
- stm32f4xx_hal_sai.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai.c
-
-
-
-
- stm32f4xx_hal_sai_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai_ex.c
-
-
-
-
- stm32f4xx_hal_sd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sd.c
-
-
-
-
- stm32f4xx_hal_sdram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sdram.c
-
-
-
-
- stm32f4xx_hal_smartcard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_smartcard.c
-
-
-
-
- stm32f4xx_hal_spdifrx.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spdifrx.c
-
-
-
-
- stm32f4xx_hal_spi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c
-
-
-
-
- stm32f4xx_hal_sram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
-
-
-
-
- stm32f4xx_hal_tim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c
-
-
-
-
- stm32f4xx_hal_tim_ex.c
+ stm32f4xx_hal_gpio.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
@@ -1154,41 +804,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
-
-
- stm32f4xx_hal_wwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c
-
-
-
-
- stm32f4xx_ll_fmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fmc.c
-
-
-
-
- stm32f4xx_ll_fsmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fsmc.c
-
-
-
-
- stm32f4xx_ll_sdmmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_sdmmc.c
-
-
-
-
- stm32f4xx_ll_usb.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usb.c
-
-
diff --git a/bsp/stm32/stm32f407-atk-explorer/project.uvprojx b/bsp/stm32/stm32f407-atk-explorer/project.uvprojx
index 41b712a2bfc741268aa10e2e08670304ceb626d9..c80dfefccd39d4d4f2d1f2e7e32ccff0a9a34733 100644
--- a/bsp/stm32/stm32f407-atk-explorer/project.uvprojx
+++ b/bsp/stm32/stm32f407-atk-explorer/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -16,31 +13,31 @@
STM32F407ZGTx
STMicroelectronics
- Keil.STM32F4xx_DFP.2.14.0
- http://www.keil.com/pack/
+ Keil.STM32F4xx_DFP.2.11.0
+ http://www.keil.com/pack
IRAM(0x20000000,0x20000) IRAM2(0x10000000,0x10000) IROM(0x08000000,0x100000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1024 -FS08000000 -FL0100000 -FP0($$Device:STM32F407ZGTx$CMSIS\Flash\STM32F4xx_1024.FLM))
0
$$Device:STM32F407ZGTx$Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32F407ZGTx$CMSIS\SVD\STM32F40x.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -139,10 +136,10 @@
1
BIN\UL2CM3.DLL
"" ()
-
-
-
-
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M4"
-
+
0
0
0
@@ -184,7 +181,6 @@
0
0
2
- 0
1
0
8
@@ -308,7 +304,7 @@
0x10000
-
+
1
@@ -335,10 +331,10 @@
0
0
-
- USE_HAL_DRIVER, STM32F407xx
-
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+
+ USE_HAL_DRIVER, STM32F407xx, __RTTHREAD__
+
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -353,10 +349,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -368,99 +364,128 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+
+ CPU
+
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+ DeviceDrivers
+
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -472,26 +497,36 @@
1
board\board.c
+
+
stm32f4xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
startup_stm32f407xx.s
2
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_common.c
1
@@ -500,188 +535,245 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
+
+
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
+
+
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+ Kernel
+
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
+
+
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
+
+
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
+
+
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
+
+
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
+
+
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
+
+
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
+
+
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
+
+
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
+
+
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
+
+
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
+
+
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f4xx.c
1
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
+
+
stm32f4xx_hal.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
+
+
stm32f4xx_hal_cec.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
+
+
stm32f4xx_hal_cortex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
+
+
stm32f4xx_hal_crc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
+
+
stm32f4xx_hal_cryp.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
+
+
stm32f4xx_hal_cryp_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
+
+
stm32f4xx_hal_dma.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
+
+
stm32f4xx_hal_dma_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+
+
stm32f4xx_hal_pwr.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
+
+
stm32f4xx_hal_pwr_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
+
+
stm32f4xx_hal_rcc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
+
+
stm32f4xx_hal_rcc_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
+
+
stm32f4xx_hal_rng.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
+
+
stm32f4xx_hal_gpio.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+
+
stm32f4xx_hal_uart.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
+
+
stm32f4xx_hal_usart.c
1
@@ -692,11 +784,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32f407-st-discovery/project.ewp b/bsp/stm32/stm32f407-st-discovery/project.ewp
index db96ad75f36ef5d5221fe1c1dddc65577d9f1894..861dbf209d3952c998556caf84f04a56d08c8a42 100644
--- a/bsp/stm32/stm32f407-st-discovery/project.ewp
+++ b/bsp/stm32/stm32f407-st-discovery/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F407xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -351,7 +352,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -1246,6 +1246,7 @@
CCDefines
STM32F407xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1381,7 +1382,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -2062,57 +2062,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2137,70 +2137,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f407-st-discovery/project.uvopt b/bsp/stm32/stm32f407-st-discovery/project.uvopt
index 5c0b25d7f6e84ad4fbfdb14994a62ee22526028b..42ee0721abd1cff31bfbd1c06eff94817f7ed865 100644
--- a/bsp/stm32/stm32f407-st-discovery/project.uvopt
+++ b/bsp/stm32/stm32f407-st-discovery/project.uvopt
@@ -71,7 +71,7 @@
0
- 1
+ 0
0
1
@@ -181,1020 +181,4 @@
-
- Applications
- 1
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 20
- 0
- 1
- 24
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 2
- 2
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 2
- 3
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- stm32f4xx_hal_msp.c
- 0
- 0
-
-
- 2
- 4
- 2
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
- startup_stm32f407xx.s
- 0
- 0
-
-
- 2
- 5
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 2
- 6
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 2
- 7
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- Kernel
- 0
- 0
- 0
- 0
-
- 3
- 8
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 3
- 9
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 3
- 10
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\cpu.c
- cpu.c
- 0
- 0
-
-
- 3
- 11
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 3
- 12
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 3
- 13
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 3
- 14
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 3
- 15
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 3
- 16
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 3
- 22
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- CORTEX-M4
- 0
- 0
- 0
- 0
-
- 4
- 23
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 24
- 2
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 27
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 28
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 37
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\finsh\symbol.c
- symbol.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_cmd.c
- msh_cmd.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_file.c
- msh_file.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 7
- 43
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- system_stm32f4xx.c
- 0
- 0
-
-
- 7
- 44
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal.c
- 0
- 0
-
-
- 7
- 45
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_cec.c
- 0
- 0
-
-
- 7
- 46
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_cortex.c
- 0
- 0
-
-
- 7
- 47
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_crc.c
- 0
- 0
-
-
- 7
- 48
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_cryp.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_cryp_ex.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_dma.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
- stm32f4xx_hal_dma_ex.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
- stm32f4xx_hal_pwr.c
- 0
- 0
-
-
- 7
- 53
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
- stm32f4xx_hal_pwr_ex.c
- 0
- 0
-
-
- 7
- 54
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
- stm32f4xx_hal_rcc.c
- 0
- 0
-
-
- 7
- 55
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
- stm32f4xx_hal_rcc_ex.c
- 0
- 0
-
-
- 7
- 56
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
- stm32f4xx_hal_rng.c
- 0
- 0
-
-
- 7
- 57
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
- stm32f4xx_hal_sram.c
- 0
- 0
-
-
- 7
- 58
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
- stm32f4xx_hal_gpio.c
- 0
- 0
-
-
- 7
- 59
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
- stm32f4xx_hal_uart.c
- 0
- 0
-
-
- 7
- 60
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
- stm32f4xx_hal_usart.c
- 0
- 0
-
-
-
diff --git a/bsp/stm32/stm32f407-st-discovery/project.uvoptx b/bsp/stm32/stm32f407-st-discovery/project.uvoptx
index 75a1c37c96932dd4445a1f18b765bf3bd851e2a7..17a63c9616c9a587d63179cabf055dd7bcd0042d 100644
--- a/bsp/stm32/stm32f407-st-discovery/project.uvoptx
+++ b/bsp/stm32/stm32f407-st-discovery/project.uvoptx
@@ -73,7 +73,7 @@
0
- 1
+ 0
0
1
@@ -180,732 +180,4 @@
-
- Kernel
- 0
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- ..\..\..\src\cpu.c
- cpu.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 15
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 0
- 0
- 0
- 0
-
- 2
- 16
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 3
- 17
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- stm32f4xx_hal_msp.c
- 0
- 0
-
-
- 3
- 19
- 2
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
- startup_stm32f407xx.s
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 3
- 22
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 27
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 1
- 0
- 0
- 0
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 7
- 40
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- system_stm32f4xx.c
- 0
- 0
-
-
- 7
- 41
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal.c
- 0
- 0
-
-
- 7
- 42
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_cec.c
- 0
- 0
-
-
- 7
- 43
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_cortex.c
- 0
- 0
-
-
- 7
- 44
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_crc.c
- 0
- 0
-
-
- 7
- 45
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_cryp.c
- 0
- 0
-
-
- 7
- 46
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_cryp_ex.c
- 0
- 0
-
-
- 7
- 47
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_dma.c
- 0
- 0
-
-
- 7
- 48
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
- stm32f4xx_hal_dma_ex.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
- stm32f4xx_hal_pwr.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
- stm32f4xx_hal_pwr_ex.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
- stm32f4xx_hal_rcc.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
- stm32f4xx_hal_rcc_ex.c
- 0
- 0
-
-
- 7
- 53
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
- stm32f4xx_hal_rng.c
- 0
- 0
-
-
- 7
- 54
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
- stm32f4xx_hal_gpio.c
- 0
- 0
-
-
- 7
- 55
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
- stm32f4xx_hal_uart.c
- 0
- 0
-
-
- 7
- 56
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
- stm32f4xx_hal_usart.c
- 0
- 0
-
-
-
diff --git a/bsp/stm32/stm32f407-st-discovery/project.uvproj b/bsp/stm32/stm32f407-st-discovery/project.uvproj
index 97f1ad48a7d8f64e562339c69b9d70ffbf5f1e99..e41d15c9a466908a46b8c6dca0bdb6fc4e9158ea 100644
--- a/bsp/stm32/stm32f407-st-discovery/project.uvproj
+++ b/bsp/stm32/stm32f407-st-discovery/project.uvproj
@@ -1,10 +1,7 @@
-
1.1
-
### uVision Project, (C) Keil Software
-
rtthread
@@ -15,26 +12,26 @@
STM32F407VG
STMicroelectronics
IRAM(0x20000000-0x2001FFFF) IRAM2(0x10000000-0x1000FFFF) IROM(0x8000000-0x80FFFFF) CLOCK(25000000) CPUTYPE("Cortex-M4") FPU2
-
+
"Startup\ST\STM32F4xx\startup_stm32f40_41xxx.s" ("STM32F40/41xxx Startup Code")
UL2CM3(-O207 -S0 -C0 -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F4xx_1024 -FS08000000 -FL0100000)
6103
stm32f4xx.h
-
-
-
-
-
-
+
+
+
+
+
+
-DSTM32F40_41xxx
-
-
+
+
SFD\ST\STM32F4xx\STM32F40x.sfr
0
0
-
-
-
+
+
+
ST\STM32F4xx\
ST\STM32F4xx\
@@ -58,8 +55,8 @@
0
0
-
-
+
+
0
0
0
@@ -68,8 +65,8 @@
0
0
-
-
+
+
0
0
@@ -77,12 +74,12 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
-
+
0
@@ -96,8 +93,8 @@
0
0
3
-
-
+
+
1
@@ -146,18 +143,18 @@
0
11
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
STLink\ST-LINKIII-KEIL_SWO.dll
@@ -173,10 +170,10 @@
1
BIN\UL2CM3.DLL
"" ()
-
-
-
-
+
+
+
+
0
@@ -209,7 +206,7 @@
0
0
"Cortex-M4"
-
+
0
0
0
@@ -340,7 +337,7 @@
0x10000
-
+
1
@@ -359,10 +356,10 @@
1
0
-
- USE_HAL_DRIVER, STM32F407xx
-
- applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+
+ USE_HAL_DRIVER, STM32F407xx, __RTTHREAD__
+
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -376,10 +373,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -391,13 +388,13 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
-
-
+
+
+
+
+
@@ -413,323 +410,394 @@
- Drivers
+ CPU
- board.c
+ backtrace.c
1
- board\board.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- stm32f4xx_hal_msp.c
+ div0.c
1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
- startup_stm32f407xx.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- drv_gpio.c
+ showmem.c
1
- ..\libraries\HAL_Drivers\drv_gpio.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- drv_usart.c
+ cpuport.c
1
- ..\libraries\HAL_Drivers\drv_usart.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- Kernel
+ DeviceDrivers
- clock.c
+ pin.c
1
- ..\..\..\src\clock.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- components.c
+ serial.c
1
- ..\..\..\src\components.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- cpu.c
+ completion.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- device.c
+ dataqueue.c
1
- ..\..\..\src\device.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- idle.c
+ pipe.c
1
- ..\..\..\src\idle.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
- ipc.c
+ ringblk_buf.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
- irq.c
+ ringbuffer.c
1
- ..\..\..\src\irq.c
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
- kservice.c
+ waitqueue.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\src\waitqueue.c
+
+
- mem.c
+ workqueue.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\src\workqueue.c
+
+
+
+ Drivers
+
- mempool.c
+ board.c
1
- ..\..\..\src\mempool.c
+ board\board.c
+
+
- object.c
+ stm32f4xx_hal_msp.c
1
- ..\..\..\src\object.c
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
+ startup_stm32f407xx.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
+
+
- signal.c
+ drv_gpio.c
1
- ..\..\..\src\signal.c
+ ..\libraries\HAL_Drivers\drv_gpio.c
+
+
- thread.c
+ drv_usart.c
1
- ..\..\..\src\thread.c
+ ..\libraries\HAL_Drivers\drv_usart.c
+
+
- timer.c
+ drv_common.c
1
- ..\..\..\src\timer.c
+ ..\libraries\HAL_Drivers\drv_common.c
- CORTEX-M4
+ finsh
- cpuport.c
- 1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
-
-
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
+
+
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
+
+
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- pin.c
- 1
- ..\..\..\components\drivers\misc\pin.c
-
-
- serial.c
+ clock.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\clock.c
+
+
- completion.c
+ components.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\components.c
+
+
- dataqueue.c
+ device.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\device.c
+
+
- pipe.c
+ idle.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\idle.c
+
+
- ringblk_buf.c
+ ipc.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\ipc.c
+
+
- ringbuffer.c
+ irq.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\irq.c
+
+
- waitqueue.c
+ kservice.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\kservice.c
+
+
- workqueue.c
+ mem.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\mem.c
-
-
- finsh
- shell.c
+ mempool.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\mempool.c
+
+
- symbol.c
+ object.c
1
- ..\..\..\components\finsh\symbol.c
+ ..\..\..\src\object.c
+
+
- cmd.c
+ scheduler.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\scheduler.c
+
+
- msh.c
+ signal.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\signal.c
+
+
- msh_cmd.c
+ thread.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\thread.c
+
+
- msh_file.c
+ timer.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f4xx.c
1
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
+
+
stm32f4xx_hal.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
+
+
stm32f4xx_hal_cec.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
+
+
stm32f4xx_hal_cortex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
+
+
stm32f4xx_hal_crc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
+
+
stm32f4xx_hal_cryp.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
+
+
stm32f4xx_hal_cryp_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
+
+
stm32f4xx_hal_dma.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
+
+
stm32f4xx_hal_dma_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+
+
stm32f4xx_hal_pwr.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
+
+
stm32f4xx_hal_pwr_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
+
+
stm32f4xx_hal_rcc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
+
+
stm32f4xx_hal_rcc_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
+
+
stm32f4xx_hal_rng.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
-
- stm32f4xx_hal_sram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
-
+
+
stm32f4xx_hal_gpio.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+
+
stm32f4xx_hal_uart.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
+
+
stm32f4xx_hal_usart.c
1
@@ -740,5 +808,4 @@
-
diff --git a/bsp/stm32/stm32f407-st-discovery/project.uvprojx b/bsp/stm32/stm32f407-st-discovery/project.uvprojx
index 53f2065d96f5ff27a7db008d9ffbc5b14019fadb..e48797828e4e6a174b697bc616475f8269644e87 100644
--- a/bsp/stm32/stm32f407-st-discovery/project.uvprojx
+++ b/bsp/stm32/stm32f407-st-discovery/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rtthread
@@ -15,31 +12,31 @@
STM32F407VGTx
STMicroelectronics
- Keil.STM32F4xx_DFP.2.13.0
+ Keil.STM32F4xx_DFP.2.12.0
http://www.keil.com/pack
IRAM(0x20000000,0x00020000) IRAM2(0x10000000,0x00010000) IROM(0x08000000,0x00100000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1024 -FS08000000 -FL0100000 -FP0($$Device:STM32F407VGTx$CMSIS\Flash\STM32F4xx_1024.FLM))
0
$$Device:STM32F407VGTx$Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32F407VGTx$CMSIS\SVD\STM32F40x.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -61,8 +58,8 @@
0
0
-
-
+
+
0
0
0
@@ -71,8 +68,8 @@
0
0
-
-
+
+
0
0
0
@@ -82,14 +79,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -103,8 +100,8 @@
0
0
3
-
-
+
+
1
@@ -138,10 +135,10 @@
1
BIN\UL2CM3.DLL
"" ()
-
-
-
-
+
+
+
+
0
@@ -174,7 +171,7 @@
0
0
"Cortex-M4"
-
+
0
0
0
@@ -306,7 +303,7 @@
0x10000
-
+
1
@@ -323,7 +320,6 @@
0
0
1
- 0
0
1
1
@@ -333,10 +329,10 @@
0
0
-
- USE_HAL_DRIVER, STM32F407xx
-
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+
+ USE_HAL_DRIVER, STM32F407xx, __RTTHREAD__
+
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -351,10 +347,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -366,104 +362,128 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
- Kernel
+ Applications
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+
+ CPU
+
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+ DeviceDrivers
+
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -475,26 +495,36 @@
1
board\board.c
+
+
stm32f4xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
startup_stm32f407xx.s
2
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_common.c
1
@@ -503,188 +533,245 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
+
+
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
+
+
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+ Kernel
+
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
+
+
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
+
+
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
+
+
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
+
+
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
+
+
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
+
+
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
+
+
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
+
+
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
+
+
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
+
+
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
+
+
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f4xx.c
1
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
+
+
stm32f4xx_hal.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
+
+
stm32f4xx_hal_cec.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
+
+
stm32f4xx_hal_cortex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
+
+
stm32f4xx_hal_crc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
+
+
stm32f4xx_hal_cryp.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
+
+
stm32f4xx_hal_cryp_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
+
+
stm32f4xx_hal_dma.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
+
+
stm32f4xx_hal_dma_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+
+
stm32f4xx_hal_pwr.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
+
+
stm32f4xx_hal_pwr_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
+
+
stm32f4xx_hal_rcc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
+
+
stm32f4xx_hal_rcc_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
+
+
stm32f4xx_hal_rng.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
+
+
stm32f4xx_hal_gpio.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+
+
stm32f4xx_hal_uart.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
+
+
stm32f4xx_hal_usart.c
1
@@ -695,11 +782,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32f410-st-nucleo/project.ewp b/bsp/stm32/stm32f410-st-nucleo/project.ewp
index 62c7e09b9990c0474c46a2040d97be0a20344de1..c662fe2262cf872c7e2685d16d9b3d9dbbbed68e 100644
--- a/bsp/stm32/stm32f410-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32f410-st-nucleo/project.ewp
@@ -215,7 +215,8 @@
CCDefines
- STM32F411xE
+ STM32F410Rx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1246,7 +1247,8 @@
CCDefines
- STM32F411xE
+ STM32F410Rx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2063,57 +2065,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2125,7 +2127,7 @@
$PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f411xe.s
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f410rx.s
$PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
@@ -2138,70 +2140,70 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
libc
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f410-st-nucleo/project.uvoptx b/bsp/stm32/stm32f410-st-nucleo/project.uvoptx
index a6a085890cf6cb15701210c8cf3ccbc2f5aca60c..52fe4bb31688229faa034c9148be31a8a478fab3 100644
--- a/bsp/stm32/stm32f410-st-nucleo/project.uvoptx
+++ b/bsp/stm32/stm32f410-st-nucleo/project.uvoptx
@@ -73,7 +73,7 @@
0
- 1
+ 0
0
1
@@ -117,26 +117,6 @@
STLink\ST-LINKIII-KEIL_SWO.dll
-
- 0
- ARMRTXEVENTFLAGS
- -L70 -Z18 -C0 -M0 -T1
-
-
- 0
- DLGTARM
- (1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0)
-
-
- 0
- ARMDBGFLAGS
-
-
-
- 0
- DLGUARM
- (105=-1,-1,-1,-1,0)
-
0
UL2CM3
@@ -155,12 +135,12 @@
0
0
- 1
+ 0
0
0
0
0
- 1
+ 0
0
0
0
@@ -202,739 +182,11 @@
- Kernel
- 0
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 1
- 0
- 0
- 0
-
- 2
- 15
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 3
- 16
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- stm32f4xx_hal_msp.c
- 0
- 0
-
-
- 3
- 18
- 2
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f410rx.s
- startup_stm32f410rx.s
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 4
- 22
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 26
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 27
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
-
-
- libc
- 0
- 0
- 0
- 0
-
- 7
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\time.c
- time.c
- 0
- 0
-
-
-
-
- STM32_HAL
+ Source Group 1
0
0
0
0
-
- 8
- 40
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- system_stm32f4xx.c
- 0
- 0
-
-
- 8
- 41
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal.c
- 0
- 0
-
-
- 8
- 42
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_cec.c
- 0
- 0
-
-
- 8
- 43
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_cortex.c
- 0
- 0
-
-
- 8
- 44
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_crc.c
- 0
- 0
-
-
- 8
- 45
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_cryp.c
- 0
- 0
-
-
- 8
- 46
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_cryp_ex.c
- 0
- 0
-
-
- 8
- 47
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_dma.c
- 0
- 0
-
-
- 8
- 48
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
- stm32f4xx_hal_dma_ex.c
- 0
- 0
-
-
- 8
- 49
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
- stm32f4xx_hal_pwr.c
- 0
- 0
-
-
- 8
- 50
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
- stm32f4xx_hal_pwr_ex.c
- 0
- 0
-
-
- 8
- 51
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
- stm32f4xx_hal_rcc.c
- 0
- 0
-
-
- 8
- 52
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
- stm32f4xx_hal_rcc_ex.c
- 0
- 0
-
-
- 8
- 53
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
- stm32f4xx_hal_rng.c
- 0
- 0
-
-
- 8
- 54
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
- stm32f4xx_hal_gpio.c
- 0
- 0
-
-
- 8
- 55
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
- stm32f4xx_hal_uart.c
- 0
- 0
-
-
- 8
- 56
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
- stm32f4xx_hal_usart.c
- 0
- 0
-
diff --git a/bsp/stm32/stm32f410-st-nucleo/project.uvprojx b/bsp/stm32/stm32f410-st-nucleo/project.uvprojx
index 7211b987014b370aa14bf3c3ad5564ff009ce688..296dc36c571d183d452faf8d23cf9adc6db479e1 100644
--- a/bsp/stm32/stm32f410-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32f410-st-nucleo/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rtthread
@@ -19,28 +16,28 @@
Keil.STM32F4xx_DFP.2.14.0
http://www.keil.com/pack/
IRAM(0x20000000,0x00008000) IROM(0x08000000,0x00020000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_128 -FS08000000 -FL020000 -FP0($$Device:STM32F410RBTx$CMSIS\Flash\STM32F4xx_128.FLM))
0
$$Device:STM32F410RBTx$Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32F410RBTx$CMSIS\SVD\STM32F410xx.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -138,11 +135,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M4"
-
+
0
0
0
@@ -308,7 +305,7 @@
0x0
-
+
1
@@ -335,10 +332,10 @@
0
0
-
- STM32F410Rx, USE_HAL_DRIVER
-
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+
+ STM32F410Rx, USE_HAL_DRIVER, __RTTHREAD__
+
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -353,10 +350,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -368,99 +365,128 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+
+ CPU
+
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+ DeviceDrivers
+
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -472,26 +498,36 @@
1
board\board.c
+
+
stm32f4xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
startup_stm32f410rx.s
2
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f410rx.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_common.c
1
@@ -500,102 +536,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
+
+
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
+
+
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+ Kernel
+
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
+
+
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
+
+
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
+
+
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
+
+
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
+
+
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
+
+
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
+
+
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
+
+
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
+
+
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
+
+
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
+
+
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -610,88 +671,120 @@
- STM32_HAL
+ Libraries
system_stm32f4xx.c
1
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
+
+
stm32f4xx_hal.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
+
+
stm32f4xx_hal_cec.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
+
+
stm32f4xx_hal_cortex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
+
+
stm32f4xx_hal_crc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
+
+
stm32f4xx_hal_cryp.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
+
+
stm32f4xx_hal_cryp_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
+
+
stm32f4xx_hal_dma.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
+
+
stm32f4xx_hal_dma_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+
+
stm32f4xx_hal_pwr.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
+
+
stm32f4xx_hal_pwr_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
+
+
stm32f4xx_hal_rcc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
+
+
stm32f4xx_hal_rcc_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
+
+
stm32f4xx_hal_rng.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
+
+
stm32f4xx_hal_gpio.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+
+
stm32f4xx_hal_uart.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
+
+
stm32f4xx_hal_usart.c
1
@@ -702,11 +795,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32f411-atk-nano/project.ewp b/bsp/stm32/stm32f411-atk-nano/project.ewp
index 6ccceff90f87c7822900f4b3cbe7364c931a4275..18b932ca8f0d5106d64e04d58ddbf42cc3f9487a 100644
--- a/bsp/stm32/stm32f411-atk-nano/project.ewp
+++ b/bsp/stm32/stm32f411-atk-nano/project.ewp
@@ -215,8 +215,9 @@
CCDefines
- RT_USING_DLIBC
STM32F411xE
+ __RTTHREAD__
+ RT_USING_DLIBC
USE_HAL_DRIVER
@@ -1250,8 +1251,9 @@
CCDefines
- RT_USING_DLIBC
STM32F411xE
+ __RTTHREAD__
+ RT_USING_DLIBC
USE_HAL_DRIVER
@@ -2078,7 +2080,7 @@
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2155,42 +2157,6 @@
$PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
-
- dlib
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\rmtx.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c
-
-
Drivers
@@ -2277,9 +2243,42 @@
$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\rmtx.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c
+
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f411-atk-nano/project.uvprojx b/bsp/stm32/stm32f411-atk-nano/project.uvprojx
index 7e1140e5899ce136a16705e7143985dddfa86ad6..ca0438865344dac79196995e7ecce189607b59d2 100644
--- a/bsp/stm32/stm32f411-atk-nano/project.uvprojx
+++ b/bsp/stm32/stm32f411-atk-nano/project.uvprojx
@@ -331,9 +331,9 @@
0
- USE_HAL_DRIVER, STM32F411xE
+ USE_HAL_DRIVER, STM32F411xE, RT_USING_ARM_LIBC, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\spi;..\..\..\components\drivers\include;..\..\..\components\drivers\spi\sfud\inc;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\spi;..\..\..\components\drivers\include;..\..\..\components\drivers\spi\sfud\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -375,115 +375,200 @@
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+ CPU
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ i2c_core.c
1
- ..\..\..\src\irq.c
+ ..\..\..\components\drivers\i2c\i2c_core.c
- kservice.c
+ i2c_dev.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\i2c\i2c_dev.c
- mem.c
+ i2c-bit-ops.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\i2c\i2c-bit-ops.c
- mempool.c
+ pin.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\misc\pin.c
- object.c
+ rtc.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\rtc\rtc.c
- scheduler.c
+ serial.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\serial\serial.c
- signal.c
+ spi_core.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\spi\spi_core.c
- thread.c
+ spi_dev.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\spi\spi_dev.c
- timer.c
+ spi_flash_sfud.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\spi\spi_flash_sfud.c
-
-
- Applications
- main.c
+ sfud.c
1
- applications\main.c
+ ..\..\..\components\drivers\spi\sfud\src\sfud.c
+
+
+
+
+ sfud_sfdp.c
+ 1
+ ..\..\..\components\drivers\spi\sfud\src\sfud_sfdp.c
+
+
+
+
+ completion.c
+ 1
+ ..\..\..\components\drivers\src\completion.c
+
+
+
+
+ dataqueue.c
+ 1
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
+
+
+ pipe.c
+ 1
+ ..\..\..\components\drivers\src\pipe.c
+
+
+
+
+ ringblk_buf.c
+ 1
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
+
+
+ ringbuffer.c
+ 1
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
+
+
+ waitqueue.c
+ 1
+ ..\..\..\components\drivers\src\waitqueue.c
+
+
+ workqueue.c
+ 1
+ ..\..\..\components\drivers\src\workqueue.c
+
+
+
+
+ watchdog.c
+ 1
+ ..\..\..\components\drivers\watchdog\watchdog.c
+
+
+
+
+
+
+ --c99
+
+
+
+
+
+
+
Drivers
@@ -538,182 +623,153 @@
- cpu
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
+ finsh
- div0.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\shell.c
- showmem.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\cmd.c
- cpuport.c
+ msh.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ ..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- pin.c
+ clock.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\clock.c
- serial.c
+ components.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\components.c
- spi_core.c
+ device.c
1
- ..\..\..\components\drivers\spi\spi_core.c
+ ..\..\..\src\device.c
- spi_dev.c
+ idle.c
1
- ..\..\..\components\drivers\spi\spi_dev.c
+ ..\..\..\src\idle.c
- spi_flash_sfud.c
+ ipc.c
1
- ..\..\..\components\drivers\spi\spi_flash_sfud.c
+ ..\..\..\src\ipc.c
- sfud.c
+ irq.c
1
- ..\..\..\components\drivers\spi\sfud\src\sfud.c
+ ..\..\..\src\irq.c
- sfud_sfdp.c
+ kservice.c
1
- ..\..\..\components\drivers\spi\sfud\src\sfud_sfdp.c
+ ..\..\..\src\kservice.c
- completion.c
+ mem.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\mem.c
- dataqueue.c
+ mempool.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\mempool.c
- pipe.c
+ object.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\object.c
- ringblk_buf.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\scheduler.c
- ringbuffer.c
+ signal.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\signal.c
- waitqueue.c
+ thread.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\thread.c
- workqueue.c
+ timer.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\timer.c
-
-
-
-
- --c99
-
-
-
-
-
-
-
- finsh
+ libc
- shell.c
+ libc.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\libc\compilers\armlibc\libc.c
- cmd.c
+ mem_std.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\libc\compilers\armlibc\mem_std.c
- msh.c
+ stubs.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\libc\compilers\armlibc\stubs.c
-
-
- libc
time.c
@@ -723,7 +779,7 @@
- STM32_HAL
+ Libraries
system_stm32f4xx.c
@@ -843,6 +899,20 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
+
+
+ stm32f4xx_hal_i2c.c
+ 1
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
+
+
+
+
+ stm32f4xx_hal_i2c_ex.c
+ 1
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
+
+
stm32f4xx_hal_spi.c
@@ -857,6 +927,34 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
+
+
+ stm32f4xx_hal_rtc.c
+ 1
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc.c
+
+
+
+
+ stm32f4xx_hal_rtc_ex.c
+ 1
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc_ex.c
+
+
+
+
+ stm32f4xx_hal_iwdg.c
+ 1
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
+
+
+
+
+ stm32f4xx_hal_wwdg.c
+ 1
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c
+
+
diff --git a/bsp/stm32/stm32f411-st-nucleo/project.ewp b/bsp/stm32/stm32f411-st-nucleo/project.ewp
index 62c7e09b9990c0474c46a2040d97be0a20344de1..072e572ba102730131fb3c87664f3db39562cc0d 100644
--- a/bsp/stm32/stm32f411-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32f411-st-nucleo/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F411xE
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -351,7 +352,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -1247,6 +1247,7 @@
CCDefines
STM32F411xE
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1382,7 +1383,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -2063,57 +2063,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2138,70 +2138,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f411-st-nucleo/project.uvprojx b/bsp/stm32/stm32f411-st-nucleo/project.uvprojx
index 72b7b076cb5c9eccd604ec739e53961d3a38b214..4a182fcd8059e97f6d93f9f25c5678b6e8e3e4da 100644
--- a/bsp/stm32/stm32f411-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32f411-st-nucleo/project.uvprojx
@@ -331,9 +331,9 @@
0
- USE_HAL_DRIVER, STM32F411xE
+ USE_HAL_DRIVER, STM32F411xE, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -375,120 +375,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -538,135 +534,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f411-weact-MiniF4/project.ewp b/bsp/stm32/stm32f411-weact-MiniF4/project.ewp
index 62c7e09b9990c0474c46a2040d97be0a20344de1..ab208b75d29b3d4ebceb2f15b24752f9277d280d 100644
--- a/bsp/stm32/stm32f411-weact-MiniF4/project.ewp
+++ b/bsp/stm32/stm32f411-weact-MiniF4/project.ewp
@@ -10,7 +10,7 @@
General
3
- 29
+ 31
1
1
@@ -65,7 +65,7 @@
OGLastSavedByProductVersion
- 8.20.1.14181
+ 8.40.1.21529
GeneralEnableMisra
@@ -77,7 +77,7 @@
OGChipSelectEditMenu
- STM32F411RE ST STM32F411RE
+ STM32F411CE ST STM32F411CE
GenLowLevelInterface
@@ -111,11 +111,11 @@
RTConfigPath2
- $TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
+ $TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h
GBECoreSlave
- 26
+ 27
39
@@ -132,12 +132,12 @@
CoreVariant
- 26
+ 27
39
GFPUDeviceSlave
- STM32F411RE ST STM32F411RE
+ STM32F411CE ST STM32F411CE
FPU2
@@ -155,7 +155,7 @@
GFPUCoreSlave2
- 26
+ 27
39
@@ -199,13 +199,22 @@
DSPExtension
1
+
+ TrustZone
+ 0
+
+
+ TrustZoneModes
+ 0
+ 0
+
ICCARM
2
- 34
+ 35
1
1
@@ -216,6 +225,7 @@
CCDefines
STM32F411xE
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -346,6 +356,7 @@
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\.
$PROJ_DIR$\applications
@@ -470,6 +481,10 @@
IccRTTI2
0
+
+ OICompilerExtraOption
+ 1
+
@@ -690,7 +705,7 @@
ILINK
0
- 20
+ 23
1
1
@@ -1002,6 +1017,30 @@
IlinkLocaleSelect
1
+
+ IlinkTrustzoneImportLibraryOut
+ ###Unitialized###
+
+
+ OILinkExtraOption
+ 1
+
+
+ IlinkRawBinaryFile2
+
+
+
+ IlinkRawBinarySymbol2
+
+
+
+ IlinkRawBinarySegment2
+
+
+
+ IlinkRawBinaryAlign2
+
+
@@ -1041,7 +1080,7 @@
General
3
- 29
+ 31
1
0
@@ -1146,7 +1185,7 @@
GBECoreSlave
- 26
+ 27
1
@@ -1163,7 +1202,7 @@
CoreVariant
- 26
+ 27
0
@@ -1186,7 +1225,7 @@
GFPUCoreSlave2
- 26
+ 27
0
@@ -1230,13 +1269,22 @@
DSPExtension
0
+
+ TrustZone
+ 0
+
+
+ TrustZoneModes
+ 0
+ 0
+
ICCARM
2
- 34
+ 35
1
0
@@ -1247,6 +1295,7 @@
CCDefines
STM32F411xE
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1377,6 +1426,7 @@
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\.
$PROJ_DIR$\applications
@@ -1501,6 +1551,10 @@
IccRTTI2
0
+
+ OICompilerExtraOption
+ 1
+
@@ -1721,7 +1775,7 @@
ILINK
0
- 20
+ 23
1
0
@@ -2033,6 +2087,30 @@
IlinkLocaleSelect
1
+
+ IlinkTrustzoneImportLibraryOut
+ ###Unitialized###
+
+
+ OILinkExtraOption
+ 1
+
+
+ IlinkRawBinaryFile2
+
+
+
+ IlinkRawBinarySymbol2
+
+
+
+ IlinkRawBinarySegment2
+
+
+
+ IlinkRawBinaryAlign2
+
+
@@ -2063,57 +2141,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2138,70 +2216,70 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
libc
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f411-weact-MiniF4/project.uvprojx b/bsp/stm32/stm32f411-weact-MiniF4/project.uvprojx
index e16b3651e2a5c5bde7f504ffe4eb5f3b4ac45c39..50ea7232cdee1ef410076a068dfd3ad2444c1106 100644
--- a/bsp/stm32/stm32f411-weact-MiniF4/project.uvprojx
+++ b/bsp/stm32/stm32f411-weact-MiniF4/project.uvprojx
@@ -332,9 +332,9 @@
0
- USE_HAL_DRIVER, STM32F411xE
+ USE_HAL_DRIVER, STM32F411xE, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -376,113 +376,116 @@
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+ CPU
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -532,130 +535,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -670,7 +670,7 @@
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f412-st-nucleo/project.ewp b/bsp/stm32/stm32f412-st-nucleo/project.ewp
index 5e5c07765dca9d9d2c0cacea27d19123458764b0..884df35e16f900bcdc802a9da43638885815878a 100644
--- a/bsp/stm32/stm32f412-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32f412-st-nucleo/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32F412Zx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1277,6 +1278,7 @@
CCDefines
STM32F412Zx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2105,54 +2107,57 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2177,63 +2182,60 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2243,7 +2245,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f412-st-nucleo/project.uvprojx b/bsp/stm32/stm32f412-st-nucleo/project.uvprojx
index 301bb1038b0e4a1279299a4b2a8f65be8095ab69..c802a60188a0c59fdeaacbd8cedc916d64c142e8 100644
--- a/bsp/stm32/stm32f412-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32f412-st-nucleo/project.uvprojx
@@ -333,9 +333,9 @@
0
- USE_HAL_DRIVER, STM32F412Zx
+ USE_HAL_DRIVER, STM32F412Zx, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -377,113 +377,116 @@
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+ CPU
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -533,130 +536,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -671,7 +671,7 @@
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f413-st-nucleo/project.ewp b/bsp/stm32/stm32f413-st-nucleo/project.ewp
index 9fc1c540d247dccf977efc487d6549ac00ebcc08..7839146ce6232866d62ad2129658b32c5c66cd26 100644
--- a/bsp/stm32/stm32f413-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32f413-st-nucleo/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F413xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1246,6 +1247,7 @@
CCDefines
STM32F413xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2062,54 +2064,60 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
@@ -2134,66 +2142,60 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\components.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
+ $PROJ_DIR$\..\..\..\src\object.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2203,7 +2205,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f413-st-nucleo/project.uvoptx b/bsp/stm32/stm32f413-st-nucleo/project.uvoptx
index 0c839365312fbdd4460702ce2eb5638d0104d08e..7384c8aaf0a6e32d093bdbdfc99baa3bd34c9afc 100644
--- a/bsp/stm32/stm32f413-st-nucleo/project.uvoptx
+++ b/bsp/stm32/stm32f413-st-nucleo/project.uvoptx
@@ -117,30 +117,10 @@
STLink\ST-LINKIII-KEIL_SWO.dll
-
- 0
- ARMRTXEVENTFLAGS
- -L70 -Z18 -C0 -M0 -T1
-
-
- 0
- DLGTARM
- (1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0)
-
-
- 0
- ARMDBGFLAGS
-
-
-
- 0
- DLGUARM
- (105=-1,-1,-1,-1,0)
-
0
ST-LINKIII-KEIL_SWO
- -U-O206 -O206 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P2 -N00("ARM CoreSight SW-DP (ARM Core") -D00(2BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1536.FLM -FS08000000 -FL0180000 -FP0($$Device:STM32F413ZHTx$CMSIS\Flash\STM32F4xx_1536.FLM)
+ -U-O206 -O206 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P2 -N00("") -D00(00000000) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1536.FLM -FS08000000 -FL0180000 -FP0($$Device:STM32F413ZHTx$CMSIS\Flash\STM32F4xx_1536.FLM)
0
@@ -160,12 +140,12 @@
0
0
- 1
+ 0
0
0
0
0
- 1
+ 0
0
0
0
@@ -207,775 +187,11 @@
- Kernel
- 0
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 0
- 0
- 0
- 0
-
- 2
- 15
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 3
- 16
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- stm32f4xx_hal_msp.c
- 0
- 0
-
-
- 3
- 18
- 2
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f413xx.s
- startup_stm32f413xx.s
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 4
- 22
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 26
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 27
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\watchdog\watchdog.c
- watchdog.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
-
-
- libc
- 0
- 0
- 0
- 0
-
- 7
- 40
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\time.c
- time.c
- 0
- 0
-
-
-
-
- STM32_HAL
+ Source Group 1
0
0
0
0
-
- 8
- 41
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- system_stm32f4xx.c
- 0
- 0
-
-
- 8
- 42
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal.c
- 0
- 0
-
-
- 8
- 43
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_cec.c
- 0
- 0
-
-
- 8
- 44
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_cortex.c
- 0
- 0
-
-
- 8
- 45
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_crc.c
- 0
- 0
-
-
- 8
- 46
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_cryp.c
- 0
- 0
-
-
- 8
- 47
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_cryp_ex.c
- 0
- 0
-
-
- 8
- 48
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_dma.c
- 0
- 0
-
-
- 8
- 49
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
- stm32f4xx_hal_dma_ex.c
- 0
- 0
-
-
- 8
- 50
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
- stm32f4xx_hal_pwr.c
- 0
- 0
-
-
- 8
- 51
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
- stm32f4xx_hal_pwr_ex.c
- 0
- 0
-
-
- 8
- 52
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
- stm32f4xx_hal_rcc.c
- 0
- 0
-
-
- 8
- 53
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
- stm32f4xx_hal_rcc_ex.c
- 0
- 0
-
-
- 8
- 54
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
- stm32f4xx_hal_rng.c
- 0
- 0
-
-
- 8
- 55
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
- stm32f4xx_hal_gpio.c
- 0
- 0
-
-
- 8
- 56
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
- stm32f4xx_hal_uart.c
- 0
- 0
-
-
- 8
- 57
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
- stm32f4xx_hal_usart.c
- 0
- 0
-
-
- 8
- 58
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
- stm32f4xx_hal_iwdg.c
- 0
- 0
-
-
- 8
- 59
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c
- stm32f4xx_hal_wwdg.c
- 0
- 0
-
diff --git a/bsp/stm32/stm32f413-st-nucleo/project.uvproj b/bsp/stm32/stm32f413-st-nucleo/project.uvproj
index f87c223adc043f9ea9559c9294b0941380bbd8f5..d3d21e0a1b22b0de4bb84045cc904800ee0f37be 100644
--- a/bsp/stm32/stm32f413-st-nucleo/project.uvproj
+++ b/bsp/stm32/stm32f413-st-nucleo/project.uvproj
@@ -357,9 +357,9 @@
0
- USE_HAL_DRIVER, STM32F413xx
+ USE_HAL_DRIVER, STM32F413xx, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -400,113 +400,123 @@
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+ CPU
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
1
- ..\..\..\src\irq.c
+ ..\..\..\components\drivers\misc\pin.c
- kservice.c
+ serial.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\serial\serial.c
- mem.c
+ completion.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\src\completion.c
- mempool.c
+ dataqueue.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\dataqueue.c
- object.c
+ pipe.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\pipe.c
- scheduler.c
+ ringblk_buf.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- signal.c
+ ringbuffer.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- thread.c
+ waitqueue.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\waitqueue.c
- timer.c
+ workqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\workqueue.c
-
-
- Applications
- main.c
+ watchdog.c
1
- applications\main.c
+ ..\..\..\components\drivers\watchdog\watchdog.c
@@ -556,137 +566,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ ..\..\..\src\clock.c
-
-
- DeviceDrivers
- pin.c
+ components.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\components.c
- serial.c
+ device.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\device.c
- completion.c
+ idle.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\idle.c
- dataqueue.c
+ ipc.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\ipc.c
- pipe.c
+ irq.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\irq.c
- ringblk_buf.c
+ kservice.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\kservice.c
- ringbuffer.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mem.c
- waitqueue.c
+ mempool.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\mempool.c
- workqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\object.c
- watchdog.c
+ scheduler.c
1
- ..\..\..\components\drivers\watchdog\watchdog.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -701,7 +701,7 @@
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f413-st-nucleo/project.uvprojx b/bsp/stm32/stm32f413-st-nucleo/project.uvprojx
index 5069e31cf2e115571cc37a58b2634e30c1a9e3e9..5971219f50823f8e507bc1bfd585da3b09f755f8 100644
--- a/bsp/stm32/stm32f413-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32f413-st-nucleo/project.uvprojx
@@ -1,16 +1,13 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
0x4
ARM-ADS
- 5060750::V5.06 update 6 (build 750)::.\ARMCC
+ 5060750::V5.06 update 6 (build 750)::ARMCC
0
@@ -19,28 +16,28 @@
Keil.STM32F4xx_DFP.2.14.0
http://www.keil.com/pack/
IRAM(0x20000000,0x00050000) IROM(0x08000000,0x00180000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1536 -FS08000000 -FL0180000 -FP0($$Device:STM32F413ZHTx$CMSIS\Flash\STM32F4xx_1536.FLM))
0
$$Device:STM32F413ZHTx$Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32F413ZHTx$CMSIS\SVD\STM32F413.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -139,10 +136,10 @@
1
BIN\UL2CM3.DLL
"" ()
-
-
-
-
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M4"
-
+
0
0
0
@@ -309,7 +306,7 @@
0x0
-
+
1
@@ -336,10 +333,10 @@
0
0
-
- USE_HAL_DRIVER, STM32F413xx
-
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+
+ USE_HAL_DRIVER, STM32F413xx, __RTTHREAD__
+
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -354,10 +351,10 @@
0
4
-
-
-
-
+
+
+
+
@@ -369,99 +366,135 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+
+ CPU
+
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
- irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
1
- ..\..\..\src\irq.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- kservice.c
+ serial.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- mem.c
+ completion.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- mempool.c
+ dataqueue.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- object.c
+ pipe.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
- scheduler.c
+ ringblk_buf.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
- signal.c
+ ringbuffer.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
- thread.c
+ waitqueue.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\waitqueue.c
+
+
- timer.c
+ workqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\workqueue.c
-
-
- Applications
- main.c
+ watchdog.c
1
- applications\main.c
+ ..\..\..\components\drivers\watchdog\watchdog.c
@@ -473,26 +506,36 @@
1
board\board.c
+
+
stm32f4xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
startup_stm32f413xx.s
2
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f413xx.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_common.c
1
@@ -501,107 +544,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
+
+
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
+
+
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+ Kernel
+
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ ..\..\..\src\clock.c
-
-
- DeviceDrivers
- pin.c
+ components.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\components.c
+
+
- serial.c
+ device.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\device.c
+
+
- completion.c
+ idle.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\idle.c
+
+
- dataqueue.c
+ ipc.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\ipc.c
+
+
- pipe.c
+ irq.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\irq.c
+
+
- ringblk_buf.c
+ kservice.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\kservice.c
+
+
- ringbuffer.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mem.c
+
+
- waitqueue.c
+ mempool.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\mempool.c
+
+
- workqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\object.c
+
+
- watchdog.c
+ scheduler.c
1
- ..\..\..\components\drivers\watchdog\watchdog.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
+
+
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
+
+
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -616,98 +679,134 @@
- STM32_HAL
+ Libraries
system_stm32f4xx.c
1
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
+
+
stm32f4xx_hal.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
+
+
stm32f4xx_hal_cec.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
+
+
stm32f4xx_hal_cortex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
+
+
stm32f4xx_hal_crc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
+
+
stm32f4xx_hal_cryp.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
+
+
stm32f4xx_hal_cryp_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
+
+
stm32f4xx_hal_dma.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
+
+
stm32f4xx_hal_dma_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+
+
stm32f4xx_hal_pwr.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
+
+
stm32f4xx_hal_pwr_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
+
+
stm32f4xx_hal_rcc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
+
+
stm32f4xx_hal_rcc_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
+
+
stm32f4xx_hal_rng.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
+
+
stm32f4xx_hal_gpio.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+
+
stm32f4xx_hal_uart.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
+
+
stm32f4xx_hal_usart.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
+
+
stm32f4xx_hal_iwdg.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
+
+
stm32f4xx_hal_wwdg.c
1
@@ -718,26 +817,23 @@
-
-
-
-
+
+
+
-
<Project Info>
-
-
-
-
-
+
+
+
+
+
0
1
-
diff --git a/bsp/stm32/stm32f427-robomaster-a/project.ewp b/bsp/stm32/stm32f427-robomaster-a/project.ewp
index 0b4f78324a2f98a5fd6580a9b72cb82ed2278ae4..33ddb99019993654550227998263161bf7db49a9 100644
--- a/bsp/stm32/stm32f427-robomaster-a/project.ewp
+++ b/bsp/stm32/stm32f427-robomaster-a/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F427xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1247,6 +1248,7 @@
CCDefines
STM32F427xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2064,57 +2066,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2139,63 +2141,60 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2205,7 +2204,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f427-robomaster-a/project.uvproj b/bsp/stm32/stm32f427-robomaster-a/project.uvproj
index a2c80e0594ebcb24c1dc61224704ae1a1ed5aebe..69ed099f56ad2f37fa49534e715a9f17e20b379e 100644
--- a/bsp/stm32/stm32f427-robomaster-a/project.uvproj
+++ b/bsp/stm32/stm32f427-robomaster-a/project.uvproj
@@ -357,9 +357,9 @@
0
- USE_HAL_DRIVER, STM32F407xx
+ STM32F427xx, USE_HAL_DRIVER, __RTTHREAD__
- applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -392,7 +392,7 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
+
@@ -410,153 +410,28 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f407xx.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
-
-
-
-
- drv_gpio.c
- 1
- ..\libraries\HAL_Drivers\drv_gpio.c
-
-
-
-
- drv_usart.c
- 1
- ..\libraries\HAL_Drivers\drv_usart.c
-
-
-
-
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
-
-
- components.c
- 1
- ..\..\..\src\components.c
-
-
-
-
- device.c
- 1
- ..\..\..\src\device.c
-
-
-
-
- idle.c
- 1
- ..\..\..\src\idle.c
-
-
-
-
- ipc.c
- 1
- ..\..\..\src\ipc.c
-
-
-
-
- irq.c
- 1
- ..\..\..\src\irq.c
-
-
-
-
- kservice.c
- 1
- ..\..\..\src\kservice.c
-
-
-
-
- mem.c
- 1
- ..\..\..\src\mem.c
-
-
-
-
- mempool.c
- 1
- ..\..\..\src\mempool.c
-
-
-
-
- object.c
- 1
- ..\..\..\src\object.c
-
-
+ CPU
- scheduler.c
+ backtrace.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- signal.c
+ div0.c
1
- ..\..\..\src\signal.c
+ ..\..\..\libcpu\arm\common\div0.c
- thread.c
+ showmem.c
1
- ..\..\..\src\thread.c
+ ..\..\..\libcpu\arm\common\showmem.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
-
- CORTEX-M4
cpuport.c
@@ -571,27 +446,6 @@
..\..\..\libcpu\arm\cortex-m4\context_rvds.S
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
-
-
- div0.c
- 1
- ..\..\..\libcpu\arm\common\div0.c
-
-
-
-
- showmem.c
- 1
- ..\..\..\libcpu\arm\common\showmem.c
-
-
DeviceDrivers
@@ -660,351 +514,248 @@
- finsh
+ Drivers
- shell.c
+ board.c
1
- ..\..\..\components\finsh\shell.c
+ board\board.c
- symbol.c
+ stm32f4xx_hal_msp.c
1
- ..\..\..\components\finsh\symbol.c
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
+ startup_stm32f427xx.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f427xx.s
- msh.c
+ drv_gpio.c
1
- ..\..\..\components\finsh\msh.c
+ ..\libraries\HAL_Drivers\drv_gpio.c
- msh_cmd.c
+ drv_usart.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\libraries\HAL_Drivers\drv_usart.c
- msh_file.c
+ drv_common.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\libraries\HAL_Drivers\drv_common.c
- STM32_HAL
-
-
- system_stm32f4xx.c
- 1
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
-
-
-
-
- stm32f4xx_hal.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
-
-
-
-
- stm32f4xx_hal_adc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c
-
-
-
-
- stm32f4xx_hal_adc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c
-
-
-
-
- stm32f4xx_hal_can.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c
-
-
-
-
- stm32f4xx_hal_cec.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
-
-
-
-
- stm32f4xx_hal_cortex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
-
-
-
-
- stm32f4xx_hal_crc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
-
-
-
-
- stm32f4xx_hal_cryp.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
-
-
-
-
- stm32f4xx_hal_cryp_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
-
-
-
-
- stm32f4xx_hal_dac.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac.c
-
-
-
-
- stm32f4xx_hal_dac_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac_ex.c
-
-
-
-
- stm32f4xx_hal_dcmi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi.c
-
-
-
-
- stm32f4xx_hal_dcmi_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi_ex.c
-
-
-
-
- stm32f4xx_hal_dfsdm.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dfsdm.c
-
-
-
-
- stm32f4xx_hal_dma.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
-
-
+ finsh
- stm32f4xx_hal_dma2d.c
+ shell.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma2d.c
+ ..\..\..\components\finsh\shell.c
- stm32f4xx_hal_dma_ex.c
+ cmd.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+ ..\..\..\components\finsh\cmd.c
- stm32f4xx_hal_dsi.c
+ msh.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dsi.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- stm32f4xx_hal_eth.c
+ clock.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_eth.c
+ ..\..\..\src\clock.c
- stm32f4xx_hal_flash.c
+ components.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
+ ..\..\..\src\components.c
- stm32f4xx_hal_flash_ex.c
+ device.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
+ ..\..\..\src\device.c
- stm32f4xx_hal_flash_ramfunc.c
+ idle.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
+ ..\..\..\src\idle.c
- stm32f4xx_hal_fmpi2c.c
+ ipc.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
+ ..\..\..\src\ipc.c
- stm32f4xx_hal_fmpi2c_ex.c
+ irq.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
+ ..\..\..\src\irq.c
- stm32f4xx_hal_gpio.c
+ kservice.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+ ..\..\..\src\kservice.c
- stm32f4xx_hal_hash.c
+ mem.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
+ ..\..\..\src\mem.c
- stm32f4xx_hal_hash_ex.c
+ mempool.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
+ ..\..\..\src\mempool.c
- stm32f4xx_hal_hcd.c
+ object.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.c
+ ..\..\..\src\object.c
- stm32f4xx_hal_i2c.c
+ scheduler.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
+ ..\..\..\src\scheduler.c
- stm32f4xx_hal_i2c_ex.c
+ signal.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
+ ..\..\..\src\signal.c
- stm32f4xx_hal_i2s.c
+ thread.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
+ ..\..\..\src\thread.c
- stm32f4xx_hal_i2s_ex.c
+ timer.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
+ ..\..\..\src\timer.c
+
+
+ libc
- stm32f4xx_hal_irda.c
+ time.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
+ ..\..\..\components\libc\compilers\common\time.c
+
+
+ Libraries
- stm32f4xx_hal_iwdg.c
+ system_stm32f4xx.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- stm32f4xx_hal_lptim.c
+ stm32f4xx_hal.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal_ltdc.c
+ stm32f4xx_hal_cec.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_ltdc_ex.c
+ stm32f4xx_hal_cortex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_nand.c
+ stm32f4xx_hal_crc.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_nor.c
+ stm32f4xx_hal_cryp.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_pccard.c
+ stm32f4xx_hal_cryp_ex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_pcd.c
+ stm32f4xx_hal_dma.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_pcd_ex.c
+ stm32f4xx_hal_dma_ex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
@@ -1021,13 +772,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
-
-
- stm32f4xx_hal_qspi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
-
-
stm32f4xx_hal_rcc.c
@@ -1051,86 +795,9 @@
- stm32f4xx_hal_rtc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc.c
-
-
-
-
- stm32f4xx_hal_rtc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc_ex.c
-
-
-
-
- stm32f4xx_hal_sai.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai.c
-
-
-
-
- stm32f4xx_hal_sai_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai_ex.c
-
-
-
-
- stm32f4xx_hal_sd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sd.c
-
-
-
-
- stm32f4xx_hal_sdram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sdram.c
-
-
-
-
- stm32f4xx_hal_smartcard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_smartcard.c
-
-
-
-
- stm32f4xx_hal_spdifrx.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spdifrx.c
-
-
-
-
- stm32f4xx_hal_spi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c
-
-
-
-
- stm32f4xx_hal_sram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
-
-
-
-
- stm32f4xx_hal_tim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c
-
-
-
-
- stm32f4xx_hal_tim_ex.c
+ stm32f4xx_hal_gpio.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
@@ -1147,41 +814,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
-
-
- stm32f4xx_hal_wwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c
-
-
-
-
- stm32f4xx_ll_fmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fmc.c
-
-
-
-
- stm32f4xx_ll_fsmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fsmc.c
-
-
-
-
- stm32f4xx_ll_sdmmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_sdmmc.c
-
-
-
-
- stm32f4xx_ll_usb.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usb.c
-
-
diff --git a/bsp/stm32/stm32f427-robomaster-a/project.uvprojx b/bsp/stm32/stm32f427-robomaster-a/project.uvprojx
index 3e913ef2b408ce0118d31e328c2cac567d323117..bdd3e1f6e4cfad7c334cf94bc1265c4f03a048e5 100644
--- a/bsp/stm32/stm32f427-robomaster-a/project.uvprojx
+++ b/bsp/stm32/stm32f427-robomaster-a/project.uvprojx
@@ -330,9 +330,9 @@
0
- STM32F427xx, USE_HAL_DRIVER
+ STM32F427xx, USE_HAL_DRIVER, __RTTHREAD__
- .;..\..\..\include;applications;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -374,120 +374,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -537,130 +533,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -675,7 +668,7 @@
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f429-armfly-v6/project.ewp b/bsp/stm32/stm32f429-armfly-v6/project.ewp
index 484ae97e8dda321e2275de4d08d8369f75505802..4e17e3569f4749d0b663cc9f5a2c417dd262b460 100644
--- a/bsp/stm32/stm32f429-armfly-v6/project.ewp
+++ b/bsp/stm32/stm32f429-armfly-v6/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F429xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -352,7 +353,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -1247,6 +1247,7 @@
CCDefines
STM32F429xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1383,7 +1384,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -2064,57 +2064,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\memheap.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2142,70 +2142,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\memheap.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f429-armfly-v6/project.uvproj b/bsp/stm32/stm32f429-armfly-v6/project.uvproj
index a2c80e0594ebcb24c1dc61224704ae1a1ed5aebe..f7f776527451390b34c7a3e59e35219e79e15d67 100644
--- a/bsp/stm32/stm32f429-armfly-v6/project.uvproj
+++ b/bsp/stm32/stm32f429-armfly-v6/project.uvproj
@@ -357,9 +357,9 @@
0
- USE_HAL_DRIVER, STM32F407xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F429xx
- applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -392,7 +392,7 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
+
@@ -410,153 +410,28 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f407xx.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
-
-
-
-
- drv_gpio.c
- 1
- ..\libraries\HAL_Drivers\drv_gpio.c
-
-
-
-
- drv_usart.c
- 1
- ..\libraries\HAL_Drivers\drv_usart.c
-
-
-
-
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- Kernel
+ CPU
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
-
-
- components.c
- 1
- ..\..\..\src\components.c
-
-
-
-
- device.c
- 1
- ..\..\..\src\device.c
-
-
-
-
- idle.c
- 1
- ..\..\..\src\idle.c
-
-
-
-
- ipc.c
- 1
- ..\..\..\src\ipc.c
-
-
-
-
- irq.c
- 1
- ..\..\..\src\irq.c
-
-
-
-
- kservice.c
- 1
- ..\..\..\src\kservice.c
-
-
-
-
- mem.c
- 1
- ..\..\..\src\mem.c
-
-
-
-
- mempool.c
- 1
- ..\..\..\src\mempool.c
-
-
-
-
- object.c
- 1
- ..\..\..\src\object.c
-
-
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
-
-
- signal.c
+ backtrace.c
1
- ..\..\..\src\signal.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- thread.c
+ div0.c
1
- ..\..\..\src\thread.c
+ ..\..\..\libcpu\arm\common\div0.c
- timer.c
+ showmem.c
1
- ..\..\..\src\timer.c
+ ..\..\..\libcpu\arm\common\showmem.c
-
-
- CORTEX-M4
cpuport.c
@@ -571,27 +446,6 @@
..\..\..\libcpu\arm\cortex-m4\context_rvds.S
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
-
-
- div0.c
- 1
- ..\..\..\libcpu\arm\common\div0.c
-
-
-
-
- showmem.c
- 1
- ..\..\..\libcpu\arm\common\showmem.c
-
-
DeviceDrivers
@@ -660,351 +514,245 @@
- finsh
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- symbol.c
- 1
- ..\..\..\components\finsh\symbol.c
-
-
-
-
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
-
-
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
-
-
- msh_cmd.c
- 1
- ..\..\..\components\finsh\msh_cmd.c
-
-
-
-
- msh_file.c
- 1
- ..\..\..\components\finsh\msh_file.c
-
-
-
-
- STM32_HAL
-
-
- system_stm32f4xx.c
- 1
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
-
-
-
-
- stm32f4xx_hal.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
-
-
-
-
- stm32f4xx_hal_adc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c
-
-
-
-
- stm32f4xx_hal_adc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c
-
-
-
-
- stm32f4xx_hal_can.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c
-
-
-
-
- stm32f4xx_hal_cec.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
-
-
-
-
- stm32f4xx_hal_cortex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
-
-
-
-
- stm32f4xx_hal_crc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
-
-
-
-
- stm32f4xx_hal_cryp.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
-
-
-
-
- stm32f4xx_hal_cryp_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
-
-
+ Drivers
- stm32f4xx_hal_dac.c
+ board.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac.c
+ board\board.c
- stm32f4xx_hal_dac_ex.c
+ stm32f4xx_hal_msp.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac_ex.c
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- stm32f4xx_hal_dcmi.c
+ drv_ext_io.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi.c
+ board\ports\drv_ext_io.c
- stm32f4xx_hal_dcmi_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi_ex.c
+ startup_stm32f429xx.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s
- stm32f4xx_hal_dfsdm.c
+ drv_gpio.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dfsdm.c
+ ..\libraries\HAL_Drivers\drv_gpio.c
- stm32f4xx_hal_dma.c
+ drv_usart.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
+ ..\libraries\HAL_Drivers\drv_usart.c
- stm32f4xx_hal_dma2d.c
+ drv_common.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma2d.c
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+ finsh
- stm32f4xx_hal_dma_ex.c
+ shell.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+ ..\..\..\components\finsh\shell.c
- stm32f4xx_hal_dsi.c
+ cmd.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dsi.c
+ ..\..\..\components\finsh\cmd.c
- stm32f4xx_hal_eth.c
+ msh.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_eth.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- stm32f4xx_hal_flash.c
+ clock.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
+ ..\..\..\src\clock.c
- stm32f4xx_hal_flash_ex.c
+ components.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
+ ..\..\..\src\components.c
- stm32f4xx_hal_flash_ramfunc.c
+ device.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
+ ..\..\..\src\device.c
- stm32f4xx_hal_fmpi2c.c
+ idle.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
+ ..\..\..\src\idle.c
- stm32f4xx_hal_fmpi2c_ex.c
+ ipc.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
+ ..\..\..\src\ipc.c
- stm32f4xx_hal_gpio.c
+ irq.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+ ..\..\..\src\irq.c
- stm32f4xx_hal_hash.c
+ kservice.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
+ ..\..\..\src\kservice.c
- stm32f4xx_hal_hash_ex.c
+ memheap.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
+ ..\..\..\src\memheap.c
- stm32f4xx_hal_hcd.c
+ mempool.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.c
+ ..\..\..\src\mempool.c
- stm32f4xx_hal_i2c.c
+ object.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
+ ..\..\..\src\object.c
- stm32f4xx_hal_i2c_ex.c
+ scheduler.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
+ ..\..\..\src\scheduler.c
- stm32f4xx_hal_i2s.c
+ signal.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
+ ..\..\..\src\signal.c
- stm32f4xx_hal_i2s_ex.c
+ thread.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
+ ..\..\..\src\thread.c
- stm32f4xx_hal_irda.c
+ timer.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
+ ..\..\..\src\timer.c
+
+
+ Libraries
- stm32f4xx_hal_iwdg.c
+ system_stm32f4xx.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- stm32f4xx_hal_lptim.c
+ stm32f4xx_hal.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal_ltdc.c
+ stm32f4xx_hal_cec.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_ltdc_ex.c
+ stm32f4xx_hal_cortex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_nand.c
+ stm32f4xx_hal_crc.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_nor.c
+ stm32f4xx_hal_cryp.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_pccard.c
+ stm32f4xx_hal_cryp_ex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_pcd.c
+ stm32f4xx_hal_dma.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_pcd_ex.c
+ stm32f4xx_hal_dma_ex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
@@ -1021,13 +769,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
-
-
- stm32f4xx_hal_qspi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
-
-
stm32f4xx_hal_rcc.c
@@ -1051,86 +792,9 @@
- stm32f4xx_hal_rtc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc.c
-
-
-
-
- stm32f4xx_hal_rtc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc_ex.c
-
-
-
-
- stm32f4xx_hal_sai.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai.c
-
-
-
-
- stm32f4xx_hal_sai_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai_ex.c
-
-
-
-
- stm32f4xx_hal_sd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sd.c
-
-
-
-
- stm32f4xx_hal_sdram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sdram.c
-
-
-
-
- stm32f4xx_hal_smartcard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_smartcard.c
-
-
-
-
- stm32f4xx_hal_spdifrx.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spdifrx.c
-
-
-
-
- stm32f4xx_hal_spi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c
-
-
-
-
- stm32f4xx_hal_sram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
-
-
-
-
- stm32f4xx_hal_tim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c
-
-
-
-
- stm32f4xx_hal_tim_ex.c
+ stm32f4xx_hal_gpio.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
@@ -1147,13 +811,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
-
-
- stm32f4xx_hal_wwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c
-
-
stm32f4xx_ll_fmc.c
@@ -1170,16 +827,9 @@
- stm32f4xx_ll_sdmmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_sdmmc.c
-
-
-
-
- stm32f4xx_ll_usb.c
+ stm32f4xx_hal_sram.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usb.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
diff --git a/bsp/stm32/stm32f429-armfly-v6/project.uvprojx b/bsp/stm32/stm32f429-armfly-v6/project.uvprojx
index 3ea879b1c15022f6583a98e394dcbfcb95840af2..36b2f5b2e3f3aa4b16b587ed43f9397afe7f3605 100644
--- a/bsp/stm32/stm32f429-armfly-v6/project.uvprojx
+++ b/bsp/stm32/stm32f429-armfly-v6/project.uvprojx
@@ -332,9 +332,9 @@
0
- USE_HAL_DRIVER, STM32F429xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F429xx
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -376,120 +376,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- memheap.c
+ serial.c
1
- ..\..\..\src\memheap.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -546,135 +542,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ memheap.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\memheap.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f429-atk-apollo/project.ewp b/bsp/stm32/stm32f429-atk-apollo/project.ewp
index 58c1dfc4727d41c43ac974a2f198d5ac25e4c648..72caa753b072277b736d0eea5fe5a13856544cfa 100644
--- a/bsp/stm32/stm32f429-atk-apollo/project.ewp
+++ b/bsp/stm32/stm32f429-atk-apollo/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F429xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -352,7 +353,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -1248,6 +1248,7 @@
CCDefines
STM32F429xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1384,7 +1385,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -2065,57 +2065,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\memheap.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2140,100 +2140,94 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_compiler.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_error.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_heap.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_init.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_node.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_ops.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_parser.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_var.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_vm.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_token.c
- finsh
+ Kernel
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\components.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_compiler.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_error.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_heap.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_init.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_node.c
+ $PROJ_DIR$\..\..\..\src\memheap.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_ops.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_parser.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_var.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_vm.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_token.c
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f429-atk-apollo/project.uvproj b/bsp/stm32/stm32f429-atk-apollo/project.uvproj
index 0f68ccc0d10138d6da36176333adc23f0571dc00..d540867b374b635bf6f0b0660547997d51abc27e 100644
--- a/bsp/stm32/stm32f429-atk-apollo/project.uvproj
+++ b/bsp/stm32/stm32f429-atk-apollo/project.uvproj
@@ -357,9 +357,9 @@
0
- USE_HAL_DRIVER, STM32F429xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F429xx
- applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -392,7 +392,7 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab) --keep *.o(VSymTab)
+
@@ -410,160 +410,28 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f429xx.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s
-
-
-
-
- drv_gpio.c
- 1
- ..\libraries\HAL_Drivers\drv_gpio.c
-
-
-
-
- drv_usart.c
- 1
- ..\libraries\HAL_Drivers\drv_usart.c
-
-
-
-
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
-
-
- components.c
- 1
- ..\..\..\src\components.c
-
-
-
-
- cpu.c
- 1
- ..\..\..\src\cpu.c
-
-
-
-
- device.c
- 1
- ..\..\..\src\device.c
-
-
-
-
- idle.c
- 1
- ..\..\..\src\idle.c
-
-
-
-
- ipc.c
- 1
- ..\..\..\src\ipc.c
-
-
-
-
- irq.c
- 1
- ..\..\..\src\irq.c
-
-
-
-
- kservice.c
- 1
- ..\..\..\src\kservice.c
-
-
-
-
- memheap.c
- 1
- ..\..\..\src\memheap.c
-
-
-
-
- mempool.c
- 1
- ..\..\..\src\mempool.c
-
-
-
-
- object.c
- 1
- ..\..\..\src\object.c
-
-
+ CPU
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
-
-
- signal.c
+ backtrace.c
1
- ..\..\..\src\signal.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- thread.c
+ div0.c
1
- ..\..\..\src\thread.c
+ ..\..\..\libcpu\arm\common\div0.c
- timer.c
+ showmem.c
1
- ..\..\..\src\timer.c
+ ..\..\..\libcpu\arm\common\showmem.c
-
-
- CORTEX-M4
cpuport.c
@@ -578,27 +446,6 @@
..\..\..\libcpu\arm\cortex-m4\context_rvds.S
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
-
-
- div0.c
- 1
- ..\..\..\libcpu\arm\common\div0.c
-
-
-
-
- showmem.c
- 1
- ..\..\..\libcpu\arm\common\showmem.c
-
-
DeviceDrivers
@@ -667,47 +514,71 @@
- finsh
+ Drivers
- shell.c
+ board.c
1
- ..\..\..\components\finsh\shell.c
+ board\board.c
- symbol.c
+ stm32f4xx_hal_msp.c
1
- ..\..\..\components\finsh\symbol.c
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- cmd.c
+ startup_stm32f429xx.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s
+
+
+
+
+ drv_gpio.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\libraries\HAL_Drivers\drv_gpio.c
- msh.c
+ drv_usart.c
1
- ..\..\..\components\finsh\msh.c
+ ..\libraries\HAL_Drivers\drv_usart.c
+
+
+
+
+ drv_common.c
+ 1
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
+
+ finsh
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
- msh_cmd.c
+ cmd.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\components\finsh\cmd.c
- msh_file.c
+ msh.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\components\finsh\msh.c
@@ -782,306 +653,169 @@
- STM32_HAL
-
-
- system_stm32f4xx.c
- 1
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
-
-
-
-
- stm32f4xx_hal.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
-
-
-
-
- stm32f4xx_hal_adc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c
-
-
-
-
- stm32f4xx_hal_adc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c
-
-
-
-
- stm32f4xx_hal_can.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c
-
-
-
-
- stm32f4xx_hal_cec.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
-
-
-
-
- stm32f4xx_hal_cortex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
-
-
-
-
- stm32f4xx_hal_crc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
-
-
-
-
- stm32f4xx_hal_cryp.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
-
-
-
-
- stm32f4xx_hal_cryp_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
-
-
-
-
- stm32f4xx_hal_dac.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac.c
-
-
-
-
- stm32f4xx_hal_dac_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac_ex.c
-
-
-
-
- stm32f4xx_hal_dcmi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi.c
-
-
-
-
- stm32f4xx_hal_dcmi_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi_ex.c
-
-
-
-
- stm32f4xx_hal_dfsdm.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dfsdm.c
-
-
-
-
- stm32f4xx_hal_dma.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
-
-
-
-
- stm32f4xx_hal_dma2d.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma2d.c
-
-
-
-
- stm32f4xx_hal_dma_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
-
-
-
-
- stm32f4xx_hal_dsi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dsi.c
-
-
-
-
- stm32f4xx_hal_eth.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_eth.c
-
-
+ Kernel
- stm32f4xx_hal_flash.c
+ clock.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
+ ..\..\..\src\clock.c
- stm32f4xx_hal_flash_ex.c
+ components.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
+ ..\..\..\src\components.c
- stm32f4xx_hal_flash_ramfunc.c
+ device.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
+ ..\..\..\src\device.c
- stm32f4xx_hal_fmpi2c.c
+ idle.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
+ ..\..\..\src\idle.c
- stm32f4xx_hal_fmpi2c_ex.c
+ ipc.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
+ ..\..\..\src\ipc.c
- stm32f4xx_hal_gpio.c
+ irq.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+ ..\..\..\src\irq.c
- stm32f4xx_hal_hash.c
+ kservice.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
+ ..\..\..\src\kservice.c
- stm32f4xx_hal_hash_ex.c
+ memheap.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
+ ..\..\..\src\memheap.c
- stm32f4xx_hal_hcd.c
+ mempool.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.c
+ ..\..\..\src\mempool.c
- stm32f4xx_hal_i2c.c
+ object.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
+ ..\..\..\src\object.c
- stm32f4xx_hal_i2c_ex.c
+ scheduler.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
+ ..\..\..\src\scheduler.c
- stm32f4xx_hal_i2s.c
+ signal.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
+ ..\..\..\src\signal.c
- stm32f4xx_hal_i2s_ex.c
+ thread.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
+ ..\..\..\src\thread.c
- stm32f4xx_hal_irda.c
+ timer.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
+ ..\..\..\src\timer.c
+
+
+ Libraries
- stm32f4xx_hal_iwdg.c
+ system_stm32f4xx.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- stm32f4xx_hal_lptim.c
+ stm32f4xx_hal.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal_ltdc.c
+ stm32f4xx_hal_cec.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_ltdc_ex.c
+ stm32f4xx_hal_cortex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_nand.c
+ stm32f4xx_hal_crc.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_nor.c
+ stm32f4xx_hal_cryp.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_pccard.c
+ stm32f4xx_hal_cryp_ex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_pcd.c
+ stm32f4xx_hal_dma.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_pcd_ex.c
+ stm32f4xx_hal_dma_ex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
@@ -1098,13 +832,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
-
-
- stm32f4xx_hal_qspi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
-
-
stm32f4xx_hal_rcc.c
@@ -1128,86 +855,9 @@
- stm32f4xx_hal_rtc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc.c
-
-
-
-
- stm32f4xx_hal_rtc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc_ex.c
-
-
-
-
- stm32f4xx_hal_sai.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai.c
-
-
-
-
- stm32f4xx_hal_sai_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai_ex.c
-
-
-
-
- stm32f4xx_hal_sd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sd.c
-
-
-
-
- stm32f4xx_hal_sdram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sdram.c
-
-
-
-
- stm32f4xx_hal_smartcard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_smartcard.c
-
-
-
-
- stm32f4xx_hal_spdifrx.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spdifrx.c
-
-
-
-
- stm32f4xx_hal_spi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c
-
-
-
-
- stm32f4xx_hal_sram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
-
-
-
-
- stm32f4xx_hal_tim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c
-
-
-
-
- stm32f4xx_hal_tim_ex.c
+ stm32f4xx_hal_gpio.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
@@ -1224,41 +874,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
-
-
- stm32f4xx_hal_wwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c
-
-
-
-
- stm32f4xx_ll_fmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fmc.c
-
-
-
-
- stm32f4xx_ll_fsmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fsmc.c
-
-
-
-
- stm32f4xx_ll_sdmmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_sdmmc.c
-
-
-
-
- stm32f4xx_ll_usb.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usb.c
-
-
diff --git a/bsp/stm32/stm32f429-atk-apollo/project.uvprojx b/bsp/stm32/stm32f429-atk-apollo/project.uvprojx
index 4b3c2c59cb094e94f379aa8f0410fee4f57a0e11..eafc5a49033bb5f4442a9d4d14c8800447168472 100644
--- a/bsp/stm32/stm32f429-atk-apollo/project.uvprojx
+++ b/bsp/stm32/stm32f429-atk-apollo/project.uvprojx
@@ -332,9 +332,9 @@
0
- USE_HAL_DRIVER, STM32F429xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F429xx
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -376,120 +376,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- memheap.c
+ serial.c
1
- ..\..\..\src\memheap.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -539,205 +535,202 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
- cpuport.c
+ finsh_compiler.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\components\finsh\finsh_compiler.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ finsh_error.c
+ 1
+ ..\..\..\components\finsh\finsh_error.c
-
-
- DeviceDrivers
- pin.c
+ finsh_heap.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\components\finsh\finsh_heap.c
- serial.c
+ finsh_init.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\finsh\finsh_init.c
- completion.c
+ finsh_node.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\components\finsh\finsh_node.c
- dataqueue.c
+ finsh_ops.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\components\finsh\finsh_ops.c
- pipe.c
+ finsh_parser.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\components\finsh\finsh_parser.c
- ringblk_buf.c
+ finsh_var.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\components\finsh\finsh_var.c
- ringbuffer.c
+ finsh_vm.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\components\finsh\finsh_vm.c
- waitqueue.c
+ finsh_token.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\components\finsh\finsh_token.c
+
+
+ Kernel
- workqueue.c
+ clock.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\clock.c
-
-
- finsh
- shell.c
+ components.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\components.c
- cmd.c
+ device.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\device.c
- msh.c
+ idle.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\idle.c
- finsh_compiler.c
+ ipc.c
1
- ..\..\..\components\finsh\finsh_compiler.c
+ ..\..\..\src\ipc.c
- finsh_error.c
+ irq.c
1
- ..\..\..\components\finsh\finsh_error.c
+ ..\..\..\src\irq.c
- finsh_heap.c
+ kservice.c
1
- ..\..\..\components\finsh\finsh_heap.c
+ ..\..\..\src\kservice.c
- finsh_init.c
+ memheap.c
1
- ..\..\..\components\finsh\finsh_init.c
+ ..\..\..\src\memheap.c
- finsh_node.c
+ mempool.c
1
- ..\..\..\components\finsh\finsh_node.c
+ ..\..\..\src\mempool.c
- finsh_ops.c
+ object.c
1
- ..\..\..\components\finsh\finsh_ops.c
+ ..\..\..\src\object.c
- finsh_parser.c
+ scheduler.c
1
- ..\..\..\components\finsh\finsh_parser.c
+ ..\..\..\src\scheduler.c
- finsh_var.c
+ signal.c
1
- ..\..\..\components\finsh\finsh_var.c
+ ..\..\..\src\signal.c
- finsh_vm.c
+ thread.c
1
- ..\..\..\components\finsh\finsh_vm.c
+ ..\..\..\src\thread.c
- finsh_token.c
+ timer.c
1
- ..\..\..\components\finsh\finsh_token.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f429-fire-challenger/project.ewp b/bsp/stm32/stm32f429-fire-challenger/project.ewp
index 3d718b97ae9fb9457754622adbf6a95d75ec37b4..ae9141d176d16622decd259eb2ba84824b3200ca 100644
--- a/bsp/stm32/stm32f429-fire-challenger/project.ewp
+++ b/bsp/stm32/stm32f429-fire-challenger/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F429xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -352,7 +353,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -1248,6 +1248,7 @@
CCDefines
STM32F429xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1384,7 +1385,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -2065,57 +2065,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\memheap.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2140,70 +2140,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\memheap.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f429-fire-challenger/project.uvproj b/bsp/stm32/stm32f429-fire-challenger/project.uvproj
index ab1580da2fe570286ad0c98ba57cd08402448b9a..44c0451457f8319530267c05e63d29f05d91e487 100644
--- a/bsp/stm32/stm32f429-fire-challenger/project.uvproj
+++ b/bsp/stm32/stm32f429-fire-challenger/project.uvproj
@@ -357,9 +357,9 @@
0
- USE_HAL_DRIVER, STM32F429xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F429xx
- applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -392,7 +392,7 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
+
@@ -410,160 +410,28 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f429xx.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s
-
-
-
-
- drv_gpio.c
- 1
- ..\libraries\HAL_Drivers\drv_gpio.c
-
-
-
-
- drv_usart.c
- 1
- ..\libraries\HAL_Drivers\drv_usart.c
-
-
-
-
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
-
-
- components.c
- 1
- ..\..\..\src\components.c
-
-
-
-
- cpu.c
- 1
- ..\..\..\src\cpu.c
-
-
-
-
- device.c
- 1
- ..\..\..\src\device.c
-
-
-
-
- idle.c
- 1
- ..\..\..\src\idle.c
-
-
-
-
- ipc.c
- 1
- ..\..\..\src\ipc.c
-
-
-
-
- irq.c
- 1
- ..\..\..\src\irq.c
-
-
-
-
- kservice.c
- 1
- ..\..\..\src\kservice.c
-
-
-
-
- memheap.c
- 1
- ..\..\..\src\memheap.c
-
-
-
-
- mempool.c
- 1
- ..\..\..\src\mempool.c
-
-
-
-
- object.c
- 1
- ..\..\..\src\object.c
-
-
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
+ CPU
- signal.c
+ backtrace.c
1
- ..\..\..\src\signal.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- thread.c
+ div0.c
1
- ..\..\..\src\thread.c
+ ..\..\..\libcpu\arm\common\div0.c
- timer.c
+ showmem.c
1
- ..\..\..\src\timer.c
+ ..\..\..\libcpu\arm\common\showmem.c
-
-
- CORTEX-M4
cpuport.c
@@ -578,27 +446,6 @@
..\..\..\libcpu\arm\cortex-m4\context_rvds.S
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
-
-
- div0.c
- 1
- ..\..\..\libcpu\arm\common\div0.c
-
-
-
-
- showmem.c
- 1
- ..\..\..\libcpu\arm\common\showmem.c
-
-
DeviceDrivers
@@ -667,351 +514,238 @@
- finsh
+ Drivers
- shell.c
+ board.c
1
- ..\..\..\components\finsh\shell.c
+ board\board.c
- symbol.c
+ stm32f4xx_hal_msp.c
1
- ..\..\..\components\finsh\symbol.c
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
+ startup_stm32f429xx.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s
- msh.c
+ drv_gpio.c
1
- ..\..\..\components\finsh\msh.c
+ ..\libraries\HAL_Drivers\drv_gpio.c
- msh_cmd.c
+ drv_usart.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\libraries\HAL_Drivers\drv_usart.c
- msh_file.c
+ drv_common.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\libraries\HAL_Drivers\drv_common.c
- STM32_HAL
-
-
- system_stm32f4xx.c
- 1
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
-
-
-
-
- stm32f4xx_hal.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
-
-
-
-
- stm32f4xx_hal_adc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c
-
-
-
-
- stm32f4xx_hal_adc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c
-
-
-
-
- stm32f4xx_hal_can.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c
-
-
-
-
- stm32f4xx_hal_cec.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
-
-
-
-
- stm32f4xx_hal_cortex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
-
-
-
-
- stm32f4xx_hal_crc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
-
-
-
-
- stm32f4xx_hal_cryp.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
-
-
-
-
- stm32f4xx_hal_cryp_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
-
-
-
-
- stm32f4xx_hal_dac.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac.c
-
-
-
-
- stm32f4xx_hal_dac_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac_ex.c
-
-
-
-
- stm32f4xx_hal_dcmi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi.c
-
-
-
-
- stm32f4xx_hal_dcmi_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi_ex.c
-
-
-
-
- stm32f4xx_hal_dfsdm.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dfsdm.c
-
-
-
-
- stm32f4xx_hal_dma.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
-
-
-
-
- stm32f4xx_hal_dma2d.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma2d.c
-
-
+ finsh
- stm32f4xx_hal_dma_ex.c
+ shell.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+ ..\..\..\components\finsh\shell.c
- stm32f4xx_hal_dsi.c
+ cmd.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dsi.c
+ ..\..\..\components\finsh\cmd.c
- stm32f4xx_hal_eth.c
+ msh.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_eth.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- stm32f4xx_hal_flash.c
+ clock.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
+ ..\..\..\src\clock.c
- stm32f4xx_hal_flash_ex.c
+ components.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
+ ..\..\..\src\components.c
- stm32f4xx_hal_flash_ramfunc.c
+ device.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
+ ..\..\..\src\device.c
- stm32f4xx_hal_fmpi2c.c
+ idle.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
+ ..\..\..\src\idle.c
- stm32f4xx_hal_fmpi2c_ex.c
+ ipc.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
+ ..\..\..\src\ipc.c
- stm32f4xx_hal_gpio.c
+ irq.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+ ..\..\..\src\irq.c
- stm32f4xx_hal_hash.c
+ kservice.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
+ ..\..\..\src\kservice.c
- stm32f4xx_hal_hash_ex.c
+ memheap.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
+ ..\..\..\src\memheap.c
- stm32f4xx_hal_hcd.c
+ mempool.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.c
+ ..\..\..\src\mempool.c
- stm32f4xx_hal_i2c.c
+ object.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
+ ..\..\..\src\object.c
- stm32f4xx_hal_i2c_ex.c
+ scheduler.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
+ ..\..\..\src\scheduler.c
- stm32f4xx_hal_i2s.c
+ signal.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
+ ..\..\..\src\signal.c
- stm32f4xx_hal_i2s_ex.c
+ thread.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
+ ..\..\..\src\thread.c
- stm32f4xx_hal_irda.c
+ timer.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
+ ..\..\..\src\timer.c
+
+
+ Libraries
- stm32f4xx_hal_iwdg.c
+ system_stm32f4xx.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- stm32f4xx_hal_lptim.c
+ stm32f4xx_hal.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal_ltdc.c
+ stm32f4xx_hal_cec.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_ltdc_ex.c
+ stm32f4xx_hal_cortex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_nand.c
+ stm32f4xx_hal_crc.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_nor.c
+ stm32f4xx_hal_cryp.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_pccard.c
+ stm32f4xx_hal_cryp_ex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_pcd.c
+ stm32f4xx_hal_dma.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_pcd_ex.c
+ stm32f4xx_hal_dma_ex.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
@@ -1028,13 +762,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
-
-
- stm32f4xx_hal_qspi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
-
-
stm32f4xx_hal_rcc.c
@@ -1058,86 +785,9 @@
- stm32f4xx_hal_rtc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc.c
-
-
-
-
- stm32f4xx_hal_rtc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc_ex.c
-
-
-
-
- stm32f4xx_hal_sai.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai.c
-
-
-
-
- stm32f4xx_hal_sai_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai_ex.c
-
-
-
-
- stm32f4xx_hal_sd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sd.c
-
-
-
-
- stm32f4xx_hal_sdram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sdram.c
-
-
-
-
- stm32f4xx_hal_smartcard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_smartcard.c
-
-
-
-
- stm32f4xx_hal_spdifrx.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spdifrx.c
-
-
-
-
- stm32f4xx_hal_spi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c
-
-
-
-
- stm32f4xx_hal_sram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
-
-
-
-
- stm32f4xx_hal_tim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c
-
-
-
-
- stm32f4xx_hal_tim_ex.c
+ stm32f4xx_hal_gpio.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
@@ -1154,41 +804,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
-
-
- stm32f4xx_hal_wwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c
-
-
-
-
- stm32f4xx_ll_fmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fmc.c
-
-
-
-
- stm32f4xx_ll_fsmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fsmc.c
-
-
-
-
- stm32f4xx_ll_sdmmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_sdmmc.c
-
-
-
-
- stm32f4xx_ll_usb.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usb.c
-
-
diff --git a/bsp/stm32/stm32f429-fire-challenger/project.uvprojx b/bsp/stm32/stm32f429-fire-challenger/project.uvprojx
index 78203d36e072f8f3514edc94e233de7387dc17b0..0f374479ecd948b19067e9d6eab8dff86978a6c9 100644
--- a/bsp/stm32/stm32f429-fire-challenger/project.uvprojx
+++ b/bsp/stm32/stm32f429-fire-challenger/project.uvprojx
@@ -332,9 +332,9 @@
0
- USE_HAL_DRIVER, STM32F429xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F429xx
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -376,120 +376,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- memheap.c
+ serial.c
1
- ..\..\..\src\memheap.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -539,135 +535,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ memheap.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\memheap.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f429-st-disco/project.uvoptx b/bsp/stm32/stm32f429-st-disco/project.uvoptx
index ed6637542894529ed72657cd1732c91b2f3d86df..d3767bff365c738a91d1ad80d136123e76db06ec 100644
--- a/bsp/stm32/stm32f429-st-disco/project.uvoptx
+++ b/bsp/stm32/stm32f429-st-disco/project.uvoptx
@@ -182,1167 +182,11 @@
- Applications
+ Source Group 1
0
0
0
0
-
- 1
- 1
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- applications\lcd_init.c
- lcd_init.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 2
- 3
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 2
- 4
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 2
- 5
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 2
- 6
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 2
- 7
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 3
- 8
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\i2c\i2c_core.c
- i2c_core.c
- 0
- 0
-
-
- 3
- 9
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\i2c\i2c_dev.c
- i2c_dev.c
- 0
- 0
-
-
- 3
- 10
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\i2c\i2c-bit-ops.c
- i2c-bit-ops.c
- 0
- 0
-
-
- 3
- 11
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 3
- 12
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 3
- 13
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\spi\spi_core.c
- spi_core.c
- 0
- 0
-
-
- 3
- 14
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\spi\spi_dev.c
- spi_dev.c
- 0
- 0
-
-
- 3
- 15
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 3
- 16
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 4
- 22
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 4
- 23
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- stm32f4xx_hal_msp.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- board\ports\ili9341.c
- ili9341.c
- 0
- 0
-
-
- 4
- 25
- 2
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s
- startup_stm32f429xx.s
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 4
- 27
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 4
- 28
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_spi.c
- drv_spi.c
- 0
- 0
-
-
- 4
- 29
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_sdram.c
- drv_sdram.c
- 0
- 0
-
-
- 4
- 30
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_lcd.c
- drv_lcd.c
- 0
- 0
-
-
- 4
- 31
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- Filesystem
- 0
- 0
- 0
- 0
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\dfs.c
- dfs.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\dfs_file.c
- dfs_file.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\dfs_fs.c
- dfs_fs.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\dfs_posix.c
- dfs_posix.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\poll.c
- poll.c
- 0
- 0
-
-
- 5
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\select.c
- select.c
- 0
- 0
-
-
- 5
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\filesystems\devfs\devfs.c
- devfs.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_file.c
- msh_file.c
- 0
- 0
-
-
-
-
- Kernel
- 0
- 0
- 0
- 0
-
- 7
- 43
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 7
- 44
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 7
- 45
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 7
- 46
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 7
- 47
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 7
- 48
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- ..\..\..\src\memheap.c
- memheap.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 7
- 53
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 7
- 54
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 7
- 55
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 7
- 56
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- libc
- 0
- 0
- 0
- 0
-
- 8
- 57
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\libc.c
- libc.c
- 0
- 0
-
-
- 8
- 58
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\mem_std.c
- mem_std.c
- 0
- 0
-
-
- 8
- 59
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\stdio.c
- stdio.c
- 0
- 0
-
-
- 8
- 60
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\stubs.c
- stubs.c
- 0
- 0
-
-
- 8
- 61
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\time.c
- time.c
- 0
- 0
-
-
- 8
- 62
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\unistd.c
- unistd.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 9
- 63
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- system_stm32f4xx.c
- 0
- 0
-
-
- 9
- 64
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal.c
- 0
- 0
-
-
- 9
- 65
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_cec.c
- 0
- 0
-
-
- 9
- 66
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_cortex.c
- 0
- 0
-
-
- 9
- 67
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_crc.c
- 0
- 0
-
-
- 9
- 68
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_cryp.c
- 0
- 0
-
-
- 9
- 69
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_cryp_ex.c
- 0
- 0
-
-
- 9
- 70
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_dma.c
- 0
- 0
-
-
- 9
- 71
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
- stm32f4xx_hal_dma_ex.c
- 0
- 0
-
-
- 9
- 72
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
- stm32f4xx_hal_pwr.c
- 0
- 0
-
-
- 9
- 73
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
- stm32f4xx_hal_pwr_ex.c
- 0
- 0
-
-
- 9
- 74
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
- stm32f4xx_hal_rcc.c
- 0
- 0
-
-
- 9
- 75
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
- stm32f4xx_hal_rcc_ex.c
- 0
- 0
-
-
- 9
- 76
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
- stm32f4xx_hal_rng.c
- 0
- 0
-
-
- 9
- 77
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
- stm32f4xx_hal_gpio.c
- 0
- 0
-
-
- 9
- 78
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
- stm32f4xx_hal_uart.c
- 0
- 0
-
-
- 9
- 79
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
- stm32f4xx_hal_usart.c
- 0
- 0
-
-
- 9
- 80
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
- stm32f4xx_hal_i2c.c
- 0
- 0
-
-
- 9
- 81
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
- stm32f4xx_hal_i2c_ex.c
- 0
- 0
-
-
- 9
- 82
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c
- stm32f4xx_hal_spi.c
- 0
- 0
-
-
- 9
- 83
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
- stm32f4xx_hal_qspi.c
- 0
- 0
-
-
- 9
- 84
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fmc.c
- stm32f4xx_ll_fmc.c
- 0
- 0
-
-
- 9
- 85
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fsmc.c
- stm32f4xx_ll_fsmc.c
- 0
- 0
-
-
- 9
- 86
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sdram.c
- stm32f4xx_hal_sdram.c
- 0
- 0
-
-
- 9
- 87
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc.c
- stm32f4xx_hal_ltdc.c
- 0
- 0
-
-
- 9
- 88
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc_ex.c
- stm32f4xx_hal_ltdc_ex.c
- 0
- 0
-
-
- 9
- 89
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma2d.c
- stm32f4xx_hal_dma2d.c
- 0
- 0
-
-
- 9
- 90
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_dma2d.c
- stm32f4xx_ll_dma2d.c
- 0
- 0
-
-
- 9
- 91
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dsi.c
- stm32f4xx_hal_dsi.c
- 0
- 0
-
diff --git a/bsp/stm32/stm32f429-st-disco/project.uvproj b/bsp/stm32/stm32f429-st-disco/project.uvproj
index 975e8ee4313fee1c2134abbb0a25fb9474d675f4..82ab113cc87aa8a080af0227d8a995f9fd034a19 100644
--- a/bsp/stm32/stm32f429-st-disco/project.uvproj
+++ b/bsp/stm32/stm32f429-st-disco/project.uvproj
@@ -417,7 +417,7 @@
- cpu
+ CPU
backtrace.c
@@ -870,7 +870,7 @@
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f429-st-disco/project.uvprojx b/bsp/stm32/stm32f429-st-disco/project.uvprojx
index 2bfc2d65159328f50c627272275ea02868306dbb..8327cf54decac4d3151afbb8b1bbe2f16bd13d8e 100644
--- a/bsp/stm32/stm32f429-st-disco/project.uvprojx
+++ b/bsp/stm32/stm32f429-st-disco/project.uvprojx
@@ -1,16 +1,13 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt_thread_stm32f429
0x4
ARM-ADS
- 5060750::V5.06 update 6 (build 750)::ARMCC
+ 5060300::V5.06 update 3 (build 300)::ARMCC
0
@@ -19,28 +16,28 @@
Keil.STM32F4xx_DFP.2.13.0
http://www.keil.com/pack
IRAM(0x20000000,0x30000) IRAM2(0x10000000,0x10000) IROM(0x08000000,0x200000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_2048 -FS08000000 -FL0200000 -FP0($$Device:STM32F429ZITx$CMSIS\Flash\STM32F4xx_2048.FLM))
0
$$Device:STM32F429ZITx$Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32F429ZITx$CMSIS\SVD\STM32F429x.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -82,15 +79,15 @@
0
0
-
-
+
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -138,11 +135,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M4"
-
+
0
0
0
@@ -308,7 +305,7 @@
0x10000
-
+
1
@@ -335,9 +332,9 @@
0
0
-
+
USE_HAL_DRIVER, RT_USING_ARM_LIBC, __RTTHREAD__, STM32F429xx
-
+
applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\spi;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\dfs\include;..\..\..\components\dfs\filesystems\devfs;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -353,10 +350,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -368,13 +365,13 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
@@ -387,6 +384,8 @@
1
applications\main.c
+
+
lcd_init.c
1
@@ -395,28 +394,36 @@
- cpu
+ CPU
backtrace.c
1
..\..\..\libcpu\arm\common\backtrace.c
+
+
div0.c
1
..\..\..\libcpu\arm\common\div0.c
+
+
showmem.c
1
..\..\..\libcpu\arm\common\showmem.c
+
+
cpuport.c
1
..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
context_rvds.S
2
@@ -426,147 +433,116 @@
DeviceDrivers
-
-
- 0
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 0
-
-
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
-
-
-
-
-
-
-
-
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
-
-
-
-
-
-
-
-
-
i2c_core.c
1
..\..\..\components\drivers\i2c\i2c_core.c
+
+
i2c_dev.c
1
..\..\..\components\drivers\i2c\i2c_dev.c
+
+
i2c-bit-ops.c
1
..\..\..\components\drivers\i2c\i2c-bit-ops.c
+
+
pin.c
1
..\..\..\components\drivers\misc\pin.c
+
+
serial.c
1
..\..\..\components\drivers\serial\serial.c
+
+
spi_core.c
1
..\..\..\components\drivers\spi\spi_core.c
+
+
spi_dev.c
1
..\..\..\components\drivers\spi\spi_dev.c
+
+
completion.c
1
..\..\..\components\drivers\src\completion.c
+
+
dataqueue.c
1
..\..\..\components\drivers\src\dataqueue.c
+
+
pipe.c
1
..\..\..\components\drivers\src\pipe.c
+
+
ringblk_buf.c
1
..\..\..\components\drivers\src\ringblk_buf.c
+
+
ringbuffer.c
1
..\..\..\components\drivers\src\ringbuffer.c
+
+
waitqueue.c
1
..\..\..\components\drivers\src\waitqueue.c
+
+
workqueue.c
1
..\..\..\components\drivers\src\workqueue.c
+
+
+
+
+
+
+
+
+
+
+
+
Drivers
@@ -576,46 +552,64 @@
1
board\board.c
+
+
stm32f4xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
ili9341.c
1
board\ports\ili9341.c
+
+
startup_stm32f429xx.s
2
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_spi.c
1
..\libraries\HAL_Drivers\drv_spi.c
+
+
drv_sdram.c
1
..\libraries\HAL_Drivers\drv_sdram.c
+
+
drv_lcd.c
1
..\libraries\HAL_Drivers\drv_lcd.c
+
+
drv_common.c
1
@@ -631,31 +625,43 @@
1
..\..\..\components\dfs\src\dfs.c
+
+
dfs_file.c
1
..\..\..\components\dfs\src\dfs_file.c
+
+
dfs_fs.c
1
..\..\..\components\dfs\src\dfs_fs.c
+
+
dfs_posix.c
1
..\..\..\components\dfs\src\dfs_posix.c
+
+
poll.c
1
..\..\..\components\dfs\src\poll.c
+
+
select.c
1
..\..\..\components\dfs\src\select.c
+
+
devfs.c
1
@@ -671,16 +677,22 @@
1
..\..\..\components\finsh\shell.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
..\..\..\components\finsh\msh.c
+
+
msh_file.c
1
@@ -696,66 +708,92 @@
1
..\..\..\src\clock.c
+
+
components.c
1
..\..\..\src\components.c
+
+
device.c
1
..\..\..\src\device.c
+
+
idle.c
1
..\..\..\src\idle.c
+
+
ipc.c
1
..\..\..\src\ipc.c
+
+
irq.c
1
..\..\..\src\irq.c
+
+
kservice.c
1
..\..\..\src\kservice.c
+
+
memheap.c
1
..\..\..\src\memheap.c
+
+
mempool.c
1
..\..\..\src\mempool.c
+
+
object.c
1
..\..\..\src\object.c
+
+
scheduler.c
1
..\..\..\src\scheduler.c
+
+
signal.c
1
..\..\..\src\signal.c
+
+
thread.c
1
..\..\..\src\thread.c
+
+
timer.c
1
@@ -771,26 +809,36 @@
1
..\..\..\components\libc\compilers\armlibc\libc.c
+
+
mem_std.c
1
..\..\..\components\libc\compilers\armlibc\mem_std.c
+
+
stdio.c
1
..\..\..\components\libc\compilers\armlibc\stdio.c
+
+
stubs.c
1
..\..\..\components\libc\compilers\armlibc\stubs.c
+
+
time.c
1
..\..\..\components\libc\compilers\common\time.c
+
+
unistd.c
1
@@ -799,148 +847,204 @@
- STM32_HAL
+ Libraries
system_stm32f4xx.c
1
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
+
+
stm32f4xx_hal.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
+
+
stm32f4xx_hal_cec.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
+
+
stm32f4xx_hal_cortex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
+
+
stm32f4xx_hal_crc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
+
+
stm32f4xx_hal_cryp.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
+
+
stm32f4xx_hal_cryp_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
+
+
stm32f4xx_hal_dma.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
+
+
stm32f4xx_hal_dma_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+
+
stm32f4xx_hal_pwr.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
+
+
stm32f4xx_hal_pwr_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
+
+
stm32f4xx_hal_rcc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
+
+
stm32f4xx_hal_rcc_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
+
+
stm32f4xx_hal_rng.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
+
+
stm32f4xx_hal_gpio.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+
+
stm32f4xx_hal_uart.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
+
+
stm32f4xx_hal_usart.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
+
+
stm32f4xx_hal_i2c.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
+
+
stm32f4xx_hal_i2c_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
+
+
stm32f4xx_hal_spi.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c
+
+
stm32f4xx_hal_qspi.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
+
+
stm32f4xx_ll_fmc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fmc.c
+
+
stm32f4xx_ll_fsmc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fsmc.c
+
+
stm32f4xx_hal_sdram.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sdram.c
+
+
stm32f4xx_hal_ltdc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc.c
+
+
stm32f4xx_hal_ltdc_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc_ex.c
+
+
stm32f4xx_hal_dma2d.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma2d.c
+
+
stm32f4xx_ll_dma2d.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_dma2d.c
+
+
stm32f4xx_hal_dsi.c
1
@@ -951,11 +1055,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32f446-st-nucleo/project.ewp b/bsp/stm32/stm32f446-st-nucleo/project.ewp
index e96b8704eb095944e4a8f5f1c3728630f64a0132..03754088d94040ef3d934971654e133a78a89b39 100644
--- a/bsp/stm32/stm32f446-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32f446-st-nucleo/project.ewp
@@ -220,6 +220,7 @@
CCDefines
STM32F446xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -355,7 +356,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -1255,6 +1255,7 @@
CCDefines
STM32F446xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1390,7 +1391,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include
$PROJ_DIR$\..\..\..\include
@@ -2071,57 +2071,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2146,70 +2146,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f446-st-nucleo/project.uvprojx b/bsp/stm32/stm32f446-st-nucleo/project.uvprojx
index ccba9b49d389309f173f20816b0305635dd96a78..702a6eee8f3f5c163ac4fb291527be5c00c71776 100644
--- a/bsp/stm32/stm32f446-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32f446-st-nucleo/project.uvprojx
@@ -360,9 +360,9 @@
0
- USE_HAL_DRIVER, STM32F446xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32F446xx
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -403,120 +403,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -566,135 +562,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f469-st-disco/project.uvoptx b/bsp/stm32/stm32f469-st-disco/project.uvoptx
index cb05500e654913b383a33f40e02a113ce0d18630..73d9b9cfc27ac7856d4f4478c4e24f11e339e792 100644
--- a/bsp/stm32/stm32f469-st-disco/project.uvoptx
+++ b/bsp/stm32/stm32f469-st-disco/project.uvoptx
@@ -73,7 +73,7 @@
0
- 1
+ 0
0
1
@@ -178,6 +178,7 @@
1
+ 1
0
2
10000000
@@ -186,1179 +187,11 @@
- Kernel
+ Source Group 1
0
0
0
0
-
- 1
- 1
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- ..\..\..\src\cpu.c
- cpu.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\memheap.c
- memheap.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 15
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 0
- 0
- 0
- 0
-
- 2
- 16
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
- 2
- 17
- 1
- 0
- 0
- 0
- applications\lcd_init.c
- lcd_init.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 3
- 18
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- stm32f4xx_hal_msp.c
- 0
- 0
-
-
- 3
- 20
- 2
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f469xx.s
- startup_stm32f469xx.s
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 3
- 22
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 3
- 23
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 4
- 24
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 27
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 28
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- Filesystem
- 0
- 0
- 0
- 0
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\dfs.c
- dfs.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\dfs_file.c
- dfs_file.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\dfs_fs.c
- dfs_fs.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\dfs_posix.c
- dfs_posix.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\poll.c
- poll.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\select.c
- select.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\filesystems\devfs\devfs.c
- devfs.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\filesystems\elmfat\dfs_elm.c
- dfs_elm.c
- 0
- 0
-
-
- 5
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\filesystems\elmfat\ff.c
- ff.c
- 0
- 0
-
-
- 5
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\filesystems\elmfat\option\ccsbcs.c
- ccsbcs.c
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\mtd\mtd_nor.c
- mtd_nor.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\sdio\block_dev.c
- block_dev.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\sdio\mmcsd_core.c
- mmcsd_core.c
- 0
- 0
-
-
- 6
- 43
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\sdio\sd.c
- sd.c
- 0
- 0
-
-
- 6
- 44
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\sdio\sdio.c
- sdio.c
- 0
- 0
-
-
- 6
- 45
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\sdio\mmc.c
- mmc.c
- 0
- 0
-
-
- 6
- 46
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 6
- 47
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 6
- 48
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 6
- 49
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 6
- 50
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 6
- 51
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 6
- 52
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 6
- 53
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 1
- 0
- 0
- 0
-
- 7
- 54
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 7
- 55
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 7
- 56
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 7
- 57
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_file.c
- msh_file.c
- 0
- 0
-
-
- 7
- 58
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_compiler.c
- finsh_compiler.c
- 0
- 0
-
-
- 7
- 59
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_error.c
- finsh_error.c
- 0
- 0
-
-
- 7
- 60
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_heap.c
- finsh_heap.c
- 0
- 0
-
-
- 7
- 61
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_init.c
- finsh_init.c
- 0
- 0
-
-
- 7
- 62
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_node.c
- finsh_node.c
- 0
- 0
-
-
- 7
- 63
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_ops.c
- finsh_ops.c
- 0
- 0
-
-
- 7
- 64
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_parser.c
- finsh_parser.c
- 0
- 0
-
-
- 7
- 65
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_var.c
- finsh_var.c
- 0
- 0
-
-
- 7
- 66
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_vm.c
- finsh_vm.c
- 0
- 0
-
-
- 7
- 67
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_token.c
- finsh_token.c
- 0
- 0
-
-
-
-
- libc
- 0
- 0
- 0
- 0
-
- 8
- 68
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\libc.c
- libc.c
- 0
- 0
-
-
- 8
- 69
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\mem_std.c
- mem_std.c
- 0
- 0
-
-
- 8
- 70
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\stdio.c
- stdio.c
- 0
- 0
-
-
- 8
- 71
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\stubs.c
- stubs.c
- 0
- 0
-
-
- 8
- 72
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\time.c
- time.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 9
- 73
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- system_stm32f4xx.c
- 0
- 0
-
-
- 9
- 74
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal.c
- 0
- 0
-
-
- 9
- 75
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_cec.c
- 0
- 0
-
-
- 9
- 76
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_cortex.c
- 0
- 0
-
-
- 9
- 77
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_crc.c
- 0
- 0
-
-
- 9
- 78
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_cryp.c
- 0
- 0
-
-
- 9
- 79
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_cryp_ex.c
- 0
- 0
-
-
- 9
- 80
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_dma.c
- 0
- 0
-
-
- 9
- 81
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
- stm32f4xx_hal_dma_ex.c
- 0
- 0
-
-
- 9
- 82
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
- stm32f4xx_hal_pwr.c
- 0
- 0
-
-
- 9
- 83
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
- stm32f4xx_hal_pwr_ex.c
- 0
- 0
-
-
- 9
- 84
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
- stm32f4xx_hal_rcc.c
- 0
- 0
-
-
- 9
- 85
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
- stm32f4xx_hal_rcc_ex.c
- 0
- 0
-
-
- 9
- 86
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
- stm32f4xx_hal_rng.c
- 0
- 0
-
-
- 9
- 87
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
- stm32f4xx_hal_gpio.c
- 0
- 0
-
-
- 9
- 88
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
- stm32f4xx_hal_uart.c
- 0
- 0
-
-
- 9
- 89
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
- stm32f4xx_hal_usart.c
- 0
- 0
-
-
- 9
- 90
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_sdmmc.c
- stm32f4xx_ll_sdmmc.c
- 0
- 0
-
-
- 9
- 91
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sd.c
- stm32f4xx_hal_sd.c
- 0
- 0
-
-
- 9
- 92
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
- stm32f4xx_hal_nor.c
- 0
- 0
-
diff --git a/bsp/stm32/stm32f469-st-disco/project.uvproj b/bsp/stm32/stm32f469-st-disco/project.uvproj
index 253a929efa1b401ae2f121cb2c45b9e71e75a4b8..1789be5b3c87f5f6b327daa840c843bca2293582 100644
--- a/bsp/stm32/stm32f469-st-disco/project.uvproj
+++ b/bsp/stm32/stm32f469-st-disco/project.uvproj
@@ -357,9 +357,9 @@
0
- USE_HAL_DRIVER, STM32F469xx, RT_USING_ARM_LIBC
+ USE_HAL_DRIVER, STM32F469xx, RT_USING_ARM_LIBC, __RTTHREAD__
- .;..\..\..\include;applications;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\dfs\include;..\..\..\components\dfs\filesystems\devfs;..\..\..\components\dfs\filesystems\elmfat;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\dfs\include;..\..\..\components\dfs\filesystems\devfs;..\..\..\components\dfs\filesystems\elmfat;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -400,210 +400,210 @@
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
- components.c
+ lcd_init.c
1
- ..\..\..\src\components.c
+ applications\lcd_init.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- memheap.c
+ mtd_nor.c
1
- ..\..\..\src\memheap.c
+ ..\..\..\components\drivers\mtd\mtd_nor.c
- mempool.c
+ block_dev.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\sdio\block_dev.c
- object.c
+ mmcsd_core.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\sdio\mmcsd_core.c
- scheduler.c
+ sd.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\sdio\sd.c
- signal.c
+ sdio.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\sdio\sdio.c
- thread.c
+ mmc.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\sdio\mmc.c
- timer.c
+ serial.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\serial\serial.c
-
-
- Applications
- main.c
+ completion.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\completion.c
- lcd_init.c
+ dataqueue.c
1
- applications\lcd_init.c
+ ..\..\..\components\drivers\src\dataqueue.c
-
-
- Drivers
- board.c
+ pipe.c
1
- board\board.c
+ ..\..\..\components\drivers\src\pipe.c
- stm32f4xx_hal_msp.c
+ ringblk_buf.c
1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- startup_stm32f469xx.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f469xx.s
+ ringbuffer.c
+ 1
+ ..\..\..\components\drivers\src\ringbuffer.c
- drv_gpio.c
+ waitqueue.c
1
- ..\libraries\HAL_Drivers\drv_gpio.c
+ ..\..\..\components\drivers\src\waitqueue.c
- drv_usart.c
+ workqueue.c
1
- ..\libraries\HAL_Drivers\drv_usart.c
+ ..\..\..\components\drivers\src\workqueue.c
+
+
+ Drivers
- drv_common.c
+ board.c
1
- ..\libraries\HAL_Drivers\drv_common.c
+ board\board.c
-
-
- cpu
- backtrace.c
+ stm32f4xx_hal_msp.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- div0.c
- 1
- ..\..\..\libcpu\arm\common\div0.c
+ startup_stm32f469xx.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f469xx.s
- showmem.c
+ drv_gpio.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\libraries\HAL_Drivers\drv_gpio.c
- cpuport.c
+ drv_usart.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\libraries\HAL_Drivers\drv_usart.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ drv_common.c
+ 1
+ ..\libraries\HAL_Drivers\drv_common.c
@@ -681,225 +681,204 @@
- DeviceDrivers
-
-
- pin.c
- 1
- ..\..\..\components\drivers\misc\pin.c
-
-
+ finsh
- mtd_nor.c
+ shell.c
1
- ..\..\..\components\drivers\mtd\mtd_nor.c
+ ..\..\..\components\finsh\shell.c
- block_dev.c
+ cmd.c
1
- ..\..\..\components\drivers\sdio\block_dev.c
+ ..\..\..\components\finsh\cmd.c
- mmcsd_core.c
+ msh.c
1
- ..\..\..\components\drivers\sdio\mmcsd_core.c
+ ..\..\..\components\finsh\msh.c
- sd.c
+ msh_file.c
1
- ..\..\..\components\drivers\sdio\sd.c
+ ..\..\..\components\finsh\msh_file.c
- sdio.c
+ finsh_compiler.c
1
- ..\..\..\components\drivers\sdio\sdio.c
+ ..\..\..\components\finsh\finsh_compiler.c
- mmc.c
+ finsh_error.c
1
- ..\..\..\components\drivers\sdio\mmc.c
+ ..\..\..\components\finsh\finsh_error.c
- serial.c
+ finsh_heap.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\finsh\finsh_heap.c
- completion.c
+ finsh_init.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\components\finsh\finsh_init.c
- dataqueue.c
+ finsh_node.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\components\finsh\finsh_node.c
- pipe.c
+ finsh_ops.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\components\finsh\finsh_ops.c
- ringblk_buf.c
+ finsh_parser.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\components\finsh\finsh_parser.c
- ringbuffer.c
+ finsh_var.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\components\finsh\finsh_var.c
- waitqueue.c
+ finsh_vm.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\components\finsh\finsh_vm.c
- workqueue.c
+ finsh_token.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\components\finsh\finsh_token.c
- finsh
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- symbol.c
- 1
- ..\..\..\components\finsh\symbol.c
-
-
+ Kernel
- cmd.c
+ clock.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\clock.c
- msh.c
+ components.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\components.c
- msh_cmd.c
+ device.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\device.c
- msh_file.c
+ idle.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\src\idle.c
- finsh_compiler.c
+ ipc.c
1
- ..\..\..\components\finsh\finsh_compiler.c
+ ..\..\..\src\ipc.c
- finsh_error.c
+ irq.c
1
- ..\..\..\components\finsh\finsh_error.c
+ ..\..\..\src\irq.c
- finsh_heap.c
+ kservice.c
1
- ..\..\..\components\finsh\finsh_heap.c
+ ..\..\..\src\kservice.c
- finsh_init.c
+ memheap.c
1
- ..\..\..\components\finsh\finsh_init.c
+ ..\..\..\src\memheap.c
- finsh_node.c
+ mempool.c
1
- ..\..\..\components\finsh\finsh_node.c
+ ..\..\..\src\mempool.c
- finsh_ops.c
+ object.c
1
- ..\..\..\components\finsh\finsh_ops.c
+ ..\..\..\src\object.c
- finsh_parser.c
+ scheduler.c
1
- ..\..\..\components\finsh\finsh_parser.c
+ ..\..\..\src\scheduler.c
- finsh_var.c
+ signal.c
1
- ..\..\..\components\finsh\finsh_var.c
+ ..\..\..\src\signal.c
- finsh_vm.c
+ thread.c
1
- ..\..\..\components\finsh\finsh_vm.c
+ ..\..\..\src\thread.c
- finsh_token.c
+ timer.c
1
- ..\..\..\components\finsh\finsh_token.c
+ ..\..\..\src\timer.c
@@ -937,19 +916,19 @@
time.c
1
- ..\..\..\components\libc\compilers\armlibc\time.c
+ ..\..\..\components\libc\compilers\common\time.c
- gmtime_r.c
+ unistd.c
1
- ..\..\..\components\libc\compilers\common\gmtime_r.c
+ ..\..\..\components\libc\compilers\common\unistd.c
- STM32_HAL
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f469-st-disco/project.uvprojx b/bsp/stm32/stm32f469-st-disco/project.uvprojx
index d86cd5d26e24b983b56535936de4f6e6ee14c83f..6af482972e770459a4d4998cb62e301673df9317 100644
--- a/bsp/stm32/stm32f469-st-disco/project.uvprojx
+++ b/bsp/stm32/stm32f469-st-disco/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -19,28 +16,28 @@
Keil.STM32F4xx_DFP.2.13.0
http://www.keil.com/pack
IRAM(0x20000000,0x00050000) IROM(0x08000000,0x00200000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN2 -FF0STM32F4xx_2048 -FS08000000 -FL0200000 -FF1STM32F469_Quad_SPI -FS190000000 -FL12000000 -FP0($$Device:STM32F469NIHx$CMSIS\Flash\STM32F4xx_2048.FLM) -FP1($$Device:STM32F469NIHx$CMSIS\Flash\STM32F469_Quad_SPI.FLM))
0
$$Device:STM32F469NIHx$Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32F469NIHx$CMSIS\SVD\STM32F46_79x.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -138,11 +135,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M4"
-
+
0
0
0
@@ -184,6 +181,7 @@
0
0
2
+ 0
0
0
8
@@ -307,7 +305,7 @@
0x0
-
+
1
@@ -334,10 +332,10 @@
0
0
-
- USE_HAL_DRIVER, STM32F469xx, RT_USING_ARM_LIBC
-
- .;..\..\..\include;applications;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\dfs\include;..\..\..\components\dfs\filesystems\devfs;..\..\..\components\dfs\filesystems\elmfat;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+
+ USE_HAL_DRIVER, STM32F469xx, RT_USING_ARM_LIBC, __RTTHREAD__
+
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\dfs\include;..\..\..\components\dfs\filesystems\devfs;..\..\..\components\dfs\filesystems\elmfat;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -352,10 +350,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -367,109 +365,177 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
- components.c
+ lcd_init.c
1
- ..\..\..\src\components.c
+ applications\lcd_init.c
+
+
+
+ CPU
+
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
- irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
1
- ..\..\..\src\irq.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- kservice.c
+ mtd_nor.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\mtd\mtd_nor.c
+
+
- memheap.c
+ block_dev.c
1
- ..\..\..\src\memheap.c
+ ..\..\..\components\drivers\sdio\block_dev.c
+
+
- mempool.c
+ mmcsd_core.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\sdio\mmcsd_core.c
+
+
- object.c
+ sd.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\sdio\sd.c
+
+
- scheduler.c
+ sdio.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\sdio\sdio.c
+
+
- signal.c
+ mmc.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\sdio\mmc.c
+
+
- thread.c
+ serial.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- timer.c
+ completion.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\completion.c
-
-
- Applications
- main.c
+ dataqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- lcd_init.c
+ pipe.c
1
- applications\lcd_init.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
+
+
+ ringblk_buf.c
+ 1
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
+
+
+ ringbuffer.c
+ 1
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
+
+
+ waitqueue.c
+ 1
+ ..\..\..\components\drivers\src\waitqueue.c
+
+
+
+
+ workqueue.c
+ 1
+ ..\..\..\components\drivers\src\workqueue.c
@@ -481,60 +547,40 @@
1
board\board.c
+
+
stm32f4xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
startup_stm32f469xx.s
2
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f469xx.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
-
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
- div0.c
- 1
- ..\..\..\libcpu\arm\common\div0.c
-
-
- showmem.c
- 1
- ..\..\..\libcpu\arm\common\showmem.c
-
-
- cpuport.c
+ drv_common.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ ..\libraries\HAL_Drivers\drv_common.c
@@ -546,46 +592,64 @@
1
..\..\..\components\dfs\src\dfs.c
+
+
dfs_file.c
1
..\..\..\components\dfs\src\dfs_file.c
+
+
dfs_fs.c
1
..\..\..\components\dfs\src\dfs_fs.c
+
+
dfs_posix.c
1
..\..\..\components\dfs\src\dfs_posix.c
+
+
poll.c
1
..\..\..\components\dfs\src\poll.c
+
+
select.c
1
..\..\..\components\dfs\src\select.c
+
+
devfs.c
1
..\..\..\components\dfs\filesystems\devfs\devfs.c
+
+
dfs_elm.c
1
..\..\..\components\dfs\filesystems\elmfat\dfs_elm.c
+
+
ff.c
1
..\..\..\components\dfs\filesystems\elmfat\ff.c
+
+
ccsbcs.c
1
@@ -594,157 +658,204 @@
- DeviceDrivers
+ finsh
- pin.c
- 1
- ..\..\..\components\drivers\misc\pin.c
-
-
- mtd_nor.c
+ shell.c
1
- ..\..\..\components\drivers\mtd\mtd_nor.c
+ ..\..\..\components\finsh\shell.c
+
+
- block_dev.c
+ cmd.c
1
- ..\..\..\components\drivers\sdio\block_dev.c
+ ..\..\..\components\finsh\cmd.c
+
+
- mmcsd_core.c
+ msh.c
1
- ..\..\..\components\drivers\sdio\mmcsd_core.c
+ ..\..\..\components\finsh\msh.c
+
+
- sd.c
+ msh_file.c
1
- ..\..\..\components\drivers\sdio\sd.c
+ ..\..\..\components\finsh\msh_file.c
+
+
- sdio.c
+ finsh_compiler.c
1
- ..\..\..\components\drivers\sdio\sdio.c
+ ..\..\..\components\finsh\finsh_compiler.c
+
+
- mmc.c
+ finsh_error.c
1
- ..\..\..\components\drivers\sdio\mmc.c
+ ..\..\..\components\finsh\finsh_error.c
+
+
- serial.c
+ finsh_heap.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\finsh\finsh_heap.c
+
+
- completion.c
+ finsh_init.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\components\finsh\finsh_init.c
+
+
- dataqueue.c
+ finsh_node.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\components\finsh\finsh_node.c
+
+
- pipe.c
+ finsh_ops.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\components\finsh\finsh_ops.c
+
+
- ringblk_buf.c
+ finsh_parser.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\components\finsh\finsh_parser.c
+
+
- ringbuffer.c
+ finsh_var.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\components\finsh\finsh_var.c
+
+
- waitqueue.c
+ finsh_vm.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\components\finsh\finsh_vm.c
+
+
- workqueue.c
+ finsh_token.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\components\finsh\finsh_token.c
- finsh
+ Kernel
- shell.c
+ clock.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\clock.c
+
+
- cmd.c
+ components.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\components.c
+
+
- msh.c
+ device.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\device.c
+
+
- msh_file.c
+ idle.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\src\idle.c
+
+
- finsh_compiler.c
+ ipc.c
1
- ..\..\..\components\finsh\finsh_compiler.c
+ ..\..\..\src\ipc.c
+
+
- finsh_error.c
+ irq.c
1
- ..\..\..\components\finsh\finsh_error.c
+ ..\..\..\src\irq.c
+
+
- finsh_heap.c
+ kservice.c
1
- ..\..\..\components\finsh\finsh_heap.c
+ ..\..\..\src\kservice.c
+
+
- finsh_init.c
+ memheap.c
1
- ..\..\..\components\finsh\finsh_init.c
+ ..\..\..\src\memheap.c
+
+
- finsh_node.c
+ mempool.c
1
- ..\..\..\components\finsh\finsh_node.c
+ ..\..\..\src\mempool.c
+
+
- finsh_ops.c
+ object.c
1
- ..\..\..\components\finsh\finsh_ops.c
+ ..\..\..\src\object.c
+
+
- finsh_parser.c
+ scheduler.c
1
- ..\..\..\components\finsh\finsh_parser.c
+ ..\..\..\src\scheduler.c
+
+
- finsh_var.c
+ signal.c
1
- ..\..\..\components\finsh\finsh_var.c
+ ..\..\..\src\signal.c
+
+
- finsh_vm.c
+ thread.c
1
- ..\..\..\components\finsh\finsh_vm.c
+ ..\..\..\src\thread.c
+
+
- finsh_token.c
+ timer.c
1
- ..\..\..\components\finsh\finsh_token.c
+ ..\..\..\src\timer.c
@@ -756,126 +867,179 @@
1
..\..\..\components\libc\compilers\armlibc\libc.c
+
+
mem_std.c
1
..\..\..\components\libc\compilers\armlibc\mem_std.c
+
+
stdio.c
1
..\..\..\components\libc\compilers\armlibc\stdio.c
+
+
stubs.c
1
..\..\..\components\libc\compilers\armlibc\stubs.c
+
+
time.c
1
..\..\..\components\libc\compilers\common\time.c
+
+
+ unistd.c
+ 1
+ ..\..\..\components\libc\compilers\common\unistd.c
+
+
- STM32_HAL
+ Libraries
system_stm32f4xx.c
1
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
+
+
stm32f4xx_hal.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
+
+
stm32f4xx_hal_cec.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
+
+
stm32f4xx_hal_cortex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
+
+
stm32f4xx_hal_crc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
+
+
stm32f4xx_hal_cryp.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
+
+
stm32f4xx_hal_cryp_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
+
+
stm32f4xx_hal_dma.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
+
+
stm32f4xx_hal_dma_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+
+
stm32f4xx_hal_pwr.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
+
+
stm32f4xx_hal_pwr_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
+
+
stm32f4xx_hal_rcc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
+
+
stm32f4xx_hal_rcc_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
+
+
stm32f4xx_hal_rng.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
+
+
stm32f4xx_hal_gpio.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+
+
stm32f4xx_hal_uart.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
+
+
stm32f4xx_hal_usart.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
+
+
stm32f4xx_ll_sdmmc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_sdmmc.c
+
+
stm32f4xx_hal_sd.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sd.c
+
+
stm32f4xx_hal_nor.c
1
@@ -886,11 +1050,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32f746-st-disco/project.ewp b/bsp/stm32/stm32f746-st-disco/project.ewp
index 35324031bbf35de2dddd8e59c87852563b30599b..6cd14aa97109ceef72b6a7ae49ce326e597958f8 100644
--- a/bsp/stm32/stm32f746-st-disco/project.ewp
+++ b/bsp/stm32/stm32f746-st-disco/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F746xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -352,7 +353,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
@@ -1247,6 +1247,7 @@
CCDefines
STM32F746xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1383,7 +1384,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
@@ -2064,57 +2064,63 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\hwtimer\hwtimer.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2142,76 +2148,64 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- $PROJ_DIR$\..\..\..\components\drivers\hwtimer\hwtimer.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\components.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\system_stm32f7xx.c
@@ -2227,6 +2221,9 @@
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc.c
+
+ $PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc_ex.c
+
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp.c
diff --git a/bsp/stm32/stm32f746-st-disco/project.uvprojx b/bsp/stm32/stm32f746-st-disco/project.uvprojx
index 71caa3e2fd172b6e737ff6fc53a4845a56a9d02c..69ab0bd4a058866135959273dfd9de653834bf30 100644
--- a/bsp/stm32/stm32f746-st-disco/project.uvprojx
+++ b/bsp/stm32/stm32f746-st-disco/project.uvprojx
@@ -333,7 +333,7 @@
0
- USE_HAL_DRIVER, STM32F746xx
+ USE_HAL_DRIVER, STM32F746xx, __RTTHREAD__
applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc;..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Include;..\libraries\STM32F7xx_HAL\CMSIS\Include
@@ -387,7 +387,7 @@
- cpu
+ CPU
backtrace.c
@@ -682,7 +682,7 @@
- STM32_HAL
+ Libraries
system_stm32f7xx.c
diff --git a/bsp/stm32/stm32f767-atk-apollo/project.ewp b/bsp/stm32/stm32f767-atk-apollo/project.ewp
index 20c99b6bc99d8074b57b353fed39114de1a39fad..64bf96c4201c098fc4b15b3938ba68ea85b1c0c6 100644
--- a/bsp/stm32/stm32f767-atk-apollo/project.ewp
+++ b/bsp/stm32/stm32f767-atk-apollo/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32F767xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1278,6 +1279,7 @@
CCDefines
STM32F767xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2107,57 +2109,60 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\memheap.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2188,66 +2193,60 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\memheap.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2257,7 +2256,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\system_stm32f7xx.c
@@ -2273,6 +2272,9 @@
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc.c
+
+ $PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc_ex.c
+
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp.c
diff --git a/bsp/stm32/stm32f767-atk-apollo/project.uvprojx b/bsp/stm32/stm32f767-atk-apollo/project.uvprojx
index 3bae4313568490dde41e084885599fa45f0d5f69..f7ec8b52e13880b3969ee58b7785e5b1ef213ab1 100644
--- a/bsp/stm32/stm32f767-atk-apollo/project.uvprojx
+++ b/bsp/stm32/stm32f767-atk-apollo/project.uvprojx
@@ -332,9 +332,9 @@
0
- STM32F767xx, USE_HAL_DRIVER
+ STM32F767xx, USE_HAL_DRIVER, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc;..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Include;..\libraries\STM32F7xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc;..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Include;..\libraries\STM32F7xx_HAL\CMSIS\Include
@@ -376,120 +376,123 @@
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+ CPU
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- cpu.c
+ div0.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\div0.c
- device.c
+ showmem.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\showmem.c
- idle.c
+ cpu_cache.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m7\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- memheap.c
+ serial.c
1
- ..\..\..\src\memheap.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -553,137 +556,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpu_cache.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+ ..\..\..\src\clock.c
- cpuport.c
+ components.c
1
- ..\..\..\libcpu\arm\cortex-m7\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ memheap.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\memheap.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -698,7 +691,7 @@
- STM32_HAL
+ Libraries
system_stm32f7xx.c
@@ -734,6 +727,13 @@
..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc.c
+
+
+ stm32f7xx_hal_crc_ex.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc_ex.c
+
+
stm32f7xx_hal_cryp.c
diff --git a/bsp/stm32/stm32f767-fire-challenger/project.ewp b/bsp/stm32/stm32f767-fire-challenger/project.ewp
index 0adb9100576057434d744b8947e0563958e3cfa0..cb4829671c304606304acc5671e8f6ef879a1292 100644
--- a/bsp/stm32/stm32f767-fire-challenger/project.ewp
+++ b/bsp/stm32/stm32f767-fire-challenger/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F767xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -352,7 +353,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
@@ -1247,6 +1247,7 @@
CCDefines
STM32F767xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1383,7 +1384,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
@@ -2064,57 +2064,60 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\memheap.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2139,73 +2142,64 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\memheap.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\system_stm32f7xx.c
@@ -2221,6 +2215,9 @@
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc.c
+
+ $PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc_ex.c
+
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp.c
diff --git a/bsp/stm32/stm32f767-fire-challenger/project.uvprojx b/bsp/stm32/stm32f767-fire-challenger/project.uvprojx
index 37ca781a373a3bc20dba7e8c2fc5507010dae209..c77cfd7c72be35328d330ba1b776424b2ae2863c 100644
--- a/bsp/stm32/stm32f767-fire-challenger/project.uvprojx
+++ b/bsp/stm32/stm32f767-fire-challenger/project.uvprojx
@@ -333,9 +333,9 @@
0
- STM32F767xx, USE_HAL_DRIVER
+ STM32F767xx, USE_HAL_DRIVER, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc;..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Include;..\libraries\STM32F7xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc;..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Include;..\libraries\STM32F7xx_HAL\CMSIS\Include
@@ -377,120 +377,123 @@
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+ CPU
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- cpu.c
+ div0.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\div0.c
- device.c
+ showmem.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\showmem.c
- idle.c
+ cpu_cache.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m7\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- memheap.c
+ serial.c
1
- ..\..\..\src\memheap.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -540,142 +543,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpu_cache.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+ ..\..\..\src\clock.c
- cpuport.c
+ components.c
1
- ..\..\..\libcpu\arm\cortex-m7\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ memheap.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\memheap.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f7xx.c
@@ -711,6 +704,13 @@
..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc.c
+
+
+ stm32f7xx_hal_crc_ex.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc_ex.c
+
+
stm32f7xx_hal_cryp.c
diff --git a/bsp/stm32/stm32f767-st-nucleo/project.uvprojx b/bsp/stm32/stm32f767-st-nucleo/project.uvprojx
index 7894d640edb25acba65cdb047a803667657643ba..6b06dd9de0c4182dda7a898f6cead41214d13f5a 100644
--- a/bsp/stm32/stm32f767-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32f767-st-nucleo/project.uvprojx
@@ -333,7 +333,7 @@
0
- STM32F767xx, USE_HAL_DRIVER, RT_USING_ARM_LIBC
+ STM32F767xx, USE_HAL_DRIVER, RT_USING_ARM_LIBC, __RTTHREAD__
applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\dfs\include;..\..\..\components\dfs\filesystems\devfs;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc;..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Include;..\libraries\STM32F7xx_HAL\CMSIS\Include
@@ -387,7 +387,7 @@
- cpu
+ CPU
backtrace.c
@@ -842,7 +842,7 @@
- STM32_HAL
+ Libraries
system_stm32f7xx.c
diff --git a/bsp/stm32/stm32f769-st-disco/project.ewp b/bsp/stm32/stm32f769-st-disco/project.ewp
index 3b2292c8295f2c0f763bd310a5cfa387332a0e11..71f5c6cfbfa302d802db88177ac8dbed09e734c2 100644
--- a/bsp/stm32/stm32f769-st-disco/project.ewp
+++ b/bsp/stm32/stm32f769-st-disco/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32F767xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -343,17 +344,23 @@
CCIncludePath2
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Include
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\include
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\include\ipv4
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\include\netif
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\arch\include
$PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc
$PROJ_DIR$\board\CubeMX_Config\Inc
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\include\posix
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Include
@@ -1246,6 +1253,7 @@
CCDefines
STM32F767xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1373,17 +1381,23 @@
CCIncludePath2
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Include
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\include
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\include\ipv4
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\include\netif
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\arch\include
$PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc
$PROJ_DIR$\board\CubeMX_Config\Inc
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\include\posix
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Include
@@ -2062,57 +2076,60 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2137,73 +2154,70 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
libc
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\system_stm32f7xx.c
@@ -2219,6 +2233,9 @@
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc.c
+
+ $PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc_ex.c
+
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp.c
@@ -2265,4 +2282,118 @@
$PROJ_DIR$\..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_usart.c
+
+ lwIP
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\arch\sys_arch.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\api\api_lib.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\api\api_msg.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\api\err.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\api\netbuf.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\api\netdb.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\api\netifapi.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\api\sockets.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\api\tcpip.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\def.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\dns.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\inet_chksum.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\init.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\ip.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\memp.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\netif.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\pbuf.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\raw.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\stats.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\sys.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\tcp.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\tcp_in.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\tcp_out.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\timeouts.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\udp.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\netif\ethernet.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\netif\ethernetif.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\netif\lowpan6.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\ipv4\autoip.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\ipv4\etharp.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\ipv4\icmp.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\ipv4\igmp.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_frag.c
+
+
+ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c
+
+
diff --git a/bsp/stm32/stm32f769-st-disco/project.uvprojx b/bsp/stm32/stm32f769-st-disco/project.uvprojx
index f05717fefe7c4330259c8213301d27704288506a..428930c93f5113015ba03c6f9f032b44f84a59a5 100644
--- a/bsp/stm32/stm32f769-st-disco/project.uvprojx
+++ b/bsp/stm32/stm32f769-st-disco/project.uvprojx
@@ -333,9 +333,9 @@
0
- STM32F767xx, USE_HAL_DRIVER
+ STM32F767xx, USE_HAL_DRIVER, __RTTHREAD__
- applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\..\..\components\net\lwip-2.0.2\src;..\..\..\components\net\lwip-2.0.2\src\include;..\..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\..\components\net\lwip-2.0.2\src\arch\include;..\..\..\components\net\lwip-2.0.2\src\include\netif;..\..\..\components\net\lwip-2.0.2\src\include\posix;..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc;..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Include;..\libraries\STM32F7xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Inc;..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Include;..\libraries\STM32F7xx_HAL\CMSIS\Include;..\..\..\components\net\lwip-2.0.2\src;..\..\..\components\net\lwip-2.0.2\src\include;..\..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\..\components\net\lwip-2.0.2\src\arch\include;..\..\..\components\net\lwip-2.0.2\src\include\netif;..\..\..\components\net\lwip-2.0.2\src\include\posix
@@ -387,7 +387,7 @@
- cpu
+ CPU
backtrace.c
@@ -678,414 +678,414 @@
- lwIP
+ Libraries
- sys_arch.c
+ system_stm32f7xx.c
1
- ..\..\..\components\net\lwip-2.0.2\src\arch\sys_arch.c
+ ..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\system_stm32f7xx.c
- api_lib.c
+ stm32f7xx_hal.c
1
- ..\..\..\components\net\lwip-2.0.2\src\api\api_lib.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal.c
- api_msg.c
+ stm32f7xx_hal_cec.c
1
- ..\..\..\components\net\lwip-2.0.2\src\api\api_msg.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cec.c
- err.c
+ stm32f7xx_hal_cortex.c
1
- ..\..\..\components\net\lwip-2.0.2\src\api\err.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cortex.c
- netbuf.c
+ stm32f7xx_hal_crc.c
1
- ..\..\..\components\net\lwip-2.0.2\src\api\netbuf.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc.c
- netdb.c
+ stm32f7xx_hal_crc_ex.c
1
- ..\..\..\components\net\lwip-2.0.2\src\api\netdb.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc_ex.c
- netifapi.c
+ stm32f7xx_hal_cryp.c
1
- ..\..\..\components\net\lwip-2.0.2\src\api\netifapi.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp.c
- sockets.c
+ stm32f7xx_hal_cryp_ex.c
1
- ..\..\..\components\net\lwip-2.0.2\src\api\sockets.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp_ex.c
- tcpip.c
+ stm32f7xx_hal_exti.c
1
- ..\..\..\components\net\lwip-2.0.2\src\api\tcpip.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_exti.c
- def.c
+ stm32f7xx_hal_dma.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\def.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma.c
- dns.c
+ stm32f7xx_hal_dma_ex.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\dns.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma_ex.c
- inet_chksum.c
+ stm32f7xx_hal_pwr.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\inet_chksum.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr.c
- init.c
+ stm32f7xx_hal_pwr_ex.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\init.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr_ex.c
- ip.c
+ stm32f7xx_hal_rcc.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\ip.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc.c
- memp.c
+ stm32f7xx_hal_rcc_ex.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\memp.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc_ex.c
- netif.c
+ stm32f7xx_hal_rng.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\netif.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rng.c
- pbuf.c
+ stm32f7xx_hal_sram.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\pbuf.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sram.c
- raw.c
+ stm32f7xx_hal_gpio.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\raw.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_gpio.c
- stats.c
+ stm32f7xx_hal_uart.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\stats.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_uart.c
- sys.c
+ stm32f7xx_hal_uart_ex.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\sys.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_uart_ex.c
- tcp.c
+ stm32f7xx_hal_usart.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\tcp.c
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_usart.c
+
+
+ lwIP
- tcp_in.c
+ sys_arch.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\tcp_in.c
+ ..\..\..\components\net\lwip-2.0.2\src\arch\sys_arch.c
- tcp_out.c
+ api_lib.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\tcp_out.c
+ ..\..\..\components\net\lwip-2.0.2\src\api\api_lib.c
- timeouts.c
+ api_msg.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\timeouts.c
+ ..\..\..\components\net\lwip-2.0.2\src\api\api_msg.c
- udp.c
+ err.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\udp.c
+ ..\..\..\components\net\lwip-2.0.2\src\api\err.c
- ethernet.c
+ netbuf.c
1
- ..\..\..\components\net\lwip-2.0.2\src\netif\ethernet.c
+ ..\..\..\components\net\lwip-2.0.2\src\api\netbuf.c
- ethernetif.c
+ netdb.c
1
- ..\..\..\components\net\lwip-2.0.2\src\netif\ethernetif.c
+ ..\..\..\components\net\lwip-2.0.2\src\api\netdb.c
- lowpan6.c
+ netifapi.c
1
- ..\..\..\components\net\lwip-2.0.2\src\netif\lowpan6.c
+ ..\..\..\components\net\lwip-2.0.2\src\api\netifapi.c
- autoip.c
+ sockets.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\autoip.c
+ ..\..\..\components\net\lwip-2.0.2\src\api\sockets.c
- dhcp.c
+ tcpip.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c
+ ..\..\..\components\net\lwip-2.0.2\src\api\tcpip.c
- etharp.c
+ def.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\etharp.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\def.c
- icmp.c
+ dns.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\icmp.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\dns.c
- igmp.c
+ inet_chksum.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\igmp.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\inet_chksum.c
- ip4.c
+ init.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\init.c
- ip4_addr.c
+ ip.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\ip.c
- ip4_frag.c
+ memp.c
1
- ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_frag.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\memp.c
- ping.c
+ netif.c
1
- ..\..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\netif.c
-
-
- STM32_HAL
- system_stm32f7xx.c
+ pbuf.c
1
- ..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\system_stm32f7xx.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\pbuf.c
- stm32f7xx_hal.c
+ raw.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\raw.c
- stm32f7xx_hal_cec.c
+ stats.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cec.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\stats.c
- stm32f7xx_hal_cortex.c
+ sys.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cortex.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\sys.c
- stm32f7xx_hal_crc.c
+ tcp.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\tcp.c
- stm32f7xx_hal_crc_ex.c
+ tcp_in.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_crc_ex.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\tcp_in.c
- stm32f7xx_hal_cryp.c
+ tcp_out.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\tcp_out.c
- stm32f7xx_hal_cryp_ex.c
+ timeouts.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp_ex.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\timeouts.c
- stm32f7xx_hal_exti.c
+ udp.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_exti.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\udp.c
- stm32f7xx_hal_dma.c
+ ethernet.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma.c
+ ..\..\..\components\net\lwip-2.0.2\src\netif\ethernet.c
- stm32f7xx_hal_dma_ex.c
+ ethernetif.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma_ex.c
+ ..\..\..\components\net\lwip-2.0.2\src\netif\ethernetif.c
- stm32f7xx_hal_pwr.c
+ lowpan6.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr.c
+ ..\..\..\components\net\lwip-2.0.2\src\netif\lowpan6.c
- stm32f7xx_hal_pwr_ex.c
+ autoip.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr_ex.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\autoip.c
- stm32f7xx_hal_rcc.c
+ dhcp.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c
- stm32f7xx_hal_rcc_ex.c
+ etharp.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc_ex.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\etharp.c
- stm32f7xx_hal_rng.c
+ icmp.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rng.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\icmp.c
- stm32f7xx_hal_sram.c
+ igmp.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sram.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\igmp.c
- stm32f7xx_hal_gpio.c
+ ip4.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_gpio.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4.c
- stm32f7xx_hal_uart.c
+ ip4_addr.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_uart.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c
- stm32f7xx_hal_uart_ex.c
+ ip4_frag.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_uart_ex.c
+ ..\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_frag.c
- stm32f7xx_hal_usart.c
+ ping.c
1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_usart.c
+ ..\..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c
diff --git a/bsp/stm32/stm32g070-st-nucleo/project.ewp b/bsp/stm32/stm32g070-st-nucleo/project.ewp
index 7ff56f91342fc1377c44a7ec73352d22ed16b2a0..b29c81173511cb959327a4078a91458747e57e50 100644
--- a/bsp/stm32/stm32g070-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32g070-st-nucleo/project.ewp
@@ -224,7 +224,8 @@
CCDefines
- STM32G071xx
+ STM32G070xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -354,6 +355,7 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Inc
$PROJ_DIR$\.
@@ -1276,7 +1278,8 @@
CCDefines
- STM32G071xx
+ STM32G070xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1406,6 +1409,7 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Inc
$PROJ_DIR$\.
@@ -2105,54 +2109,57 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2164,7 +2171,7 @@
$PROJ_DIR$\board\CubeMX_Config\Src\stm32g0xx_hal_msp.c
- $PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\iar\startup_stm32g071xx.s
+ $PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\iar\startup_stm32g070xx.s
$PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
@@ -2177,100 +2184,100 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\cpuport.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\context_iar.S
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_compiler.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_error.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_heap.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_init.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_node.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_ops.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_parser.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_var.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_vm.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_token.c
- finsh
+ Kernel
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\components.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_compiler.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_error.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_heap.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_init.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_node.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_ops.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_parser.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_var.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_vm.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_token.c
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
libc
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\system_stm32g0xx.c
diff --git a/bsp/stm32/stm32g070-st-nucleo/project.uvprojx b/bsp/stm32/stm32g070-st-nucleo/project.uvprojx
index a16f3867b3f8ce861640cc9c7227ab53dcc29504..c74bec284754e5414f97f36d2bc5c2227158c9ce 100644
--- a/bsp/stm32/stm32g070-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32g070-st-nucleo/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -17,30 +14,30 @@
STM32G070RBTx
STMicroelectronics
Keil.STM32G0xx_DFP.1.2.0
- http://www.keil.com/pack/
+ https://www.keil.com/pack/
IRAM(0x20000000,0x00009000) IROM(0x08000000,0x00020000) CPUTYPE("Cortex-M0+") CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32G0xx_128 -FS08000000 -FL020000 -FP0($$Device:STM32G070RBTx$CMSIS\Flash\STM32G0xx_128.FLM))
0
$$Device:STM32G070RBTx$Drivers\CMSIS\Device\ST\STM32G0xx\Include\stm32g0xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32G070RBTx$CMSIS\SVD\STM32G070.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -82,15 +79,15 @@
0
0
-
-
+
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -138,11 +135,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M0+"
-
+
0
0
0
@@ -308,7 +305,7 @@
0x0
-
+
1
@@ -335,9 +332,9 @@
0
0
-
- USE_HAL_DRIVER, STM32G070xx
-
+
+ USE_HAL_DRIVER, __RTTHREAD__, STM32G070xx
+
applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Inc;..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Include;..\libraries\STM32G0xx_HAL\CMSIS\Include
@@ -353,10 +350,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -368,13 +365,13 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
@@ -390,28 +387,36 @@
- cpu
+ CPU
backtrace.c
1
..\..\..\libcpu\arm\common\backtrace.c
+
+
div0.c
1
..\..\..\libcpu\arm\common\div0.c
+
+
showmem.c
1
..\..\..\libcpu\arm\common\showmem.c
+
+
cpuport.c
1
..\..\..\libcpu\arm\cortex-m0\cpuport.c
+
+
context_rvds.S
2
@@ -427,41 +432,57 @@
1
..\..\..\components\drivers\misc\pin.c
+
+
serial.c
1
..\..\..\components\drivers\serial\serial.c
+
+
completion.c
1
..\..\..\components\drivers\src\completion.c
+
+
dataqueue.c
1
..\..\..\components\drivers\src\dataqueue.c
+
+
pipe.c
1
..\..\..\components\drivers\src\pipe.c
+
+
ringblk_buf.c
1
..\..\..\components\drivers\src\ringblk_buf.c
+
+
ringbuffer.c
1
..\..\..\components\drivers\src\ringbuffer.c
+
+
waitqueue.c
1
..\..\..\components\drivers\src\waitqueue.c
+
+
workqueue.c
1
@@ -477,26 +498,36 @@
1
board\board.c
+
+
stm32g0xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32g0xx_hal_msp.c
+
+
startup_stm32g070xx.s
2
..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\arm\startup_stm32g070xx.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_common.c
1
@@ -512,61 +543,85 @@
1
..\..\..\components\finsh\shell.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
..\..\..\components\finsh\msh.c
+
+
finsh_compiler.c
1
..\..\..\components\finsh\finsh_compiler.c
+
+
finsh_error.c
1
..\..\..\components\finsh\finsh_error.c
+
+
finsh_heap.c
1
..\..\..\components\finsh\finsh_heap.c
+
+
finsh_init.c
1
..\..\..\components\finsh\finsh_init.c
+
+
finsh_node.c
1
..\..\..\components\finsh\finsh_node.c
+
+
finsh_ops.c
1
..\..\..\components\finsh\finsh_ops.c
+
+
finsh_parser.c
1
..\..\..\components\finsh\finsh_parser.c
+
+
finsh_var.c
1
..\..\..\components\finsh\finsh_var.c
+
+
finsh_vm.c
1
..\..\..\components\finsh\finsh_vm.c
+
+
finsh_token.c
1
@@ -582,66 +637,92 @@
1
..\..\..\src\clock.c
+
+
components.c
1
..\..\..\src\components.c
+
+
device.c
1
..\..\..\src\device.c
+
+
idle.c
1
..\..\..\src\idle.c
+
+
ipc.c
1
..\..\..\src\ipc.c
+
+
irq.c
1
..\..\..\src\irq.c
+
+
kservice.c
1
..\..\..\src\kservice.c
+
+
mem.c
1
..\..\..\src\mem.c
+
+
mempool.c
1
..\..\..\src\mempool.c
+
+
object.c
1
..\..\..\src\object.c
+
+
scheduler.c
1
..\..\..\src\scheduler.c
+
+
signal.c
1
..\..\..\src\signal.c
+
+
thread.c
1
..\..\..\src\thread.c
+
+
timer.c
1
@@ -660,88 +741,120 @@
- STM32_HAL
+ Libraries
system_stm32g0xx.c
1
..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\system_stm32g0xx.c
+
+
stm32g0xx_hal_cec.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_cec.c
+
+
stm32g0xx_hal_rcc.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_rcc.c
+
+
stm32g0xx_hal_rcc_ex.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_rcc_ex.c
+
+
stm32g0xx_hal_flash.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_flash.c
+
+
stm32g0xx_hal_flash_ex.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_flash_ex.c
+
+
stm32g0xx_hal_dma.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_dma.c
+
+
stm32g0xx_hal_dma_ex.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_dma_ex.c
+
+
stm32g0xx_hal_pwr.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_pwr.c
+
+
stm32g0xx_hal_pwr_ex.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_pwr_ex.c
+
+
stm32g0xx_hal_cortex.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_cortex.c
+
+
stm32g0xx_hal.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal.c
+
+
stm32g0xx_hal_gpio.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_gpio.c
+
+
stm32g0xx_hal_uart.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_uart.c
+
+
stm32g0xx_hal_uart_ex.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_uart_ex.c
+
+
stm32g0xx_hal_usart_ex.c
1
..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_usart_ex.c
+
+
stm32g0xx_ll_usart.c
1
@@ -752,11 +865,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32g071-st-nucleo/project.ewp b/bsp/stm32/stm32g071-st-nucleo/project.ewp
index dbc1848d29d098ff8e7d1ca3ef8d39ac2162e04a..16208bc7c3ee69789d357218fe923998f9ed2c92 100644
--- a/bsp/stm32/stm32g071-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32g071-st-nucleo/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32G071xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -361,7 +362,6 @@
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Include
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Include
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
@@ -1277,6 +1277,7 @@
CCDefines
STM32G071xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1413,7 +1414,6 @@
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Include
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Include
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
@@ -2105,54 +2105,57 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2177,100 +2180,94 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\cpuport.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\context_iar.S
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_compiler.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_error.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_heap.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_init.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_node.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_ops.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_parser.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_var.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_vm.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\components\finsh\finsh_token.c
- finsh
+ Kernel
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\components.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_compiler.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_error.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_heap.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_init.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_node.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_ops.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_parser.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_var.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_vm.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\finsh_token.c
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\system_stm32g0xx.c
diff --git a/bsp/stm32/stm32g071-st-nucleo/project.uvprojx b/bsp/stm32/stm32g071-st-nucleo/project.uvprojx
index b3b2698075aa53bbe7191c76c9ec3e1849ad644b..03480cea46b1fa77b383a60957c3dbdfabe4c901 100644
--- a/bsp/stm32/stm32g071-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32g071-st-nucleo/project.uvprojx
@@ -332,9 +332,9 @@
0
- USE_HAL_DRIVER, STM32G071xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32G071xx
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Inc;..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Include;..\libraries\STM32G0xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32G0xx_HAL\STM32G0xx_HAL_Driver\Inc;..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Include;..\libraries\STM32G0xx_HAL\CMSIS\Include
@@ -376,113 +376,116 @@
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+ CPU
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m0\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m0\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -532,205 +535,202 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
- cpuport.c
+ finsh_compiler.c
1
- ..\..\..\libcpu\arm\cortex-m0\cpuport.c
+ ..\..\..\components\finsh\finsh_compiler.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m0\context_rvds.S
+ finsh_error.c
+ 1
+ ..\..\..\components\finsh\finsh_error.c
-
-
- DeviceDrivers
- pin.c
+ finsh_heap.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\components\finsh\finsh_heap.c
- serial.c
+ finsh_init.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\finsh\finsh_init.c
- completion.c
+ finsh_node.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\components\finsh\finsh_node.c
- dataqueue.c
+ finsh_ops.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\components\finsh\finsh_ops.c
- pipe.c
+ finsh_parser.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\components\finsh\finsh_parser.c
- ringblk_buf.c
+ finsh_var.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\components\finsh\finsh_var.c
- ringbuffer.c
+ finsh_vm.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\components\finsh\finsh_vm.c
- waitqueue.c
+ finsh_token.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\components\finsh\finsh_token.c
+
+
+ Kernel
- workqueue.c
+ clock.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\clock.c
-
-
- finsh
- shell.c
+ components.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\components.c
- cmd.c
+ device.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\device.c
- msh.c
+ idle.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\idle.c
- finsh_compiler.c
+ ipc.c
1
- ..\..\..\components\finsh\finsh_compiler.c
+ ..\..\..\src\ipc.c
- finsh_error.c
+ irq.c
1
- ..\..\..\components\finsh\finsh_error.c
+ ..\..\..\src\irq.c
- finsh_heap.c
+ kservice.c
1
- ..\..\..\components\finsh\finsh_heap.c
+ ..\..\..\src\kservice.c
- finsh_init.c
+ mem.c
1
- ..\..\..\components\finsh\finsh_init.c
+ ..\..\..\src\mem.c
- finsh_node.c
+ mempool.c
1
- ..\..\..\components\finsh\finsh_node.c
+ ..\..\..\src\mempool.c
- finsh_ops.c
+ object.c
1
- ..\..\..\components\finsh\finsh_ops.c
+ ..\..\..\src\object.c
- finsh_parser.c
+ scheduler.c
1
- ..\..\..\components\finsh\finsh_parser.c
+ ..\..\..\src\scheduler.c
- finsh_var.c
+ signal.c
1
- ..\..\..\components\finsh\finsh_var.c
+ ..\..\..\src\signal.c
- finsh_vm.c
+ thread.c
1
- ..\..\..\components\finsh\finsh_vm.c
+ ..\..\..\src\thread.c
- finsh_token.c
+ timer.c
1
- ..\..\..\components\finsh\finsh_token.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32g0xx.c
diff --git a/bsp/stm32/stm32g431-st-nucleo/project.ewp b/bsp/stm32/stm32g431-st-nucleo/project.ewp
index ca349dfb701c9a3b02a5a2eb041c78fd4c8bb005..345f8611c9f4a8203b8d43ff10504febc1f7b229 100644
--- a/bsp/stm32/stm32g431-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32g431-st-nucleo/project.ewp
@@ -220,6 +220,7 @@
CCDefines
STM32G431xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1255,6 +1256,7 @@
CCDefines
STM32G431xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2077,7 +2079,7 @@
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2209,7 +2211,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32G4xx_HAL\CMSIS\Device\ST\STM32G4xx\Source\Templates\system_stm32g4xx.c
diff --git a/bsp/stm32/stm32g431-st-nucleo/project.uvprojx b/bsp/stm32/stm32g431-st-nucleo/project.uvprojx
index a33ab2029d48e8df68b20f4cec2bcfc78cce8c76..ee02524c900cdc4e6188d060c9be3f676ac7fb7e 100644
--- a/bsp/stm32/stm32g431-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32g431-st-nucleo/project.uvprojx
@@ -333,7 +333,7 @@
0
- USE_HAL_DRIVER, STM32G431xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32G431xx
applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32G4xx_HAL\STM32G4xx_HAL_Driver\Inc;..\libraries\STM32G4xx_HAL\CMSIS\Device\ST\STM32G4xx\Include;..\libraries\STM32G4xx_HAL\CMSIS\Include
@@ -387,7 +387,7 @@
- cpu
+ CPU
backtrace.c
@@ -671,7 +671,7 @@
- STM32_HAL
+ Libraries
system_stm32g4xx.c
diff --git a/bsp/stm32/stm32h743-atk-apollo/project.ewp b/bsp/stm32/stm32h743-atk-apollo/project.ewp
index b0e180439accdc6de983b0fa5bdb61983eaee1f7..28e1354ecc74be799ad177ef9a0567a10555fa13 100644
--- a/bsp/stm32/stm32h743-atk-apollo/project.ewp
+++ b/bsp/stm32/stm32h743-atk-apollo/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32H743xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1293,6 +1294,7 @@
CCDefines
STM32H743xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2137,54 +2139,60 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2212,73 +2220,70 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
libc
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c
diff --git a/bsp/stm32/stm32h743-atk-apollo/project.uvprojx b/bsp/stm32/stm32h743-atk-apollo/project.uvprojx
index e3f27aab5a89247fa1305399f167bdd0e0d7dd6d..15fd7504c4d2eb7877df5e534123889e3f7ba1ae 100644
--- a/bsp/stm32/stm32h743-atk-apollo/project.uvprojx
+++ b/bsp/stm32/stm32h743-atk-apollo/project.uvprojx
@@ -333,7 +333,7 @@
0
- USE_HAL_DRIVER, STM32H743xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32H743xx
..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Inc;..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Include;..\libraries\STM32H7xx_HAL\CMSIS\Include
@@ -387,7 +387,7 @@
- cpu
+ CPU
backtrace.c
@@ -685,7 +685,7 @@
- STM32_HAL
+ Libraries
system_stm32h7xx.c
diff --git a/bsp/stm32/stm32h743-st-nucleo/project.ewp b/bsp/stm32/stm32h743-st-nucleo/project.ewp
index f31701cd5ea02837a527dff9bcb523b39ea6558c..0a00563c38b058aa430c1b5a4017746d31e5d1e4 100644
--- a/bsp/stm32/stm32h743-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32h743-st-nucleo/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32H743xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1276,6 +1277,7 @@
CCDefines
STM32H743xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2103,57 +2105,60 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2178,66 +2183,60 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2247,7 +2246,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c
diff --git a/bsp/stm32/stm32h743-st-nucleo/project.uvprojx b/bsp/stm32/stm32h743-st-nucleo/project.uvprojx
index f71b6b463a1ce3165a669675b2a13ed2fbc3a60c..8780833ee37a6ad007eba55b36ff24833446d780 100644
--- a/bsp/stm32/stm32h743-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32h743-st-nucleo/project.uvprojx
@@ -333,9 +333,9 @@
0
- USE_HAL_DRIVER, STM32H743xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32H743xx
- .;..\..\..\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Inc;..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Include;..\libraries\STM32H7xx_HAL\CMSIS\Include
+ ..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Inc;..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Include;..\libraries\STM32H7xx_HAL\CMSIS\Include
@@ -377,120 +377,123 @@
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+ CPU
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- cpu.c
+ div0.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\div0.c
- device.c
+ showmem.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\showmem.c
- idle.c
+ cpu_cache.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m7\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -540,137 +543,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpu_cache.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+ ..\..\..\src\clock.c
- cpuport.c
+ components.c
1
- ..\..\..\libcpu\arm\cortex-m7\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -685,7 +678,7 @@
- STM32_HAL
+ Libraries
system_stm32h7xx.c
diff --git a/bsp/stm32/stm32h747-st-discovery/project.ewp b/bsp/stm32/stm32h747-st-discovery/project.ewp
index d4bb89e828395da42353f4c69253471f24fc367b..b66d2ad26451831582b696a9eba7a1b22ca482bc 100644
--- a/bsp/stm32/stm32h747-st-discovery/project.ewp
+++ b/bsp/stm32/stm32h747-st-discovery/project.ewp
@@ -226,6 +226,7 @@
STM32H747xx
CORE_CM7
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1278,6 +1279,7 @@
STM32H747xx
CORE_CM7
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2111,7 +2113,7 @@
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2246,7 +2248,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c
diff --git a/bsp/stm32/stm32h747-st-discovery/project.uvoptx b/bsp/stm32/stm32h747-st-discovery/project.uvoptx
index 2cd44e74493ca642d8049fc0ce6086bc237a287f..80a4251ef0291391890a628084b415b3e5315328 100644
--- a/bsp/stm32/stm32h747-st-discovery/project.uvoptx
+++ b/bsp/stm32/stm32h747-st-discovery/project.uvoptx
@@ -181,812 +181,4 @@
-
- Kernel
- 0
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 0
- 0
- 0
- 0
-
- 2
- 15
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 3
- 16
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- board\CubeMX_Config\CM7\Src\stm32h7xx_hal_msp.c
- stm32h7xx_hal_msp.c
- 0
- 0
-
-
- 3
- 18
- 2
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h747xx.s
- startup_stm32h747xx.s
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 4
- 22
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
- cpu_cache.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m7\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 27
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
-
-
- libc
- 0
- 0
- 0
- 0
-
- 7
- 40
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\time.c
- time.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 8
- 41
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c
- system_stm32h7xx.c
- 0
- 0
-
-
- 8
- 42
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c
- stm32h7xx_hal.c
- 0
- 0
-
-
- 8
- 43
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cec.c
- stm32h7xx_hal_cec.c
- 0
- 0
-
-
- 8
- 44
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cortex.c
- stm32h7xx_hal_cortex.c
- 0
- 0
-
-
- 8
- 45
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_comp.c
- stm32h7xx_hal_comp.c
- 0
- 0
-
-
- 8
- 46
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc.c
- stm32h7xx_hal_crc.c
- 0
- 0
-
-
- 8
- 47
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc_ex.c
- stm32h7xx_hal_crc_ex.c
- 0
- 0
-
-
- 8
- 48
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp.c
- stm32h7xx_hal_cryp.c
- 0
- 0
-
-
- 8
- 49
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp_ex.c
- stm32h7xx_hal_cryp_ex.c
- 0
- 0
-
-
- 8
- 50
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma.c
- stm32h7xx_hal_dma.c
- 0
- 0
-
-
- 8
- 51
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma_ex.c
- stm32h7xx_hal_dma_ex.c
- 0
- 0
-
-
- 8
- 52
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_mdma.c
- stm32h7xx_hal_mdma.c
- 0
- 0
-
-
- 8
- 53
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr.c
- stm32h7xx_hal_pwr.c
- 0
- 0
-
-
- 8
- 54
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr_ex.c
- stm32h7xx_hal_pwr_ex.c
- 0
- 0
-
-
- 8
- 55
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc.c
- stm32h7xx_hal_rcc.c
- 0
- 0
-
-
- 8
- 56
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc_ex.c
- stm32h7xx_hal_rcc_ex.c
- 0
- 0
-
-
- 8
- 57
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rng.c
- stm32h7xx_hal_rng.c
- 0
- 0
-
-
- 8
- 58
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sram.c
- stm32h7xx_hal_sram.c
- 0
- 0
-
-
- 8
- 59
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_gpio.c
- stm32h7xx_hal_gpio.c
- 0
- 0
-
-
- 8
- 60
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart.c
- stm32h7xx_hal_uart.c
- 0
- 0
-
-
- 8
- 61
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_usart.c
- stm32h7xx_hal_usart.c
- 0
- 0
-
-
- 8
- 62
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart_ex.c
- stm32h7xx_hal_uart_ex.c
- 0
- 0
-
-
-
diff --git a/bsp/stm32/stm32h747-st-discovery/project.uvprojx b/bsp/stm32/stm32h747-st-discovery/project.uvprojx
index e8a7a8d6f6f0d6b54f591bbf22e702e23ad45af5..4a9378c55faab2a24df83cab6925e03bdf188189 100644
--- a/bsp/stm32/stm32h747-st-discovery/project.uvprojx
+++ b/bsp/stm32/stm32h747-st-discovery/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -19,28 +16,28 @@
Keil.STM32H7xx_DFP.2.3.0
https://www.keil.com/pack/
IRAM(0x38000000,0x00010000) IRAM2(0x24000000,0x00080000) IROM(0x08000000,0x00100000) CPUTYPE("Cortex-M7") FPU3(DFPU) CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC8000 -FN1 -FF0STM32H7x_2048 -FS08000000 -FL0200000 -FP0($$Device:STM32H747XIHx$CMSIS\Flash\STM32H7x_2048.FLM))
0
$$Device:STM32H747XIHx$Drivers\CMSIS\Device\ST\STM32H7xx\Include\stm32h7xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32H747XIHx$CMSIS\SVD\STM32H7x7_CM7.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -138,11 +135,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M7"
-
+
0
0
0
@@ -308,7 +305,7 @@
0x80000
-
+
1
@@ -335,10 +332,10 @@
0
0
-
- STM32H747xx, CORE_CM7, USE_HAL_DRIVER
-
- .;..\..\..\include;board;board\CubeMX_Config\CM7\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Inc;..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Include;..\libraries\STM32H7xx_HAL\CMSIS\Include
+
+ STM32H747xx, CORE_CM7, USE_HAL_DRIVER, __RTTHREAD__
+
+ ..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\CM7\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Inc;..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Include;..\libraries\STM32H7xx_HAL\CMSIS\Include
@@ -353,10 +350,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -368,99 +365,135 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+
+ CPU
+
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- ipc.c
+ cpu_cache.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+
+
- irq.c
+ cpuport.c
1
- ..\..\..\src\irq.c
+ ..\..\..\libcpu\arm\cortex-m7\cpuport.c
+
+
- kservice.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -472,26 +505,36 @@
1
board\board.c
+
+
stm32h7xx_hal_msp.c
1
board\CubeMX_Config\CM7\Src\stm32h7xx_hal_msp.c
+
+
startup_stm32h747xx.s
2
..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h747xx.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_common.c
1
@@ -500,107 +543,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
+
+
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
+
+
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+ Kernel
+
- cpu_cache.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+ ..\..\..\src\clock.c
+
+
- cpuport.c
+ components.c
1
- ..\..\..\libcpu\arm\cortex-m7\cpuport.c
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
+
+
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
+
+
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
+
+
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
+
+
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
+
+
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
+
+
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
+
+
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
+
+
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
+
+
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
+
+
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -615,113 +678,155 @@
- STM32_HAL
+ Libraries
system_stm32h7xx.c
1
..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c
+
+
stm32h7xx_hal.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c
+
+
stm32h7xx_hal_cec.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cec.c
+
+
stm32h7xx_hal_cortex.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cortex.c
+
+
stm32h7xx_hal_comp.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_comp.c
+
+
stm32h7xx_hal_crc.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc.c
+
+
stm32h7xx_hal_crc_ex.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc_ex.c
+
+
stm32h7xx_hal_cryp.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp.c
+
+
stm32h7xx_hal_cryp_ex.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp_ex.c
+
+
stm32h7xx_hal_dma.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma.c
+
+
stm32h7xx_hal_dma_ex.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma_ex.c
+
+
stm32h7xx_hal_mdma.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_mdma.c
+
+
stm32h7xx_hal_pwr.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr.c
+
+
stm32h7xx_hal_pwr_ex.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr_ex.c
+
+
stm32h7xx_hal_rcc.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc.c
+
+
stm32h7xx_hal_rcc_ex.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc_ex.c
+
+
stm32h7xx_hal_rng.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rng.c
+
+
stm32h7xx_hal_sram.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sram.c
+
+
stm32h7xx_hal_gpio.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_gpio.c
+
+
stm32h7xx_hal_uart.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart.c
+
+
stm32h7xx_hal_usart.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_usart.c
+
+
stm32h7xx_hal_uart_ex.c
1
@@ -732,11 +837,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32h750-armfly-h7-tool/project.ewp b/bsp/stm32/stm32h750-armfly-h7-tool/project.ewp
index ada23fad480ed5ff9aa13d0c761219324d0e218e..3363e975976d692b93d56092ed8d5daa5f31e454 100644
--- a/bsp/stm32/stm32h750-armfly-h7-tool/project.ewp
+++ b/bsp/stm32/stm32h750-armfly-h7-tool/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32H750xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1277,6 +1278,7 @@
CCDefines
STM32H750xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2111,7 +2113,7 @@
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2258,7 +2260,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c
diff --git a/bsp/stm32/stm32h750-armfly-h7-tool/project.uvoptx b/bsp/stm32/stm32h750-armfly-h7-tool/project.uvoptx
index 22993c30c885b89b4e9b3377b8dce94e001c5f57..d7c9e0bc79b82047e98d04e677fbc54c950e4cd9 100644
--- a/bsp/stm32/stm32h750-armfly-h7-tool/project.uvoptx
+++ b/bsp/stm32/stm32h750-armfly-h7-tool/project.uvoptx
@@ -73,7 +73,7 @@
0
- 1
+ 0
0
1
@@ -181,860 +181,4 @@
-
- Kernel
- 0
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 1
- 0
- 0
- 0
-
- 2
- 15
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 1
- 0
- 0
- 0
-
- 3
- 16
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
- stm32h7xx_hal_msp.c
- 0
- 0
-
-
- 3
- 18
- 2
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.s
- startup_stm32h743xx.s
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_crypto.c
- drv_crypto.c
- 0
- 0
-
-
- 3
- 22
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
- cpu_cache.c
- 0
- 0
-
-
- 4
- 27
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m7\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 28
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\hwcrypto\hwcrypto.c
- hwcrypto.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\hwcrypto\hw_rng.c
- hw_rng.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\hwcrypto\hw_crc.c
- hw_crc.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 40
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 43
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
-
-
- libc
- 0
- 0
- 0
- 0
-
- 7
- 44
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\time.c
- time.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 8
- 45
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c
- system_stm32h7xx.c
- 0
- 0
-
-
- 8
- 46
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c
- stm32h7xx_hal.c
- 0
- 0
-
-
- 8
- 47
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cec.c
- stm32h7xx_hal_cec.c
- 0
- 0
-
-
- 8
- 48
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cortex.c
- stm32h7xx_hal_cortex.c
- 0
- 0
-
-
- 8
- 49
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_comp.c
- stm32h7xx_hal_comp.c
- 0
- 0
-
-
- 8
- 50
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc.c
- stm32h7xx_hal_crc.c
- 0
- 0
-
-
- 8
- 51
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc_ex.c
- stm32h7xx_hal_crc_ex.c
- 0
- 0
-
-
- 8
- 52
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp.c
- stm32h7xx_hal_cryp.c
- 0
- 0
-
-
- 8
- 53
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp_ex.c
- stm32h7xx_hal_cryp_ex.c
- 0
- 0
-
-
- 8
- 54
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma.c
- stm32h7xx_hal_dma.c
- 0
- 0
-
-
- 8
- 55
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma_ex.c
- stm32h7xx_hal_dma_ex.c
- 0
- 0
-
-
- 8
- 56
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_mdma.c
- stm32h7xx_hal_mdma.c
- 0
- 0
-
-
- 8
- 57
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr.c
- stm32h7xx_hal_pwr.c
- 0
- 0
-
-
- 8
- 58
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr_ex.c
- stm32h7xx_hal_pwr_ex.c
- 0
- 0
-
-
- 8
- 59
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc.c
- stm32h7xx_hal_rcc.c
- 0
- 0
-
-
- 8
- 60
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc_ex.c
- stm32h7xx_hal_rcc_ex.c
- 0
- 0
-
-
- 8
- 61
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rng.c
- stm32h7xx_hal_rng.c
- 0
- 0
-
-
- 8
- 62
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sram.c
- stm32h7xx_hal_sram.c
- 0
- 0
-
-
- 8
- 63
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_gpio.c
- stm32h7xx_hal_gpio.c
- 0
- 0
-
-
- 8
- 64
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart.c
- stm32h7xx_hal_uart.c
- 0
- 0
-
-
- 8
- 65
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_usart.c
- stm32h7xx_hal_usart.c
- 0
- 0
-
-
- 8
- 66
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart_ex.c
- stm32h7xx_hal_uart_ex.c
- 0
- 0
-
-
-
diff --git a/bsp/stm32/stm32h750-armfly-h7-tool/project.uvprojx b/bsp/stm32/stm32h750-armfly-h7-tool/project.uvprojx
index 51196d129f53645a2d0128dc6b99d0c1b23c8cb9..3682f7abd146c9d3f4d71471dca5209772e44f7b 100644
--- a/bsp/stm32/stm32h750-armfly-h7-tool/project.uvprojx
+++ b/bsp/stm32/stm32h750-armfly-h7-tool/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -19,28 +16,28 @@
Keil.STM32H7xx_DFP.2.3.1
https://www.keil.com/pack/
IRAM(0x20000000,0x00020000) IRAM2(0x24000000,0x00080000) IROM(0x08000000,0x00100000) IROM2(0x08100000,0x00100000) XRAM(0x30000000,0x00048000) XRAM2(0x38000000,0x00010000) CPUTYPE("Cortex-M7") FPU3(DFPU) CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC8000 -FN1 -FF0STM32H7x_2048 -FS08000000 -FL0200000 -FP0($$Device:STM32H743IIKx$CMSIS\Flash\STM32H7x_2048.FLM))
0
$$Device:STM32H743IIKx$Drivers\CMSIS\Device\ST\STM32H7xx\Include\stm32h7xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32H743IIKx$CMSIS\SVD\STM32H743x.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -138,11 +135,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M7"
-
+
0
0
0
@@ -308,7 +305,7 @@
0x80000
-
+
1
@@ -335,10 +332,10 @@
0
0
-
- STM32H750xx, USE_HAL_DRIVER
-
- .;..\..\..\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\hwcrypto;.;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Inc;..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Include;..\libraries\STM32H7xx_HAL\CMSIS\Include
+
+ STM32H750xx, USE_HAL_DRIVER, __RTTHREAD__
+
+ ..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\hwcrypto;.;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Inc;..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Include;..\libraries\STM32H7xx_HAL\CMSIS\Include
@@ -353,10 +350,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -368,99 +365,156 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+
+ CPU
+
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- ipc.c
+ cpu_cache.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+
+
- irq.c
+ cpuport.c
1
- ..\..\..\src\irq.c
+ ..\..\..\libcpu\arm\cortex-m7\cpuport.c
+
+
- kservice.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ hwcrypto.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\hwcrypto\hwcrypto.c
+
+
- mem.c
+ hw_rng.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\hwcrypto\hw_rng.c
+
+
- mempool.c
+ hw_crc.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\hwcrypto\hw_crc.c
+
+
- object.c
+ pin.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- scheduler.c
+ serial.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- signal.c
+ completion.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- thread.c
+ dataqueue.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- timer.c
+ pipe.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\pipe.c
-
-
- Applications
- main.c
+ ringblk_buf.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
+
+
+ ringbuffer.c
+ 1
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
+
+
+ waitqueue.c
+ 1
+ ..\..\..\components\drivers\src\waitqueue.c
+
+
+
+
+ workqueue.c
+ 1
+ ..\..\..\components\drivers\src\workqueue.c
@@ -472,31 +526,43 @@
1
board\board.c
+
+
stm32h7xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
+
+
- startup_stm32h743xx.s
+ startup_stm32h750xx.s
2
- ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.s
+ ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h750xx.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_crypto.c
1
..\libraries\HAL_Drivers\drv_crypto.c
+
+
drv_common.c
1
@@ -505,122 +571,127 @@
- cpu
+ finsh
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
- div0.c
- 1
- ..\..\..\libcpu\arm\common\div0.c
-
-
- showmem.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\shell.c
+
+
- cpu_cache.c
+ cmd.c
1
- ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+ ..\..\..\components\finsh\cmd.c
+
+
- cpuport.c
+ msh.c
1
- ..\..\..\libcpu\arm\cortex-m7\cpuport.c
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
+ ..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- hwcrypto.c
- 1
- ..\..\..\components\drivers\hwcrypto\hwcrypto.c
-
-
- hw_rng.c
+ clock.c
1
- ..\..\..\components\drivers\hwcrypto\hw_rng.c
+ ..\..\..\src\clock.c
+
+
- hw_crc.c
+ components.c
1
- ..\..\..\components\drivers\hwcrypto\hw_crc.c
+ ..\..\..\src\components.c
+
+
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
+
+
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
+
+
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
+
+
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
+
+
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
+
+
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
+
+
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
+
+
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
+
+
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
+
+
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
+
+
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -635,113 +706,155 @@
- STM32_HAL
+ Libraries
system_stm32h7xx.c
1
..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c
+
+
stm32h7xx_hal.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c
+
+
stm32h7xx_hal_cec.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cec.c
+
+
stm32h7xx_hal_cortex.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cortex.c
+
+
stm32h7xx_hal_comp.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_comp.c
+
+
stm32h7xx_hal_crc.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc.c
+
+
stm32h7xx_hal_crc_ex.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc_ex.c
+
+
stm32h7xx_hal_cryp.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp.c
+
+
stm32h7xx_hal_cryp_ex.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp_ex.c
+
+
stm32h7xx_hal_dma.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma.c
+
+
stm32h7xx_hal_dma_ex.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma_ex.c
+
+
stm32h7xx_hal_mdma.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_mdma.c
+
+
stm32h7xx_hal_pwr.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr.c
+
+
stm32h7xx_hal_pwr_ex.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr_ex.c
+
+
stm32h7xx_hal_rcc.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc.c
+
+
stm32h7xx_hal_rcc_ex.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc_ex.c
+
+
stm32h7xx_hal_rng.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rng.c
+
+
stm32h7xx_hal_sram.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sram.c
+
+
stm32h7xx_hal_gpio.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_gpio.c
+
+
stm32h7xx_hal_uart.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart.c
+
+
stm32h7xx_hal_usart.c
1
..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_usart.c
+
+
stm32h7xx_hal_uart_ex.c
1
@@ -752,11 +865,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32l010-st-nucleo/project.ewp b/bsp/stm32/stm32l010-st-nucleo/project.ewp
index 7783ef9cf15fad5d838556f14c0091d71c9d5a99..70c1028d6f6c289f696533e154cd171efa73b9d6 100644
--- a/bsp/stm32/stm32l010-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32l010-st-nucleo/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32L053xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1293,6 +1294,7 @@
CCDefines
STM32L053xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2143,7 +2145,7 @@
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2275,7 +2277,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Source\Templates\system_stm32l0xx.c
diff --git a/bsp/stm32/stm32l010-st-nucleo/project.uvoptx b/bsp/stm32/stm32l010-st-nucleo/project.uvoptx
index 97f78109adba5de4a2d6a3668c3e5f781aef9aed..7f4a45a0e747215146fc3dec7e44f475dbc437c9 100644
--- a/bsp/stm32/stm32l010-st-nucleo/project.uvoptx
+++ b/bsp/stm32/stm32l010-st-nucleo/project.uvoptx
@@ -125,7 +125,7 @@
0
ST-LINKIII-KEIL_SWO
- -U0671FF535155878281103613 -O206 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("") -D00(00000000) -L00(0) -TO18 -TC10000000 -TP21 -TDS8004 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC800 -FN1 -FF0STM32L0xx_128.FLM -FS08000000 -FL020000 -FP0($$Device:STM32L010RBTx$CMSIS\Flash\STM32L0xx_128.FLM)
+ -U303030303030303030303031 -O206 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("") -D00(00000000) -L00(0) -TO18 -TC10000000 -TP21 -TDS8004 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC800 -FN1 -FF0STM32L0xx_128.FLM -FS08000000 -FL020000 -FP0($$Device:STM32L010RBTx$CMSIS\Flash\STM32L0xx_128.FLM)
@@ -182,751 +182,11 @@
- Kernel
- 1
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 1
- 0
- 0
- 0
-
- 2
- 15
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 3
- 16
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32l0xx_hal_msp.c
- stm32l0xx_hal_msp.c
- 0
- 0
-
-
- 3
- 18
- 2
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Source\Templates\arm\startup_stm32l053xx.s
- startup_stm32l053xx.s
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 4
- 22
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m0\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 26
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m0\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 27
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
-
-
- libc
- 0
- 0
- 0
- 0
-
- 7
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\time.c
- time.c
- 0
- 0
-
-
-
-
- STM32_HAL
+ Source Group 1
0
0
0
0
-
- 8
- 40
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Source\Templates\system_stm32l0xx.c
- system_stm32l0xx.c
- 0
- 0
-
-
- 8
- 41
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal.c
- stm32l0xx_hal.c
- 0
- 0
-
-
- 8
- 42
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_comp.c
- stm32l0xx_hal_comp.c
- 0
- 0
-
-
- 8
- 43
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_cortex.c
- stm32l0xx_hal_cortex.c
- 0
- 0
-
-
- 8
- 44
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_crc.c
- stm32l0xx_hal_crc.c
- 0
- 0
-
-
- 8
- 45
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_crc_ex.c
- stm32l0xx_hal_crc_ex.c
- 0
- 0
-
-
- 8
- 46
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_cryp.c
- stm32l0xx_hal_cryp.c
- 0
- 0
-
-
- 8
- 47
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_cryp_ex.c
- stm32l0xx_hal_cryp_ex.c
- 0
- 0
-
-
- 8
- 48
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_dma.c
- stm32l0xx_hal_dma.c
- 0
- 0
-
-
- 8
- 49
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_pwr.c
- stm32l0xx_hal_pwr.c
- 0
- 0
-
-
- 8
- 50
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_pwr_ex.c
- stm32l0xx_hal_pwr_ex.c
- 0
- 0
-
-
- 8
- 51
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_rcc.c
- stm32l0xx_hal_rcc.c
- 0
- 0
-
-
- 8
- 52
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_rcc_ex.c
- stm32l0xx_hal_rcc_ex.c
- 0
- 0
-
-
- 8
- 53
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_rng.c
- stm32l0xx_hal_rng.c
- 0
- 0
-
-
- 8
- 54
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_gpio.c
- stm32l0xx_hal_gpio.c
- 0
- 0
-
-
- 8
- 55
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_uart.c
- stm32l0xx_hal_uart.c
- 0
- 0
-
-
- 8
- 56
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_uart_ex.c
- stm32l0xx_hal_uart_ex.c
- 0
- 0
-
-
- 8
- 57
- 1
- 0
- 0
- 0
- ..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_usart.c
- stm32l0xx_hal_usart.c
- 0
- 0
-
diff --git a/bsp/stm32/stm32l010-st-nucleo/project.uvprojx b/bsp/stm32/stm32l010-st-nucleo/project.uvprojx
index 0e71514be53287317b417c3eec1dd30926d7c953..d3f0e2dbcf6610a9c379c85fe730288de55c3a9f 100644
--- a/bsp/stm32/stm32l010-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32l010-st-nucleo/project.uvprojx
@@ -1,16 +1,13 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
0x4
ARM-ADS
- 5060750::V5.06 update 6 (build 750)::ARMCC
+ 5060300::V5.06 update 3 (build 300)::ARMCC
0
@@ -19,28 +16,28 @@
Keil.STM32L0xx_DFP.2.0.1
http://www.keil.com/pack/
IRAM(0x20000000,0x00000800) IROM(0x08000000,0x00020000) CPUTYPE("Cortex-M0+") CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC800 -FN1 -FF0STM32L0xx_128 -FS08000000 -FL020000 -FP0($$Device:STM32L010RBTx$CMSIS\Flash\STM32L0xx_128.FLM))
0
$$Device:STM32L010RBTx$Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32L010RBTx$CMSIS\SVD\STM32L0x0.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -138,11 +135,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M0+"
-
+
0
0
0
@@ -308,7 +305,7 @@
0x0
-
+
1
@@ -335,10 +332,10 @@
0
0
-
- STM32L010xB,USE_HAL_DRIVER
-
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Inc;..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Include;..\libraries\STM32L0xx_HAL\CMSIS\Include
+
+ STM32L053xx, USE_HAL_DRIVER, __RTTHREAD__
+
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Inc;..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Include;..\libraries\STM32L0xx_HAL\CMSIS\Include
@@ -353,10 +350,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -368,99 +365,128 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+
+ CPU
+
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m0\cpuport.c
+
+
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m0\context_rvds.S
+
+
+
+ DeviceDrivers
+
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -472,26 +498,36 @@
1
board\board.c
+
+
stm32l0xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32l0xx_hal_msp.c
+
+
startup_stm32l053xx.s
2
..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Source\Templates\arm\startup_stm32l053xx.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_common.c
1
@@ -500,102 +536,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
+
+
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
+
+
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+ Kernel
+
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m0\cpuport.c
+ ..\..\..\src\clock.c
+
+
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m0\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
+
+
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
+
+
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
+
+
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
+
+
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
+
+
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
+
+
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
+
+
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
+
+
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
+
+
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
+
+
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -610,93 +671,127 @@
- STM32_HAL
+ Libraries
system_stm32l0xx.c
1
..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Source\Templates\system_stm32l0xx.c
+
+
stm32l0xx_hal.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal.c
+
+
stm32l0xx_hal_comp.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_comp.c
+
+
stm32l0xx_hal_cortex.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_cortex.c
+
+
stm32l0xx_hal_crc.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_crc.c
+
+
stm32l0xx_hal_crc_ex.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_crc_ex.c
+
+
stm32l0xx_hal_cryp.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_cryp.c
+
+
stm32l0xx_hal_cryp_ex.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_cryp_ex.c
+
+
stm32l0xx_hal_dma.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_dma.c
+
+
stm32l0xx_hal_pwr.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_pwr.c
+
+
stm32l0xx_hal_pwr_ex.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_pwr_ex.c
+
+
stm32l0xx_hal_rcc.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_rcc.c
+
+
stm32l0xx_hal_rcc_ex.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_rcc_ex.c
+
+
stm32l0xx_hal_rng.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_rng.c
+
+
stm32l0xx_hal_gpio.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_gpio.c
+
+
stm32l0xx_hal_uart.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_uart.c
+
+
stm32l0xx_hal_uart_ex.c
1
..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_uart_ex.c
+
+
stm32l0xx_hal_usart.c
1
@@ -707,11 +802,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32l053-st-nucleo/project.ewp b/bsp/stm32/stm32l053-st-nucleo/project.ewp
index 1ab1f503064f0200cc3bb23542213a6a3b523138..f759d8bb5b03707b6073cace786d0a5b4bd138ed 100644
--- a/bsp/stm32/stm32l053-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32l053-st-nucleo/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32L053xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1292,6 +1293,7 @@
CCDefines
STM32L053xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2141,7 +2143,7 @@
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2267,7 +2269,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Source\Templates\system_stm32l0xx.c
diff --git a/bsp/stm32/stm32l053-st-nucleo/project.uvprojx b/bsp/stm32/stm32l053-st-nucleo/project.uvprojx
index 3de35c446b67c6e118db56813d338bb4d3a93427..1da39ed0654c31154ad9cb19e7a4e3eeacadf2d1 100644
--- a/bsp/stm32/stm32l053-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32l053-st-nucleo/project.uvprojx
@@ -330,9 +330,9 @@
0
- STM32L053xx, USE_HAL_DRIVER
+ STM32L053xx, USE_HAL_DRIVER, __RTTHREAD__
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Inc;..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Include;..\libraries\STM32L0xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32L0xx_HAL\STM32L0xx_HAL_Driver\Inc;..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Include;..\libraries\STM32L0xx_HAL\CMSIS\Include
@@ -374,120 +374,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m0\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m0\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -537,135 +533,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m0\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m0\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32l0xx.c
diff --git a/bsp/stm32/stm32l412-st-nucleo/project.ewp b/bsp/stm32/stm32l412-st-nucleo/project.ewp
index 79cb2f4c714b5415f32fb7eaada5085c9f21247a..96f65e7d8511c145706c0839f51392652235e977 100644
--- a/bsp/stm32/stm32l412-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32l412-st-nucleo/project.ewp
@@ -215,7 +215,8 @@
CCDefines
- STM32L432xx
+ STM32L412xx
+ __RTTHREAD__
RT_USING_DLIBC
USE_HAL_DRIVER
@@ -1247,7 +1248,8 @@
CCDefines
- STM32L432xx
+ STM32L412xx
+ __RTTHREAD__
RT_USING_DLIBC
USE_HAL_DRIVER
@@ -2066,57 +2068,63 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\rtc\rtc.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
@@ -2128,7 +2136,7 @@
$PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l432xx.s
+ $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l412xx.s
$PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
@@ -2141,69 +2149,60 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\components\drivers\rtc\rtc.c
+ $PROJ_DIR$\..\..\..\src\components.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2211,9 +2210,6 @@
$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
-
-
- dlib
$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
@@ -2249,7 +2245,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l412-st-nucleo/project.uvprojx b/bsp/stm32/stm32l412-st-nucleo/project.uvprojx
index 1d632e7ce2235d20dfbc3aa0fb3de60bb28407e5..99eef4f8e6d59c4521faa6dd92abc644b87fa2cf 100644
--- a/bsp/stm32/stm32l412-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32l412-st-nucleo/project.uvprojx
@@ -333,7 +333,7 @@
0
- USE_HAL_DRIVER, STM32L412xx, RT_USING_ARM_LIBC
+ USE_HAL_DRIVER, STM32L412xx, RT_USING_ARM_LIBC, __RTTHREAD__
.;applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
@@ -387,7 +387,7 @@
- cpu
+ CPU
backtrace.c
@@ -706,7 +706,7 @@
- STM32_HAL
+ Libraries
system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l432-st-nucleo/project.ewp b/bsp/stm32/stm32l432-st-nucleo/project.ewp
index 79cb2f4c714b5415f32fb7eaada5085c9f21247a..f73a1dead43193adceaa429c81d2fc97261b6b7f 100644
--- a/bsp/stm32/stm32l432-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32l432-st-nucleo/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32L432xx
+ __RTTHREAD__
RT_USING_DLIBC
USE_HAL_DRIVER
@@ -1248,6 +1249,7 @@
CCDefines
STM32L432xx
+ __RTTHREAD__
RT_USING_DLIBC
USE_HAL_DRIVER
@@ -2066,57 +2068,63 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\rtc\rtc.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
@@ -2141,69 +2149,60 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\components\drivers\rtc\rtc.c
+ $PROJ_DIR$\..\..\..\src\components.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2211,9 +2210,6 @@
$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
-
-
- dlib
$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
@@ -2249,7 +2245,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l432-st-nucleo/project.uvprojx b/bsp/stm32/stm32l432-st-nucleo/project.uvprojx
index a48bfd2ab68f932c467ced8af36373c24c9131ac..64b18c66e362d71f0dffc53aa98c86ad37ca5e7a 100644
--- a/bsp/stm32/stm32l432-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32l432-st-nucleo/project.uvprojx
@@ -333,7 +333,7 @@
0
- USE_HAL_DRIVER, STM32L432xx, RT_USING_ARM_LIBC
+ RT_USING_ARM_LIBC, USE_HAL_DRIVER, STM32L432xx, __RTTHREAD__
.;applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
@@ -387,7 +387,7 @@
- cpu
+ CPU
backtrace.c
@@ -706,7 +706,7 @@
- STM32_HAL
+ Libraries
system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l433-st-nucleo/project.ewp b/bsp/stm32/stm32l433-st-nucleo/project.ewp
index 4e1733711f3fb78fb1952e6bbb519cb83d8e47bb..821744a46649d14d04712a87d7ca307854bebcd7 100644
--- a/bsp/stm32/stm32l433-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32l433-st-nucleo/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32L433xx
+ __RTTHREAD__
RT_USING_DLIBC
USE_HAL_DRIVER
@@ -1248,6 +1249,7 @@
CCDefines
STM32L433xx
+ __RTTHREAD__
RT_USING_DLIBC
USE_HAL_DRIVER
@@ -2066,57 +2068,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2128,7 +2130,7 @@
$PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l432xx.s
+ $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l433xx.s
$PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
@@ -2141,69 +2143,60 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\components\drivers\rtc\rtc.c
+ $PROJ_DIR$\..\..\..\src\components.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2211,9 +2204,6 @@
$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
-
-
- dlib
$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
@@ -2249,7 +2239,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
@@ -2313,17 +2303,5 @@
$PROJ_DIR$\..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_usart_ex.c
-
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rtc.c
-
-
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rtc_ex.c
-
-
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_iwdg.c
-
-
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_wwdg.c
-
diff --git a/bsp/stm32/stm32l433-st-nucleo/project.uvprojx b/bsp/stm32/stm32l433-st-nucleo/project.uvprojx
index dc49c9882e9682bb85f1e327f889b2e2dc6febe2..79a61a56ff30170e73db42321503c85675c52564 100644
--- a/bsp/stm32/stm32l433-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32l433-st-nucleo/project.uvprojx
@@ -333,7 +333,7 @@
0
- USE_HAL_DRIVER, STM32L433xx, RT_USING_ARM_LIBC
+ USE_HAL_DRIVER, STM32L433xx, RT_USING_ARM_LIBC, __RTTHREAD__
.;applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
@@ -387,7 +387,7 @@
- cpu
+ CPU
backtrace.c
@@ -692,7 +692,7 @@
- STM32_HAL
+ Libraries
system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l452-st-nucleo/project.ewp b/bsp/stm32/stm32l452-st-nucleo/project.ewp
index 88b91c0816403c3208b13b5dd4fc1ee0aa9054a9..fc884f2d39f549782cb04ee23baa5399c6c5ab45 100644
--- a/bsp/stm32/stm32l452-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32l452-st-nucleo/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32L452xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -363,7 +364,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -1278,6 +1278,7 @@
CCDefines
STM32L452xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1416,7 +1417,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -2107,57 +2107,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2182,70 +2182,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l452-st-nucleo/project.uvprojx b/bsp/stm32/stm32l452-st-nucleo/project.uvprojx
index 84257090b7660a08c03d78674fed16e7281aaba6..f7e98b1dede36f773a5ac631d2dc2c9180d59f54 100644
--- a/bsp/stm32/stm32l452-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32l452-st-nucleo/project.uvprojx
@@ -333,9 +333,9 @@
0
- USE_HAL_DRIVER, STM32L452xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32L452xx
- .;..\..\..\include;applications;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
@@ -377,120 +377,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -540,135 +536,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l475-atk-pandora/project.ewp b/bsp/stm32/stm32l475-atk-pandora/project.ewp
index 576d14d3aaddffdd6deab8b36f6170fe167f34ef..fea00f63c7c6e4c7bf6df19b1a53da10d42ba261 100644
--- a/bsp/stm32/stm32l475-atk-pandora/project.ewp
+++ b/bsp/stm32/stm32l475-atk-pandora/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32L475xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1247,6 +1248,7 @@
CCDefines
STM32L475xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2064,57 +2066,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2139,63 +2141,60 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2205,7 +2204,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l475-atk-pandora/project.uvprojx b/bsp/stm32/stm32l475-atk-pandora/project.uvprojx
index 5c96c99cb1ceb632f4ab9eab70f32937ab9e38ae..1a187748bd2983ad408fb6f41aa1da96a7e2e348 100644
--- a/bsp/stm32/stm32l475-atk-pandora/project.uvprojx
+++ b/bsp/stm32/stm32l475-atk-pandora/project.uvprojx
@@ -332,9 +332,9 @@
0
- USE_HAL_DRIVER, STM32L475xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32L475xx
- .;..\..\..\include;.;applications;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
+ .;applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
@@ -376,120 +376,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -539,130 +535,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -677,7 +670,7 @@
- STM32_HAL
+ Libraries
system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l475-st-discovery/project.ewp b/bsp/stm32/stm32l475-st-discovery/project.ewp
index 399e4d0bc2dcc92b6e6f4f75198ac0dd636b62fd..5be1ba44292350a3230f877957181a9edb85daaa 100644
--- a/bsp/stm32/stm32l475-st-discovery/project.ewp
+++ b/bsp/stm32/stm32l475-st-discovery/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32L475xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -354,7 +355,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -1247,6 +1247,7 @@
CCDefines
STM32L475xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1385,7 +1386,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -2064,57 +2064,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2139,70 +2139,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l475-st-discovery/project.uvprojx b/bsp/stm32/stm32l475-st-discovery/project.uvprojx
index 71798fd0e5cdda05f69c094caa810f56dbe8118a..7eba0896a8b4d542e5eac180e5573b4e4acaed7e 100644
--- a/bsp/stm32/stm32l475-st-discovery/project.uvprojx
+++ b/bsp/stm32/stm32l475-st-discovery/project.uvprojx
@@ -333,7 +333,7 @@
0
- USE_HAL_DRIVER, STM32L475xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32L475xx
applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
@@ -387,7 +387,7 @@
- cpu
+ CPU
backtrace.c
@@ -661,7 +661,7 @@
- STM32_HAL
+ Libraries
system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l476-st-nucleo/project.ewp b/bsp/stm32/stm32l476-st-nucleo/project.ewp
index f15de0ab015a5080bcee13ea4f5751dd420a1136..d3bee9a0a5f3519c46f87b057dd0d43caf82fe27 100644
--- a/bsp/stm32/stm32l476-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32l476-st-nucleo/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32L476xx
+ __RTTHREAD__
RT_USING_DLIBC
USE_HAL_DRIVER
@@ -1249,6 +1250,7 @@
CCDefines
STM32L476xx
+ __RTTHREAD__
RT_USING_DLIBC
USE_HAL_DRIVER
@@ -2068,57 +2070,63 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\pm\pm.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\rtc\rtc.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2149,69 +2157,60 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\components\drivers\pm\pm.c
+ $PROJ_DIR$\..\..\..\src\components.c
- $PROJ_DIR$\..\..\..\components\drivers\rtc\rtc.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2219,9 +2218,6 @@
$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
-
-
- dlib
$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
@@ -2257,7 +2253,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l476-st-nucleo/project.uvprojx b/bsp/stm32/stm32l476-st-nucleo/project.uvprojx
index 3d4a3e4dcb079a847b11f31a62ad019b4bc784cc..bdbb353d3c2aa34f4c8eae50e0fde7bd7acc5f65 100644
--- a/bsp/stm32/stm32l476-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32l476-st-nucleo/project.uvprojx
@@ -333,9 +333,9 @@
0
- USE_HAL_DRIVER, STM32L476xx, RT_USING_ARM_LIBC
+ RT_USING_ARM_LIBC, USE_HAL_DRIVER, STM32L476xx, __RTTHREAD__
- .;..\..\..\include;applications;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
+ applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
@@ -377,120 +377,130 @@
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+ CPU
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- cpu.c
+ div0.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\div0.c
- device.c
+ showmem.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\showmem.c
- idle.c
+ cpuport.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- ipc.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\components\drivers\misc\pin.c
- irq.c
+ pm.c
1
- ..\..\..\src\irq.c
+ ..\..\..\components\drivers\pm\pm.c
- kservice.c
+ rtc.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\rtc\rtc.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -554,144 +564,127 @@
- cpu
-
-
- backtrace.c
- 1
- ..\..\..\libcpu\arm\common\backtrace.c
-
-
+ finsh
- div0.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\shell.c
- showmem.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\cmd.c
- cpuport.c
+ msh.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ ..\..\..\components\finsh\msh.c
- DeviceDrivers
+ Kernel
- pin.c
+ clock.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\clock.c
- pm.c
+ components.c
1
- ..\..\..\components\drivers\pm\pm.c
+ ..\..\..\src\components.c
- rtc.c
+ device.c
1
- ..\..\..\components\drivers\rtc\rtc.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -727,7 +720,7 @@
- STM32_HAL
+ Libraries
system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l496-ali-developer/project.ewp b/bsp/stm32/stm32l496-ali-developer/project.ewp
index c9bf80c35b0db82f435fdae04abfc125a9f76b75..c7e1e15f51c2a0b327aae0e73a54df425f04e1cc 100644
--- a/bsp/stm32/stm32l496-ali-developer/project.ewp
+++ b/bsp/stm32/stm32l496-ali-developer/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32L496xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -354,7 +355,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -1247,6 +1247,7 @@
CCDefines
STM32L496xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1385,7 +1386,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -2064,57 +2064,57 @@
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
+ Applications
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2139,70 +2139,64 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l496-ali-developer/project.uvprojx b/bsp/stm32/stm32l496-ali-developer/project.uvprojx
index a8166d6e2301b27871cc6981ad60f4b13a16693f..4701472009e92954033fde6838cfcb2a7ee8d061 100644
--- a/bsp/stm32/stm32l496-ali-developer/project.uvprojx
+++ b/bsp/stm32/stm32l496-ali-developer/project.uvprojx
@@ -332,9 +332,9 @@
0
- USE_HAL_DRIVER, STM32L496xx
+ USE_HAL_DRIVER, __RTTHREAD__, STM32L496xx
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
@@ -376,120 +376,116 @@
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
+ Applications
- components.c
+ main.c
1
- ..\..\..\src\components.c
+ applications\main.c
+
+
+ CPU
- cpu.c
+ backtrace.c
1
- ..\..\..\src\cpu.c
+ ..\..\..\libcpu\arm\common\backtrace.c
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+ DeviceDrivers
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -539,135 +535,132 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+ Kernel
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l496-st-nucleo/project.ewp b/bsp/stm32/stm32l496-st-nucleo/project.ewp
index 43fb7fb816d6229ac50a4ed5bf43e1eff777f68d..4210390b9aaa0cc2c7c2f57730eb97b7c41f0626 100644
--- a/bsp/stm32/stm32l496-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32l496-st-nucleo/project.ewp
@@ -216,6 +216,7 @@
CCDefines
STM32L496xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1247,6 +1248,7 @@
CCDefines
STM32L496xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2064,54 +2066,57 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\mem.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2136,63 +2141,60 @@
- cpu
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ Kernel
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\src\components.c
-
-
- DeviceDrivers
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\mem.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
@@ -2202,7 +2204,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l496-st-nucleo/project.uvoptx b/bsp/stm32/stm32l496-st-nucleo/project.uvoptx
index 0a41991b75eb22ebca6cf2f0dbbbc1cd76573375..1a6a4989337d4cdf2362066b8ff3027bb9bd8016 100644
--- a/bsp/stm32/stm32l496-st-nucleo/project.uvoptx
+++ b/bsp/stm32/stm32l496-st-nucleo/project.uvoptx
@@ -182,787 +182,11 @@
- Kernel
- 1
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 1
- 0
- 0
- 0
-
- 2
- 15
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 1
- 0
- 0
- 0
-
- 3
- 16
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
- stm32l4xx_hal_msp.c
- 0
- 0
-
-
- 3
- 18
- 2
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l496xx.s
- startup_stm32l496xx.s
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 4
- 22
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 26
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 27
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
-
-
- libc
- 0
- 0
- 0
- 0
-
- 7
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\time.c
- time.c
- 0
- 0
-
-
-
-
- STM32_HAL
+ Source Group 1
0
0
0
0
-
- 8
- 40
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
- system_stm32l4xx.c
- 0
- 0
-
-
- 8
- 41
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal.c
- stm32l4xx_hal.c
- 0
- 0
-
-
- 8
- 42
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_comp.c
- stm32l4xx_hal_comp.c
- 0
- 0
-
-
- 8
- 43
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cortex.c
- stm32l4xx_hal_cortex.c
- 0
- 0
-
-
- 8
- 44
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc.c
- stm32l4xx_hal_crc.c
- 0
- 0
-
-
- 8
- 45
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc_ex.c
- stm32l4xx_hal_crc_ex.c
- 0
- 0
-
-
- 8
- 46
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cryp.c
- stm32l4xx_hal_cryp.c
- 0
- 0
-
-
- 8
- 47
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cryp_ex.c
- stm32l4xx_hal_cryp_ex.c
- 0
- 0
-
-
- 8
- 48
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_dma.c
- stm32l4xx_hal_dma.c
- 0
- 0
-
-
- 8
- 49
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_dma_ex.c
- stm32l4xx_hal_dma_ex.c
- 0
- 0
-
-
- 8
- 50
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_exti.c
- stm32l4xx_hal_exti.c
- 0
- 0
-
-
- 8
- 51
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr.c
- stm32l4xx_hal_pwr.c
- 0
- 0
-
-
- 8
- 52
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr_ex.c
- stm32l4xx_hal_pwr_ex.c
- 0
- 0
-
-
- 8
- 53
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc.c
- stm32l4xx_hal_rcc.c
- 0
- 0
-
-
- 8
- 54
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc_ex.c
- stm32l4xx_hal_rcc_ex.c
- 0
- 0
-
-
- 8
- 55
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rng.c
- stm32l4xx_hal_rng.c
- 0
- 0
-
-
- 8
- 56
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_gpio.c
- stm32l4xx_hal_gpio.c
- 0
- 0
-
-
- 8
- 57
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_uart.c
- stm32l4xx_hal_uart.c
- 0
- 0
-
-
- 8
- 58
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_uart_ex.c
- stm32l4xx_hal_uart_ex.c
- 0
- 0
-
-
- 8
- 59
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_usart.c
- stm32l4xx_hal_usart.c
- 0
- 0
-
-
- 8
- 60
- 1
- 0
- 0
- 0
- ..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_usart_ex.c
- stm32l4xx_hal_usart_ex.c
- 0
- 0
-
diff --git a/bsp/stm32/stm32l496-st-nucleo/project.uvprojx b/bsp/stm32/stm32l496-st-nucleo/project.uvprojx
index b3d82eece323e6d83fb5bb79733aee80ebbd15db..340eb9824dd5d405c00665e1a972f23704c2e98e 100644
--- a/bsp/stm32/stm32l496-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32l496-st-nucleo/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -19,28 +16,28 @@
Keil.STM32L4xx_DFP.2.2.0
http://www.keil.com/pack
IRAM(0x20000000,0x00040000) IRAM2(0x10000000,0x00010000) IROM(0x08000000,0x00100000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32L4xx_1024 -FS08000000 -FL0100000 -FP0($$Device:STM32L496ZGTx$CMSIS\Flash\STM32L4xx_1024.FLM))
0
$$Device:STM32L496ZGTx$Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32L496ZGTx$CMSIS\SVD\STM32L4x6.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -139,10 +136,10 @@
1
BIN\UL2CM3.DLL
"" ()
-
-
-
-
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M4"
-
+
0
0
0
@@ -308,7 +305,7 @@
0x10000
-
+
1
@@ -335,10 +332,10 @@
0
0
-
- USE_HAL_DRIVER, STM32L496xx
-
- .;..\..\..\include;.;applications;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
+
+ USE_HAL_DRIVER, __RTTHREAD__, STM32L496xx
+
+ .;applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
@@ -353,10 +350,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -368,99 +365,128 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
- Kernel
+ Applications
- clock.c
+ main.c
1
- ..\..\..\src\clock.c
+ applications\main.c
+
+
+
+ CPU
+
- components.c
+ backtrace.c
1
- ..\..\..\src\components.c
+ ..\..\..\libcpu\arm\common\backtrace.c
+
+
- device.c
+ div0.c
1
- ..\..\..\src\device.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
- idle.c
+ showmem.c
1
- ..\..\..\src\idle.c
+ ..\..\..\libcpu\arm\common\showmem.c
+
+
- ipc.c
+ cpuport.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
- irq.c
- 1
- ..\..\..\src\irq.c
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+ DeviceDrivers
+
- kservice.c
+ pin.c
1
- ..\..\..\src\kservice.c
+ ..\..\..\components\drivers\misc\pin.c
+
+
- mem.c
+ serial.c
1
- ..\..\..\src\mem.c
+ ..\..\..\components\drivers\serial\serial.c
+
+
- mempool.c
+ completion.c
1
- ..\..\..\src\mempool.c
+ ..\..\..\components\drivers\src\completion.c
+
+
- object.c
+ dataqueue.c
1
- ..\..\..\src\object.c
+ ..\..\..\components\drivers\src\dataqueue.c
+
+
- scheduler.c
+ pipe.c
1
- ..\..\..\src\scheduler.c
+ ..\..\..\components\drivers\src\pipe.c
+
+
- signal.c
+ ringblk_buf.c
1
- ..\..\..\src\signal.c
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
- thread.c
+ ringbuffer.c
1
- ..\..\..\src\thread.c
+ ..\..\..\components\drivers\src\ringbuffer.c
+
+
- timer.c
+ waitqueue.c
1
- ..\..\..\src\timer.c
+ ..\..\..\components\drivers\src\waitqueue.c
-
-
- Applications
- main.c
+ workqueue.c
1
- applications\main.c
+ ..\..\..\components\drivers\src\workqueue.c
@@ -472,26 +498,36 @@
1
board\board.c
+
+
stm32l4xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
startup_stm32l496xx.s
2
..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l496xx.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_common.c
1
@@ -500,102 +536,127 @@
- cpu
+ finsh
- backtrace.c
+ shell.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\components\finsh\shell.c
+
+
- div0.c
+ cmd.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\components\finsh\cmd.c
+
+
- showmem.c
+ msh.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+ Kernel
+
- cpuport.c
+ clock.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ ..\..\..\src\clock.c
+
+
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+ components.c
+ 1
+ ..\..\..\src\components.c
-
-
- DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\src\device.c
+
+
- serial.c
+ idle.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\src\idle.c
+
+
- completion.c
+ ipc.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\src\ipc.c
+
+
- dataqueue.c
+ irq.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\src\irq.c
+
+
- pipe.c
+ kservice.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\src\kservice.c
+
+
- ringblk_buf.c
+ mem.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\src\mem.c
+
+
- ringbuffer.c
+ mempool.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\src\mempool.c
+
+
- waitqueue.c
+ object.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\src\object.c
+
+
- workqueue.c
+ scheduler.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\src\scheduler.c
-
-
- finsh
- shell.c
+ signal.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\src\signal.c
+
+
- cmd.c
+ thread.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\src\thread.c
+
+
- msh.c
+ timer.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\src\timer.c
@@ -610,108 +671,148 @@
- STM32_HAL
+ Libraries
system_stm32l4xx.c
1
..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
+
+
stm32l4xx_hal.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal.c
+
+
stm32l4xx_hal_comp.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_comp.c
+
+
stm32l4xx_hal_cortex.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cortex.c
+
+
stm32l4xx_hal_crc.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc.c
+
+
stm32l4xx_hal_crc_ex.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_crc_ex.c
+
+
stm32l4xx_hal_cryp.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cryp.c
+
+
stm32l4xx_hal_cryp_ex.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_cryp_ex.c
+
+
stm32l4xx_hal_dma.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_dma.c
+
+
stm32l4xx_hal_dma_ex.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_dma_ex.c
+
+
stm32l4xx_hal_exti.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_exti.c
+
+
stm32l4xx_hal_pwr.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr.c
+
+
stm32l4xx_hal_pwr_ex.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr_ex.c
+
+
stm32l4xx_hal_rcc.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc.c
+
+
stm32l4xx_hal_rcc_ex.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rcc_ex.c
+
+
stm32l4xx_hal_rng.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_rng.c
+
+
stm32l4xx_hal_gpio.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_gpio.c
+
+
stm32l4xx_hal_uart.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_uart.c
+
+
stm32l4xx_hal_uart_ex.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_uart_ex.c
+
+
stm32l4xx_hal_usart.c
1
..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_usart.c
+
+
stm32l4xx_hal_usart_ex.c
1
@@ -722,11 +823,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32l4r5-st-nucleo/project.ewp b/bsp/stm32/stm32l4r5-st-nucleo/project.ewp
index 0343c802b1b0ee4feb207268d347313244d6489e..42c09f00726eb9fe60f719b473d0cb094975ebfa 100644
--- a/bsp/stm32/stm32l4r5-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32l4r5-st-nucleo/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32L4R5xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1292,6 +1293,7 @@
CCDefines
STM32L4R5xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -2141,7 +2143,7 @@
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2267,7 +2269,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l4r5-st-nucleo/project.uvprojx b/bsp/stm32/stm32l4r5-st-nucleo/project.uvprojx
index a21983548d6aae086b40b7c9d25860627e6b5ed0..0e2018b87237e46dc768a3c0a2909a800e6f7502 100644
--- a/bsp/stm32/stm32l4r5-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32l4r5-st-nucleo/project.uvprojx
@@ -333,7 +333,7 @@
0
- STM32L4R5xx, USE_HAL_DRIVER
+ STM32L4R5xx, USE_HAL_DRIVER, __RTTHREAD__
applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
@@ -387,7 +387,7 @@
- cpu
+ CPU
backtrace.c
@@ -661,7 +661,7 @@
- STM32_HAL
+ Libraries
system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l4r9-st-eval/project.ewp b/bsp/stm32/stm32l4r9-st-eval/project.ewp
index f9385f740b195136fd31b3cab9fe1c20fc79b2bf..a00f6192b58eb1afd49c7e0daeba0c67b33ab029 100644
--- a/bsp/stm32/stm32l4r9-st-eval/project.ewp
+++ b/bsp/stm32/stm32l4r9-st-eval/project.ewp
@@ -225,6 +225,7 @@
CCDefines
STM32L4R9xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -363,7 +364,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -1278,6 +1278,7 @@
CCDefines
STM32L4R9xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1416,7 +1417,6 @@
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\board\CubeMX_Config\Inc
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -2107,57 +2107,66 @@
- Kernel
+ Applications
- $PROJ_DIR$\..\..\..\src\clock.c
+ $PROJ_DIR$\applications\main.c
+
+
+ CPU
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
- $PROJ_DIR$\..\..\..\src\cpu.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\..\..\src\device.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- $PROJ_DIR$\..\..\..\src\ipc.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+ DeviceDrivers
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_core.c
- $PROJ_DIR$\..\..\..\src\kservice.c
+ $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_dev.c
- $PROJ_DIR$\..\..\..\src\memheap.c
+ $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c-bit-ops.c
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
- $PROJ_DIR$\..\..\..\src\object.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
- $PROJ_DIR$\..\..\..\src\thread.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
-
-
- Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
@@ -2182,79 +2191,64 @@
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
-
+ finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- DeviceDrivers
-
- $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_core.c
-
+ Kernel
- $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_dev.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c-bit-ops.c
+ $PROJ_DIR$\..\..\..\src\components.c
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\src\irq.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+ $PROJ_DIR$\..\..\..\src\kservice.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+ $PROJ_DIR$\..\..\..\src\memheap.c
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+ $PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\src\signal.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\src\timer.c
- libc
-
-
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l4r9-st-eval/project.uvprojx b/bsp/stm32/stm32l4r9-st-eval/project.uvprojx
index 64767097035438561749bd1cbdf03c56a9ee26ab..82e4839a8ee538980e6073432c0a759129541f61 100644
--- a/bsp/stm32/stm32l4r9-st-eval/project.uvprojx
+++ b/bsp/stm32/stm32l4r9-st-eval/project.uvprojx
@@ -333,7 +333,7 @@
0
- USE_HAL_DRIVER, STM32L4R9xx
+ USE_HAL_DRIVER, STM32L4R9xx, __RTTHREAD__
applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports\include;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32L4xx_HAL\STM32L4xx_HAL_Driver\Inc;..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Include;..\libraries\STM32L4xx_HAL\CMSIS\Include
@@ -387,7 +387,7 @@
- cpu
+ CPU
backtrace.c
@@ -682,7 +682,7 @@
- STM32_HAL
+ Libraries
system_stm32l4xx.c
diff --git a/bsp/stm32/stm32mp157a-st-discovery/project.ewp b/bsp/stm32/stm32mp157a-st-discovery/project.ewp
index 43d24dc2c86308bb65b8cd5de63f50dc6a0f7129..3547891da5df81c9555f93baa85397f6219b3985 100644
--- a/bsp/stm32/stm32mp157a-st-discovery/project.ewp
+++ b/bsp/stm32/stm32mp157a-st-discovery/project.ewp
@@ -231,6 +231,7 @@
VIRTIO_SLAVE_ONLY
STM32MP157Axx
__LOG_TRACE_IO_
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -363,13 +364,14 @@
$PROJ_DIR$\board\CubeMX_Config\CM4\Inc
$PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Inc
$PROJ_DIR$\.
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Core\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Include
- $PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Inc
+ $PROJ_DIR$\board\ports\audio
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Device\ST\STM32MP1xx\Include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -1306,6 +1308,7 @@
VIRTIO_SLAVE_ONLY
STM32MP157Axx
__LOG_TRACE_IO_
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1438,13 +1441,14 @@
$PROJ_DIR$\board\CubeMX_Config\CM4\Inc
$PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Inc
$PROJ_DIR$\.
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Core\Include
$PROJ_DIR$\..\libraries\HAL_Drivers\config
$PROJ_DIR$\board
$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Include
- $PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Inc
+ $PROJ_DIR$\board\ports\audio
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Device\ST\STM32MP1xx\Include
$PROJ_DIR$\..\libraries\HAL_Drivers
@@ -2157,7 +2161,7 @@
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2316,7 +2320,7 @@
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Src\stm32mp1xx_hal.c
diff --git a/bsp/stm32/stm32mp157a-st-discovery/project.uvoptx b/bsp/stm32/stm32mp157a-st-discovery/project.uvoptx
index cd7d5cc09b559dcd4fbcc5c9a5d3180d8c14c5b0..b43797349c93601d78c20ab313edee938499fabe 100644
--- a/bsp/stm32/stm32mp157a-st-discovery/project.uvoptx
+++ b/bsp/stm32/stm32mp157a-st-discovery/project.uvoptx
@@ -10,7 +10,7 @@
*.s*; *.src; *.a*
*.obj; *.o
*.lib
- *.txt; *.h; *.inc
+ *.txt; *.h; *.inc; *.md
*.plm
*.cpp
0
@@ -125,7 +125,7 @@
0
ST-LINKIII-KEIL_SWO
- -U066DFF343339415043182234 -O206 -SF10000 -C0 -A2 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(6BA02477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD10020000 -FC1000 -FN0
+ -U0666FF343339415043182420 -O206 -SF10000 -C0 -A2 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(6BA02477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD10030000 -FC1000 -FN0
diff --git a/bsp/stm32/stm32mp157a-st-discovery/project.uvprojx b/bsp/stm32/stm32mp157a-st-discovery/project.uvprojx
index 3dddb0d7dca079a73ac1094ac425326b55398884..29ab1201fc932936d071cf1ab18e2ac31fd82613 100644
--- a/bsp/stm32/stm32mp157a-st-discovery/project.uvprojx
+++ b/bsp/stm32/stm32mp157a-st-discovery/project.uvprojx
@@ -273,7 +273,7 @@
1
0x10000000
- 0x20000
+ 0x30000
1
@@ -297,8 +297,8 @@
0
- 0x10020000
- 0x20000
+ 0x10030000
+ 0x10000
0
@@ -334,9 +334,9 @@
0
- CORE_CM4, __LOG_TRACE_IO_, METAL_MAX_DEVICE_REGIONS=2, VIRTIO_SLAVE_ONLY, NO_ATOMIC_64_SUPPORT, STM32MP157Axx, METAL_INTERNAL, USE_HAL_DRIVER
+ CORE_CM4, __LOG_TRACE_IO_, METAL_MAX_DEVICE_REGIONS=2, VIRTIO_SLAVE_ONLY, NO_ATOMIC_64_SUPPORT, STM32MP157Axx, __RTTHREAD__, METAL_INTERNAL, USE_HAL_DRIVER
- applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\CM4\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Inc;..\libraries\STM32MPxx_HAL\CMSIS\Device\ST\STM32MP1xx\Include;..\libraries\STM32MPxx_HAL\CMSIS\Core\Include;..\libraries\STM32MPxx_HAL\CMSIS\Include
+ applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\CM4\Inc;board\ports;board\ports\audio;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Inc;..\libraries\STM32MPxx_HAL\CMSIS\Device\ST\STM32MP1xx\Include;..\libraries\STM32MPxx_HAL\CMSIS\Core\Include;..\libraries\STM32MPxx_HAL\CMSIS\Include
@@ -388,7 +388,7 @@
- cpu
+ CPU
backtrace.c
@@ -739,7 +739,7 @@
- STM32_HAL
+ Libraries
stm32mp1xx_hal.c
@@ -921,11 +921,6 @@
<Project Info>
-
-
-
-
-
0
1
diff --git a/bsp/stm32/stm32mp157a-st-ev1/project.ewp b/bsp/stm32/stm32mp157a-st-ev1/project.ewp
index 2bb85bc33c8d54f8d4ec538c82e00ac54fa9ddd3..5320051f3959f1db627a58af16b7b386f6082e59 100644
--- a/bsp/stm32/stm32mp157a-st-ev1/project.ewp
+++ b/bsp/stm32/stm32mp157a-st-ev1/project.ewp
@@ -224,7 +224,6 @@
CCDefines
- RT_USING_DLIBC
CORE_CM4
NO_ATOMIC_64_SUPPORT
METAL_INTERNAL
@@ -232,6 +231,8 @@
VIRTIO_SLAVE_ONLY
STM32MP157Axx
__LOG_TRACE_IO_
+ __RTTHREAD__
+ RT_USING_DLIBC
USE_HAL_DRIVER
@@ -1302,7 +1303,6 @@
CCDefines
- RT_USING_DLIBC
CORE_CM4
NO_ATOMIC_64_SUPPORT
METAL_INTERNAL
@@ -1310,6 +1310,8 @@
VIRTIO_SLAVE_ONLY
STM32MP157Axx
__LOG_TRACE_IO_
+ __RTTHREAD__
+ RT_USING_DLIBC
USE_HAL_DRIVER
@@ -2163,7 +2165,7 @@
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2210,49 +2212,13 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
-
- dlib
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\rmtx.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c
-
-
Drivers
- $PROJ_DIR$\board\CubeMX_Config\Common\System\system_stm32mp1xx.c
+ $PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Device\ST\STM32MP1xx\Source\Templates\iar\startup_stm32mp15xx.s
- $PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Device\ST\STM32MP1xx\Source\Templates\iar\startup_stm32mp15xx.s
+ $PROJ_DIR$\board\CubeMX_Config\Common\System\system_stm32mp1xx.c
$PROJ_DIR$\board\CubeMX_Config\CM4\Src\stm32mp1xx_hal_msp.c
@@ -2362,9 +2328,42 @@
$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\rmtx.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c
+
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Src\stm32mp1xx_hal.c
diff --git a/bsp/stm32/stm32mp157a-st-ev1/project.uvoptx b/bsp/stm32/stm32mp157a-st-ev1/project.uvoptx
index e3a94d45ec46ef7c2eca71b4f388ff96197a76b7..69cfe32b1407e692e6c91f04e28c7b40c5e70901 100644
--- a/bsp/stm32/stm32mp157a-st-ev1/project.uvoptx
+++ b/bsp/stm32/stm32mp157a-st-ev1/project.uvoptx
@@ -10,7 +10,7 @@
*.s*; *.src; *.a*
*.obj; *.o
*.lib
- *.txt; *.h; *.inc
+ *.txt; *.h; *.inc; *.md
*.plm
*.cpp
0
@@ -125,7 +125,7 @@
0
ST-LINKIII-KEIL_SWO
- -U066BFF343339415043223048 -O206 -SF10000 -C0 -A2 -I0 -HNlocalhost -HP7184 -P1 -N00("") -D00(00000000) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8000 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD10050000 -FC1000 -FN0
+ -U0666FF343339415043182420 -O206 -SF10000 -C0 -A2 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(6BA02477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8000 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD10030000 -FC1000 -FN0
diff --git a/bsp/stm32/stm32mp157a-st-ev1/project.uvprojx b/bsp/stm32/stm32mp157a-st-ev1/project.uvprojx
index 850fba2c45399a9d6f40460123b1ed7c62ae4054..732be2b3e1768c885b045fc518fde8d538c6d290 100644
--- a/bsp/stm32/stm32mp157a-st-ev1/project.uvprojx
+++ b/bsp/stm32/stm32mp157a-st-ev1/project.uvprojx
@@ -273,7 +273,7 @@
1
0x10000000
- 0x40000
+ 0x30000
1
@@ -297,13 +297,13 @@
0
- 0x10050000
+ 0x10030000
0x10000
0
- 0x0
- 0x0
+ 0x10040000
+ 0x20000
@@ -334,7 +334,7 @@
0
- CORE_CM4, __LOG_TRACE_IO_, METAL_MAX_DEVICE_REGIONS=2, VIRTIO_SLAVE_ONLY, NO_ATOMIC_64_SUPPORT, STM32MP157Axx, METAL_INTERNAL, USE_HAL_DRIVER, RT_USING_ARM_LIBC
+ CORE_CM4, __LOG_TRACE_IO_, METAL_MAX_DEVICE_REGIONS=2, VIRTIO_SLAVE_ONLY, NO_ATOMIC_64_SUPPORT, STM32MP157Axx, __RTTHREAD__, METAL_INTERNAL, USE_HAL_DRIVER, RT_USING_ARM_LIBC
applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\CM4\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Inc;..\libraries\STM32MPxx_HAL\CMSIS\Device\ST\STM32MP1xx\Include;..\libraries\STM32MPxx_HAL\CMSIS\Core\Include;..\libraries\STM32MPxx_HAL\CMSIS\Include
@@ -388,7 +388,7 @@
- cpu
+ CPU
backtrace.c
@@ -770,7 +770,7 @@
- STM32_HAL
+ Libraries
stm32mp1xx_hal.c
@@ -952,11 +952,6 @@
<Project Info>
-
-
-
-
-
0
1
diff --git a/bsp/stm32/stm32wb55-st-nucleo/project.ewp b/bsp/stm32/stm32wb55-st-nucleo/project.ewp
index c1935c48f58fbb4967e8dd3f5575075edb6756e0..ee3dbc45d58a1f02cd19d2053d2806e3fcf3766e 100644
--- a/bsp/stm32/stm32wb55-st-nucleo/project.ewp
+++ b/bsp/stm32/stm32wb55-st-nucleo/project.ewp
@@ -215,9 +215,9 @@
CCDefines
- RT_USING_DLIBC
- _DLIB_FILE_DESCRIPTOR
STM32WB55xx
+ __RTTHREAD__
+ RT_USING_DLIBC
USE_HAL_DRIVER
@@ -344,11 +344,9 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\dfs\filesystems\devfs
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\components\dfs\include
$PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\.
@@ -1251,9 +1249,9 @@
CCDefines
- RT_USING_DLIBC
- _DLIB_FILE_DESCRIPTOR
STM32WB55xx
+ __RTTHREAD__
+ RT_USING_DLIBC
USE_HAL_DRIVER
@@ -1380,11 +1378,9 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\dfs\filesystems\devfs
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\components\dfs\include
$PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\.
@@ -2080,7 +2076,7 @@
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2127,42 +2123,6 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
-
- dlib
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\rmtx.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c
-
-
Drivers
@@ -2184,30 +2144,6 @@
$PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
- Filesystem
-
- $PROJ_DIR$\..\..\..\components\dfs\src\dfs.c
-
-
- $PROJ_DIR$\..\..\..\components\dfs\src\dfs_file.c
-
-
- $PROJ_DIR$\..\..\..\components\dfs\src\dfs_fs.c
-
-
- $PROJ_DIR$\..\..\..\components\dfs\src\dfs_posix.c
-
-
- $PROJ_DIR$\..\..\..\components\dfs\src\poll.c
-
-
- $PROJ_DIR$\..\..\..\components\dfs\src\select.c
-
-
- $PROJ_DIR$\..\..\..\components\dfs\filesystems\devfs\devfs.c
-
-
finsh
@@ -2219,9 +2155,6 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
-
- $PROJ_DIR$\..\..\..\components\finsh\msh_file.c
-
$PROJ_DIR$\..\..\..\components\finsh\finsh_compiler.c
@@ -2304,73 +2237,103 @@
$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\unistd.c
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\rmtx.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c
- STM32_HAL
+ Libraries
$PROJ_DIR$\..\libraries\STM32WBxx_HAL\CMSIS\Device\ST\STM32WBxx\Source\Templates\system_stm32wbxx.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_comp.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_comp.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_cortex.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_cortex.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_crc.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_crc.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_crc_ex.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_crc_ex.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_cryp.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_cryp.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_cryp_ex.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_cryp_ex.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_dma.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_dma.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_dma_ex.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_dma_ex.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_exti.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_exti.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_pwr.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_pwr.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_pwr_ex.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_pwr_ex.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_rcc.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rcc.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_rcc_ex.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rcc_ex.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_rng.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rng.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_gpio.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_gpio.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_uart.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_uart.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_uart_ex.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_uart_ex.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_usart.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_usart.c
- $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_usart_ex.c
+ $PROJ_DIR$\..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_usart_ex.c
diff --git a/bsp/stm32/stm32wb55-st-nucleo/project.uvoptx b/bsp/stm32/stm32wb55-st-nucleo/project.uvoptx
index 35b07abc0660b74b507ce34e43c87f0090cf0a82..507c17fe34c11402488389a44d237c9941761db4 100644
--- a/bsp/stm32/stm32wb55-st-nucleo/project.uvoptx
+++ b/bsp/stm32/stm32wb55-st-nucleo/project.uvoptx
@@ -175,1071 +175,11 @@
- Applications
+ Source Group 1
0
0
0
0
-
- 1
- 1
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- cpu
- 0
- 0
- 0
- 0
-
- 2
- 2
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 2
- 3
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 2
- 4
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 2
- 5
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 2
- 6
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 3
- 7
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 3
- 8
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 3
- 9
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 3
- 10
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 3
- 11
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 3
- 12
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 3
- 13
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 3
- 14
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 3
- 15
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 4
- 16
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 4
- 17
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32wbxx_hal_msp.c
- stm32wbxx_hal_msp.c
- 0
- 0
-
-
- 4
- 18
- 2
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\CMSIS\Device\ST\STM32WBxx\Source\Templates\arm\startup_stm32wb55xx_cm4.s
- startup_stm32wb55xx_cm4.s
- 0
- 0
-
-
- 4
- 19
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 4
- 20
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 4
- 21
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- Filesystem
- 0
- 0
- 0
- 0
-
- 5
- 22
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\dfs.c
- dfs.c
- 0
- 0
-
-
- 5
- 23
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\dfs_file.c
- dfs_file.c
- 0
- 0
-
-
- 5
- 24
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\dfs_fs.c
- dfs_fs.c
- 0
- 0
-
-
- 5
- 25
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\dfs_posix.c
- dfs_posix.c
- 0
- 0
-
-
- 5
- 26
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\poll.c
- poll.c
- 0
- 0
-
-
- 5
- 27
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\src\select.c
- select.c
- 0
- 0
-
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\dfs\filesystems\devfs\devfs.c
- devfs.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 6
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_file.c
- msh_file.c
- 0
- 0
-
-
- 6
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_compiler.c
- finsh_compiler.c
- 0
- 0
-
-
- 6
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_error.c
- finsh_error.c
- 0
- 0
-
-
- 6
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_heap.c
- finsh_heap.c
- 0
- 0
-
-
- 6
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_init.c
- finsh_init.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_node.c
- finsh_node.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_ops.c
- finsh_ops.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_parser.c
- finsh_parser.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_var.c
- finsh_var.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_vm.c
- finsh_vm.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_token.c
- finsh_token.c
- 0
- 0
-
-
-
-
- Kernel
- 0
- 0
- 0
- 0
-
- 7
- 43
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 7
- 44
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 7
- 45
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 7
- 46
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 7
- 47
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 7
- 48
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 7
- 53
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 7
- 54
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 7
- 55
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 7
- 56
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- libc
- 0
- 0
- 0
- 0
-
- 8
- 57
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\libc.c
- libc.c
- 0
- 0
-
-
- 8
- 58
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\mem_std.c
- mem_std.c
- 0
- 0
-
-
- 8
- 59
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\stdio.c
- stdio.c
- 0
- 0
-
-
- 8
- 60
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\stubs.c
- stubs.c
- 0
- 0
-
-
- 8
- 61
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\time.c
- time.c
- 0
- 0
-
-
- 8
- 62
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\unistd.c
- unistd.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 9
- 63
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\CMSIS\Device\ST\STM32WBxx\Source\Templates\system_stm32wbxx.c
- system_stm32wbxx.c
- 0
- 0
-
-
- 9
- 64
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal.c
- STM32wbxx_hal.c
- 0
- 0
-
-
- 9
- 65
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_comp.c
- STM32wbxx_hal_comp.c
- 0
- 0
-
-
- 9
- 66
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_cortex.c
- STM32wbxx_hal_cortex.c
- 0
- 0
-
-
- 9
- 67
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_crc.c
- STM32wbxx_hal_crc.c
- 0
- 0
-
-
- 9
- 68
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_crc_ex.c
- STM32wbxx_hal_crc_ex.c
- 0
- 0
-
-
- 9
- 69
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_cryp.c
- STM32wbxx_hal_cryp.c
- 0
- 0
-
-
- 9
- 70
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_cryp_ex.c
- STM32wbxx_hal_cryp_ex.c
- 0
- 0
-
-
- 9
- 71
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_dma.c
- STM32wbxx_hal_dma.c
- 0
- 0
-
-
- 9
- 72
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_dma_ex.c
- STM32wbxx_hal_dma_ex.c
- 0
- 0
-
-
- 9
- 73
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_exti.c
- STM32wbxx_hal_exti.c
- 0
- 0
-
-
- 9
- 74
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_pwr.c
- STM32wbxx_hal_pwr.c
- 0
- 0
-
-
- 9
- 75
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_pwr_ex.c
- STM32wbxx_hal_pwr_ex.c
- 0
- 0
-
-
- 9
- 76
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_rcc.c
- STM32wbxx_hal_rcc.c
- 0
- 0
-
-
- 9
- 77
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_rcc_ex.c
- STM32wbxx_hal_rcc_ex.c
- 0
- 0
-
-
- 9
- 78
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_rng.c
- STM32wbxx_hal_rng.c
- 0
- 0
-
-
- 9
- 79
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_gpio.c
- STM32wbxx_hal_gpio.c
- 0
- 0
-
-
- 9
- 80
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_uart.c
- STM32wbxx_hal_uart.c
- 0
- 0
-
-
- 9
- 81
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_uart_ex.c
- STM32wbxx_hal_uart_ex.c
- 0
- 0
-
-
- 9
- 82
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_usart.c
- STM32wbxx_hal_usart.c
- 0
- 0
-
-
- 9
- 83
- 1
- 0
- 0
- 0
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_usart_ex.c
- STM32wbxx_hal_usart_ex.c
- 0
- 0
-
diff --git a/bsp/stm32/stm32wb55-st-nucleo/project.uvprojx b/bsp/stm32/stm32wb55-st-nucleo/project.uvprojx
index b51d2f6c585402a245fbd793d6b33c2797d514a5..59d0031ff289d923defb367d091841df2c381bd3 100644
--- a/bsp/stm32/stm32wb55-st-nucleo/project.uvprojx
+++ b/bsp/stm32/stm32wb55-st-nucleo/project.uvprojx
@@ -1,16 +1,13 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
0x4
ARM-ADS
- 5060750::V5.06 update 6 (build 750)::.\ARMCC
+ 5060750::V5.06 update 6 (build 750)::ARMCC
0
@@ -19,28 +16,28 @@
Keil.STM32WBxx_DFP.1.1.0
http://www.keil.com/pack/
IRAM(0x20000000,0x00040000) IROM(0x08000000,0x00100000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ESEL ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32WB_M4 -FS08000000 -FL0100000 -FP0($$Device:STM32WB55RGVx$CMSIS\Flash\STM32WB_M4.FLM))
0
$$Device:STM32WB55RGVx$Drivers\CMSIS\Device\ST\STM32WBxx\Include\stm32wbxx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32WB55RGVx$CMSIS\SVD\STM32WB55_CM4.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -139,10 +136,10 @@
1
STLink\ST-LINKIII-KEIL_SWO.dll
"" ()
-
-
-
-
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M4"
-
+
0
0
0
@@ -309,7 +306,7 @@
0x0
-
+
1
@@ -336,10 +333,10 @@
0
0
-
- USE_HAL_DRIVER, RT_USING_ARM_LIBC, STM32WB55xx
-
- .;applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\dfs\include;..\..\..\components\dfs\filesystems\devfs;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Inc;..\libraries\STM32WBxx_HAL\CMSIS\Device\ST\STM32WBxx\Include;..\libraries\STM32WBxx_HAL\CMSIS\Include
+
+ USE_HAL_DRIVER, RT_USING_ARM_LIBC, __RTTHREAD__, STM32WB55xx
+
+ .;applications;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Inc;..\libraries\STM32WBxx_HAL\CMSIS\Device\ST\STM32WBxx\Include;..\libraries\STM32WBxx_HAL\CMSIS\Include
@@ -354,10 +351,10 @@
0
4
-
-
-
-
+
+
+
+
@@ -369,13 +366,13 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
@@ -391,28 +388,36 @@
- cpu
+ CPU
backtrace.c
1
..\..\..\libcpu\arm\common\backtrace.c
+
+
div0.c
1
..\..\..\libcpu\arm\common\div0.c
+
+
showmem.c
1
..\..\..\libcpu\arm\common\showmem.c
+
+
cpuport.c
1
..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
context_rvds.S
2
@@ -428,41 +433,57 @@
1
..\..\..\components\drivers\misc\pin.c
+
+
serial.c
1
..\..\..\components\drivers\serial\serial.c
+
+
completion.c
1
..\..\..\components\drivers\src\completion.c
+
+
dataqueue.c
1
..\..\..\components\drivers\src\dataqueue.c
+
+
pipe.c
1
..\..\..\components\drivers\src\pipe.c
+
+
ringblk_buf.c
1
..\..\..\components\drivers\src\ringblk_buf.c
+
+
ringbuffer.c
1
..\..\..\components\drivers\src\ringbuffer.c
+
+
waitqueue.c
1
..\..\..\components\drivers\src\waitqueue.c
+
+
workqueue.c
1
@@ -478,70 +499,40 @@
1
board\board.c
+
+
stm32wbxx_hal_msp.c
1
board\CubeMX_Config\Src\stm32wbxx_hal_msp.c
+
+
startup_stm32wb55xx_cm4.s
2
..\libraries\STM32WBxx_HAL\CMSIS\Device\ST\STM32WBxx\Source\Templates\arm\startup_stm32wb55xx_cm4.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
-
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
- Filesystem
- dfs.c
- 1
- ..\..\..\components\dfs\src\dfs.c
-
-
- dfs_file.c
- 1
- ..\..\..\components\dfs\src\dfs_file.c
-
-
- dfs_fs.c
- 1
- ..\..\..\components\dfs\src\dfs_fs.c
-
-
- dfs_posix.c
- 1
- ..\..\..\components\dfs\src\dfs_posix.c
-
-
- poll.c
- 1
- ..\..\..\components\dfs\src\poll.c
-
-
- select.c
- 1
- ..\..\..\components\dfs\src\select.c
-
-
- devfs.c
+ drv_common.c
1
- ..\..\..\components\dfs\filesystems\devfs\devfs.c
+ ..\libraries\HAL_Drivers\drv_common.c
@@ -553,66 +544,85 @@
1
..\..\..\components\finsh\shell.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
..\..\..\components\finsh\msh.c
-
- msh_file.c
- 1
- ..\..\..\components\finsh\msh_file.c
-
+
+
finsh_compiler.c
1
..\..\..\components\finsh\finsh_compiler.c
+
+
finsh_error.c
1
..\..\..\components\finsh\finsh_error.c
+
+
finsh_heap.c
1
..\..\..\components\finsh\finsh_heap.c
+
+
finsh_init.c
1
..\..\..\components\finsh\finsh_init.c
+
+
finsh_node.c
1
..\..\..\components\finsh\finsh_node.c
+
+
finsh_ops.c
1
..\..\..\components\finsh\finsh_ops.c
+
+
finsh_parser.c
1
..\..\..\components\finsh\finsh_parser.c
+
+
finsh_var.c
1
..\..\..\components\finsh\finsh_var.c
+
+
finsh_vm.c
1
..\..\..\components\finsh\finsh_vm.c
+
+
finsh_token.c
1
@@ -628,66 +638,92 @@
1
..\..\..\src\clock.c
+
+
components.c
1
..\..\..\src\components.c
+
+
device.c
1
..\..\..\src\device.c
+
+
idle.c
1
..\..\..\src\idle.c
+
+
ipc.c
1
..\..\..\src\ipc.c
+
+
irq.c
1
..\..\..\src\irq.c
+
+
kservice.c
1
..\..\..\src\kservice.c
+
+
mem.c
1
..\..\..\src\mem.c
+
+
mempool.c
1
..\..\..\src\mempool.c
+
+
object.c
1
..\..\..\src\object.c
+
+
scheduler.c
1
..\..\..\src\scheduler.c
+
+
signal.c
1
..\..\..\src\signal.c
+
+
thread.c
1
..\..\..\src\thread.c
+
+
timer.c
1
@@ -703,166 +739,199 @@
1
..\..\..\components\libc\compilers\armlibc\libc.c
+
+
mem_std.c
1
..\..\..\components\libc\compilers\armlibc\mem_std.c
-
- stdio.c
- 1
- ..\..\..\components\libc\compilers\armlibc\stdio.c
-
+
+
stubs.c
1
..\..\..\components\libc\compilers\armlibc\stubs.c
+
+
time.c
1
..\..\..\components\libc\compilers\common\time.c
-
- unistd.c
- 1
- ..\..\..\components\libc\compilers\common\unistd.c
-
- STM32_HAL
+ Libraries
system_stm32wbxx.c
1
..\libraries\STM32WBxx_HAL\CMSIS\Device\ST\STM32WBxx\Source\Templates\system_stm32wbxx.c
+
+
- STM32wbxx_hal.c
+ stm32wbxx_hal.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal.c
+
+
- STM32wbxx_hal_comp.c
+ stm32wbxx_hal_comp.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_comp.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_comp.c
+
+
- STM32wbxx_hal_cortex.c
+ stm32wbxx_hal_cortex.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_cortex.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_cortex.c
+
+
- STM32wbxx_hal_crc.c
+ stm32wbxx_hal_crc.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_crc.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_crc.c
+
+
- STM32wbxx_hal_crc_ex.c
+ stm32wbxx_hal_crc_ex.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_crc_ex.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_crc_ex.c
+
+
- STM32wbxx_hal_cryp.c
+ stm32wbxx_hal_cryp.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_cryp.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_cryp.c
+
+
- STM32wbxx_hal_cryp_ex.c
+ stm32wbxx_hal_cryp_ex.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_cryp_ex.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_cryp_ex.c
+
+
- STM32wbxx_hal_dma.c
+ stm32wbxx_hal_dma.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_dma.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_dma.c
+
+
- STM32wbxx_hal_dma_ex.c
+ stm32wbxx_hal_dma_ex.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_dma_ex.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_dma_ex.c
+
+
- STM32wbxx_hal_exti.c
+ stm32wbxx_hal_exti.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_exti.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_exti.c
+
+
- STM32wbxx_hal_pwr.c
+ stm32wbxx_hal_pwr.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_pwr.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_pwr.c
+
+
- STM32wbxx_hal_pwr_ex.c
+ stm32wbxx_hal_pwr_ex.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_pwr_ex.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_pwr_ex.c
+
+
- STM32wbxx_hal_rcc.c
+ stm32wbxx_hal_rcc.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_rcc.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rcc.c
+
+
- STM32wbxx_hal_rcc_ex.c
+ stm32wbxx_hal_rcc_ex.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_rcc_ex.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rcc_ex.c
+
+
- STM32wbxx_hal_rng.c
+ stm32wbxx_hal_rng.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_rng.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_rng.c
+
+
- STM32wbxx_hal_gpio.c
+ stm32wbxx_hal_gpio.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_gpio.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_gpio.c
+
+
- STM32wbxx_hal_uart.c
+ stm32wbxx_hal_uart.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_uart.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_uart.c
+
+
- STM32wbxx_hal_uart_ex.c
+ stm32wbxx_hal_uart_ex.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_uart_ex.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_uart_ex.c
+
+
- STM32wbxx_hal_usart.c
+ stm32wbxx_hal_usart.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_usart.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_usart.c
+
+
- STM32wbxx_hal_usart_ex.c
+ stm32wbxx_hal_usart_ex.c
1
- ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\STM32wbxx_hal_usart_ex.c
+ ..\libraries\STM32WBxx_HAL\STM32WBxx_HAL_Driver\Src\stm32wbxx_hal_usart_ex.c
-
-
-
-
+
+
+
-
<Project Info>
-
-
-
-
-
+
+
+
+
+
0
1
-