diff --git a/bsp/lpc176x/project.ewp b/bsp/lpc176x/project.ewp
index 5b6109ab5f..cc30279eae 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
@@ -2064,54 +2064,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2122,28 +2074,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xe.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2190,6 +2121,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xe.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2203,10 +2155,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 2e50f0389c..d4f956b092 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
@@ -414,114 +414,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -531,54 +423,16 @@
applications\main.c
-
-
- Drivers
- board.c
+ nrf24l01_init.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
+ applications\nrf24l01_init.c
- cpu
+ CPU
backtrace.c
@@ -681,6 +535,51 @@
+
+ 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
+
+
+
finsh
@@ -690,13 +589,6 @@
..\..\..\components\finsh\shell.c
-
-
- symbol.c
- 1
- ..\..\..\components\finsh\symbol.c
-
-
cmd.c
@@ -711,23 +603,110 @@
..\..\..\components\finsh\msh.c
+
+
+ Kernel
- msh_cmd.c
+ clock.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\clock.c
- msh_file.c
+ components.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\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
+ ..\..\..\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 da0c644056..097329f35e 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
@@ -376,114 +376,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -502,52 +394,7 @@
- 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
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -650,6 +497,51 @@
+
+ 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
+
+
+
finsh
@@ -675,7 +567,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ 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 5c991640e3..efa2606ae3 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
@@ -2088,54 +2088,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2143,28 +2095,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xb.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2211,6 +2142,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xb.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2224,10 +2176,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 f19fcdc1cb..7946319ef9 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 9fffc5ef30..1b7ef8dd9e 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,148 +410,41 @@
- Drivers
+ CPU
- board.c
+ backtrace.c
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
- ..\libraries\HAL_Drivers\drv_common.c
+ ..\..\..\libcpu\arm\common\backtrace.c
-
-
- Kernel
- clock.c
+ div0.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
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
+
+
+ showmem.c
+ 1
+ ..\..\..\libcpu\arm\common\showmem.c
-
-
- CORTEX-M3
cpuport.c
1
..\..\..\libcpu\arm\cortex-m3\cpuport.c
+
+
context_rvds.S
2
..\..\..\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
-
@@ -575,41 +455,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
@@ -617,6 +513,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -625,101 +566,210 @@
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
+
+
+
+ Kernel
+
- msh_cmd.c
+ clock.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\clock.c
+
+
- msh_file.c
+ components.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\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
+ ..\..\..\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 d2333b7920..a7c862baf7 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
@@ -371,114 +371,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -490,52 +382,7 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -638,6 +485,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -663,7 +555,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ 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 0403a7dc9b..0125f84f8e 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
@@ -2068,57 +2070,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\memheap.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2126,28 +2077,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xe.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2194,6 +2124,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xe.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2206,14 +2157,59 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\memheap.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
libc
$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 035380edc5..a232cd71f0 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)
+
@@ -409,6 +409,110 @@
+
+ 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-m3\cpuport.c
+
+
+
+
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
+ 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
+ ..\..\..\components\drivers\src\workqueue.c
+
+
+
Drivers
@@ -454,6 +558,30 @@
+
+ finsh
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
+
Kernel
@@ -470,13 +598,6 @@
..\..\..\src\components.c
-
-
- cpu.c
- 1
- ..\..\..\src\cpu.c
-
-
device.c
@@ -569,155 +690,6 @@
-
- CORTEX-M3
-
-
- cpuport.c
- 1
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\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
-
-
- pin.c
- 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
- ..\..\..\components\drivers\src\workqueue.c
-
-
-
-
- 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
-
-
-
libc
@@ -745,19 +717,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
@@ -765,48 +730,6 @@
..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
-
-
- stm32f1xx_hal_adc.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_adc.c
-
-
-
-
- stm32f1xx_hal_adc_ex.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_adc_ex.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_flash.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash.c
-
-
-
-
- stm32f1xx_hal_flash_ex.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash_ex.c
-
-
stm32f1xx_hal_dma.c
@@ -828,27 +751,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_crc.c
-
-
- stm32f1xx_hal_i2c.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_i2c.c
-
-
-
-
- stm32f1xx_hal_irda.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_irda.c
-
-
-
-
- stm32f1xx_hal_iwdg.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_iwdg.c
-
-
stm32f1xx_hal_pwr.c
@@ -872,51 +774,30 @@
- stm32f1xx_hal_rtc.c
+ stm32f1xx_hal.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rtc.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c
- stm32f1xx_hal_rtc_ex.c
+ stm32f1xx_hal_cec.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rtc_ex.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
- stm32f1xx_hal_smartcard.c
+ stm32f1xx_hal_gpio.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_smartcard.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
- stm32f1xx_hal_spi.c
+ stm32f1xx_hal_gpio_ex.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_spi.c
-
-
-
-
- stm32f1xx_hal_spi_ex.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_spi_ex.c
-
-
-
-
- stm32f1xx_hal_tim.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c
-
-
-
-
- stm32f1xx_hal_tim_ex.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c
+ ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c
@@ -933,244 +814,6 @@
..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_usart.c
-
-
- stm32f1xx_hal_wwdg.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_wwdg.c
-
-
-
-
- stm32f1xx_hal.c
- 1
- ..\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
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
-
-
-
-
- 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
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_nor.c
-
-
-
-
- stm32f1xx_hal_sram.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_sram.c
-
-
-
-
- stm32f1xx_hal_pcd.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pcd.c
-
-
-
-
- stm32f1xx_hal_pcd_ex.c
- 1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pcd_ex.c
-
-
diff --git a/bsp/stm32/stm32f103-fire-arbitrary/project.uvprojx b/bsp/stm32/stm32f103-fire-arbitrary/project.uvprojx
index 12b0122716..ea093faa87 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
@@ -375,121 +375,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -501,52 +386,7 @@
- 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
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -649,6 +489,51 @@
+
+ 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
+
+
+
finsh
@@ -673,6 +558,114 @@
+
+ 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
+
+
+
+
+ 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
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 5f761c6ca5..3fccb364fc 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
@@ -2104,54 +2104,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2159,28 +2111,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xb.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2227,6 +2158,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xb.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2240,10 +2192,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 59340ab9ed..42b6822511 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 17a0bbf9d8..f744e8df76 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,97 +388,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
-
- 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
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -493,63 +410,36 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- 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-m3\cpuport.c
+
+
context_rvds.S
2
@@ -565,41 +455,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
@@ -607,6 +513,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -615,101 +566,210 @@
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
+
+
+
+ Kernel
+
- msh_cmd.c
+ clock.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\clock.c
+
+
- msh_file.c
+ components.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\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
+ ..\..\..\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 45218d9445..08f1c38a27 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
@@ -376,107 +376,6 @@
-
- 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
-
-
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -488,52 +387,7 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -636,6 +490,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -661,7 +560,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ Libraries
system_stm32f1xx.c
diff --git a/bsp/stm32/stm32f103-hw100k-ibox/project.ewp b/bsp/stm32/stm32f103-hw100k-ibox/project.ewp
index 9581c92094..69bdf58abd 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
@@ -2142,51 +2144,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2194,28 +2151,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xe.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2262,6 +2198,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xe.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2274,14 +2231,56 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
libc
$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 95a31f060f..eccd61de78 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 51a11268e3..c28c5f2b74 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,121 +406,13 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
+
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -532,52 +424,7 @@
- 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
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -680,6 +527,51 @@
+
+ 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
+
+
+
finsh
@@ -689,13 +581,6 @@
..\..\..\components\finsh\shell.c
-
-
- symbol.c
- 1
- ..\..\..\components\finsh\symbol.c
-
-
cmd.c
@@ -710,18 +595,105 @@
..\..\..\components\finsh\msh.c
+
+
+ Kernel
- msh_cmd.c
+ clock.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\clock.c
- msh_file.c
+ components.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\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
+ ..\..\..\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 8c7ad6afae..49c07c3b1c 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,97 +364,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
-
- 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
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -469,63 +386,36 @@
- 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
-
-
-
-
- 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-m3\cpuport.c
+
+
context_rvds.S
2
@@ -541,41 +431,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
@@ -583,6 +489,51 @@
+
+ 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
+
+
+
finsh
@@ -591,11 +542,15 @@
1
..\..\..\components\finsh\shell.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
@@ -603,6 +558,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 2f50c19183..2a43f432a0 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
@@ -2062,54 +2062,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2117,28 +2069,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xb.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2185,6 +2116,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xb.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2198,10 +2150,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 8b05c9d088..8e7d7538d5 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,121 +392,13 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
+
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -518,52 +410,7 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -666,6 +513,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -675,13 +567,6 @@
..\..\..\components\finsh\shell.c
-
-
- symbol.c
- 1
- ..\..\..\components\finsh\symbol.c
-
-
cmd.c
@@ -696,23 +581,110 @@
..\..\..\components\finsh\msh.c
+
+
+ Kernel
- msh_cmd.c
+ clock.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\clock.c
- msh_file.c
+ components.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\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
+ ..\..\..\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 e756f1b0ee..f719cebbfa 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
@@ -402,114 +402,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -521,52 +413,7 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -669,6 +516,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -694,7 +586,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ 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 6de45c981c..88ad75c530 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
@@ -2062,6 +2062,93 @@
+
+ Applications
+
+ $PROJ_DIR$\applications\main.c
+
+
+
+ CPU
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
+
+
+
+ DeviceDrivers
+
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xe.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
+
+ finsh
+
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -2111,97 +2198,7 @@
- Applications
-
- $PROJ_DIR$\applications\main.c
-
-
-
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xe.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\cpuport.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S
-
-
-
- DeviceDrivers
-
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
-
-
-
- finsh
-
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.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 c0f4981b8e..b8da141ed3 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
@@ -399,6 +399,189 @@
+
+ Applications
+
+
+ main.c
+ 1
+ applications\main.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
+ 1
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+
+
+
+
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
+ 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
+ ..\..\..\components\drivers\src\workqueue.c
+
+
+
+
+ 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
+
+
+
+
+ finsh
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
+
Kernel
@@ -508,190 +691,7 @@
- Applications
-
-
- main.c
- 1
- applications\main.c
-
-
-
-
- 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
-
-
-
-
- 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-m3\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
-
-
-
-
- DeviceDrivers
-
-
- pin.c
- 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
- ..\..\..\components\drivers\src\workqueue.c
-
-
-
-
- finsh
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
-
-
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.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 7757be72b9..4964e02dcd 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
@@ -402,6 +402,189 @@
+
+ Applications
+
+
+ main.c
+ 1
+ applications\main.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
+ 1
+ ..\..\..\libcpu\arm\cortex-m3\cpuport.c
+
+
+
+
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
+ 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
+ ..\..\..\components\drivers\src\workqueue.c
+
+
+
+
+ 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
+
+
+
+
+ finsh
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
+
Kernel
@@ -511,190 +694,7 @@
- Applications
-
-
- main.c
- 1
- applications\main.c
-
-
-
-
- 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
-
-
-
-
- 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-m3\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
-
-
-
-
- DeviceDrivers
-
-
- pin.c
- 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
- ..\..\..\components\drivers\src\workqueue.c
-
-
-
-
- finsh
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
-
-
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.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 7abfd29b9e..7faf7e28c2 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
@@ -2104,54 +2104,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2159,28 +2111,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xe.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2227,6 +2158,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f103xe.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2240,10 +2192,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 1deab6fd87..541f2a2417 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 a1324a548f..60e9e771c6 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,97 +388,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
-
- 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
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -493,63 +410,36 @@
- 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
-
-
-
-
- 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-m3\cpuport.c
+
+
context_rvds.S
2
@@ -565,41 +455,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
@@ -607,6 +513,51 @@
+
+ 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
+
+
+
finsh
@@ -615,101 +566,210 @@
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
+
+
+
+ Kernel
+
- msh_cmd.c
+ clock.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\clock.c
+
+
- msh_file.c
+ components.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\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
+ ..\..\..\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 4281292153..ec6d526967 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
@@ -376,114 +376,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -495,52 +387,7 @@
- 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
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -643,6 +490,51 @@
+
+ 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
+
+
+
finsh
@@ -668,7 +560,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ 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 406c8ed398..8d7b417546 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
@@ -2062,54 +2062,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2117,28 +2069,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f107xc.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2185,6 +2116,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\iar\startup_stm32f107xc.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2198,10 +2150,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 7f1cdb6f8d..d3480bad3c 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,121 +392,13 @@
.\board\linker_scripts\link.sct
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
+
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -518,52 +410,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f1xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
-
-
- startup_stm32f107xc.s
- 2
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f107xc.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
+ CPU
backtrace.c
@@ -666,6 +513,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f1xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
+
+
+ startup_stm32f107xc.s
+ 2
+ ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f107xc.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
+
+
+
finsh
@@ -675,13 +567,6 @@
..\..\..\components\finsh\shell.c
-
-
- symbol.c
- 1
- ..\..\..\components\finsh\symbol.c
-
-
cmd.c
@@ -696,23 +581,110 @@
..\..\..\components\finsh\msh.c
+
+
+ Kernel
- msh_cmd.c
+ clock.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\clock.c
- msh_file.c
+ components.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\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
+ ..\..\..\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 8be1065581..faa312dc4e 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
@@ -374,114 +374,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -493,52 +385,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f1xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
-
-
-
-
- startup_stm32f107xc.s
- 2
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f107xc.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
+ CPU
backtrace.c
@@ -641,6 +488,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f1xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f1xx_hal_msp.c
+
+
+
+
+ startup_stm32f107xc.s
+ 2
+ ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f107xc.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
+
+
+
finsh
@@ -666,7 +558,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ 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 fcadae2516..98af472d02 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
@@ -2070,54 +2070,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2125,28 +2077,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f401xe.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2193,6 +2124,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f401xe.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2206,10 +2158,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 4932f4e8ff..713844bd44 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
@@ -376,114 +376,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -495,52 +387,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f401xe.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f401xe.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
+ CPU
backtrace.c
@@ -643,6 +490,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+
+
+ startup_stm32f401xe.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f401xe.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
+
+
+
finsh
@@ -668,7 +560,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/project.ewp b/bsp/stm32/stm32f405-smdz-breadfruit/project.ewp
index 93e53ab30a..88e20c8396 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
@@ -2061,54 +2061,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2116,28 +2068,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f405xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2184,6 +2115,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f405xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2197,10 +2149,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 a2c80e0594..d718327302 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)
+
@@ -409,6 +409,110 @@
+
+ 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
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
+ 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
+ ..\..\..\components\drivers\src\workqueue.c
+
+
+
Drivers
@@ -427,9 +531,9 @@
- startup_stm32f407xx.s
+ startup_stm32f405xx.s
2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f405xx.s
@@ -454,6 +558,30 @@
+
+ finsh
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
+
Kernel
@@ -556,156 +684,7 @@
- CORTEX-M4
-
-
- cpuport.c
- 1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\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
-
-
- pin.c
- 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
- ..\..\..\components\drivers\src\workqueue.c
-
-
-
-
- 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
+ Libraries
system_stm32f4xx.c
@@ -720,27 +699,6 @@
..\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
@@ -776,41 +734,6 @@
..\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
@@ -818,13 +741,6 @@
..\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
@@ -832,181 +748,6 @@
..\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
-
-
-
-
- stm32f4xx_hal_flash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
-
-
-
-
- stm32f4xx_hal_flash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
-
-
-
-
- stm32f4xx_hal_flash_ramfunc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
-
-
-
-
- stm32f4xx_hal_fmpi2c.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
-
-
-
-
- stm32f4xx_hal_fmpi2c_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
-
-
-
-
- stm32f4xx_hal_gpio.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
-
-
-
-
- stm32f4xx_hal_hash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
-
-
-
-
- stm32f4xx_hal_hash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
-
-
-
-
- stm32f4xx_hal_hcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.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_i2s.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
-
-
-
-
- stm32f4xx_hal_i2s_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
-
-
-
-
- stm32f4xx_hal_irda.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
-
-
-
-
- stm32f4xx_hal_iwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
-
-
-
-
- stm32f4xx_hal_lptim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.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_nand.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
-
-
-
-
- stm32f4xx_hal_nor.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
-
-
-
-
- stm32f4xx_hal_pccard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
-
-
-
-
- stm32f4xx_hal_pcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
-
-
-
-
- stm32f4xx_hal_pcd_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
-
-
stm32f4xx_hal_pwr.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
+ stm32f4xx_hal_gpio.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
- 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 3fcb1ab562..efcb987905 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
@@ -401,114 +401,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -520,52 +412,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f405xx.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f405xx.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
+ CPU
backtrace.c
@@ -668,6 +515,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+
+
+ startup_stm32f405xx.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f405xx.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
+
+
+
finsh
@@ -693,7 +585,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f407-atk-explorer/project.ewp b/bsp/stm32/stm32f407-atk-explorer/project.ewp
index 56bc36d485..9e92b5b934 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
@@ -2063,54 +2063,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2118,28 +2070,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f407xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2186,6 +2117,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f407xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2199,10 +2151,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 f011526ee1..09dec0af9f 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 c38efb3683..cc34a04713 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)
+
@@ -409,6 +409,110 @@
+
+ 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
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
+ 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
+ ..\..\..\components\drivers\src\workqueue.c
+
+
+
Drivers
@@ -454,6 +558,30 @@
+
+ finsh
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
+
Kernel
@@ -470,13 +598,6 @@
..\..\..\src\components.c
-
-
- cpu.c
- 1
- ..\..\..\src\cpu.c
-
-
device.c
@@ -563,156 +684,7 @@
- CORTEX-M4
-
-
- cpuport.c
- 1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\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
-
-
- pin.c
- 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
- ..\..\..\components\drivers\src\workqueue.c
-
-
-
-
- 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
+ Libraries
system_stm32f4xx.c
@@ -727,27 +699,6 @@
..\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
@@ -783,41 +734,6 @@
..\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
@@ -825,13 +741,6 @@
..\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
@@ -839,181 +748,6 @@
..\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
-
-
-
-
- stm32f4xx_hal_flash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
-
-
-
-
- stm32f4xx_hal_flash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
-
-
-
-
- stm32f4xx_hal_flash_ramfunc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
-
-
-
-
- stm32f4xx_hal_fmpi2c.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
-
-
-
-
- stm32f4xx_hal_fmpi2c_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
-
-
-
-
- stm32f4xx_hal_gpio.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
-
-
-
-
- stm32f4xx_hal_hash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
-
-
-
-
- stm32f4xx_hal_hash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
-
-
-
-
- stm32f4xx_hal_hcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.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_i2s.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
-
-
-
-
- stm32f4xx_hal_i2s_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
-
-
-
-
- stm32f4xx_hal_irda.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
-
-
-
-
- stm32f4xx_hal_iwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
-
-
-
-
- stm32f4xx_hal_lptim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.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_nand.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
-
-
-
-
- stm32f4xx_hal_nor.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
-
-
-
-
- stm32f4xx_hal_pccard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
-
-
-
-
- stm32f4xx_hal_pcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
-
-
-
-
- stm32f4xx_hal_pcd_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
-
-
stm32f4xx_hal_pwr.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
+ stm32f4xx_hal_gpio.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
- 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 41b712a2bf..c80dfefccd 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,92 +364,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
-
- 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
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -465,63 +386,36 @@
- 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
-
-
-
-
- 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
@@ -537,41 +431,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
@@ -579,6 +489,51 @@
+
+ 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
+
+
+
finsh
@@ -587,11 +542,15 @@
1
..\..\..\components\finsh\shell.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
@@ -600,88 +559,221 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ 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 db96ad75f3..861dbf209d 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
@@ -2061,54 +2061,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2116,28 +2068,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f407xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2184,6 +2115,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f407xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2197,10 +2149,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 5c0b25d7f6..42ee0721ab 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 75a1c37c96..17a63c9616 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 97f1ad48a7..e41d15c9a4 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,148 +410,41 @@
- Drivers
+ CPU
- board.c
+ backtrace.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
+ ..\..\..\libcpu\arm\common\backtrace.c
-
-
- Kernel
- clock.c
+ div0.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
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
+ ..\..\..\libcpu\arm\common\div0.c
+
+
+
+
+ showmem.c
+ 1
+ ..\..\..\libcpu\arm\common\showmem.c
-
-
- CORTEX-M4
cpuport.c
1
..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
context_rvds.S
2
..\..\..\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
-
@@ -565,41 +455,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
@@ -607,6 +513,51 @@
+
+ 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
+
+
+
finsh
@@ -615,121 +566,238 @@
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
+
+
+
+ Kernel
+
- msh_cmd.c
+ clock.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\clock.c
+
+
- msh_file.c
+ components.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\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
+ ..\..\..\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 53f2065d96..e48797828e 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,97 +362,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
-
- 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
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -468,63 +384,36 @@
- 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
-
-
-
-
- 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
@@ -540,41 +429,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
@@ -582,6 +487,51 @@
+
+ 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
+
+
+
finsh
@@ -590,11 +540,15 @@
1
..\..\..\components\finsh\shell.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
@@ -603,88 +557,221 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ 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 62c7e09b99..c662fe2262 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
@@ -2062,54 +2064,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2117,28 +2071,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $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\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2185,6 +2118,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f410rx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2198,10 +2152,58 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- STM32_HAL
+ libc
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
+
+
+ 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 a6a085890c..52fe4bb316 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
+ 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\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
- 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 7211b98701..296dc36c57 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,92 +365,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
-
- 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
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -465,63 +387,36 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- 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
@@ -537,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
@@ -579,6 +490,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -587,11 +543,15 @@
1
..\..\..\components\finsh\shell.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
@@ -599,6 +559,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 6ccceff90f..18b932ca8f 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 7e1140e589..ca04388653 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
@@ -374,6 +374,278 @@
+
+ Applications
+
+
+ main.c
+ 1
+ applications\main.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
+ 1
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
+
+
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ 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
+
+
+
+
+ rtc.c
+ 1
+ ..\..\..\components\drivers\rtc\rtc.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
+
+
+
+
+ spi_flash_sfud.c
+ 1
+ ..\..\..\components\drivers\spi\spi_flash_sfud.c
+
+
+
+
+ sfud.c
+ 1
+ ..\..\..\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
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+
+
+ startup_stm32f411xe.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.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_common.c
+ 1
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
+
+ finsh
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
+
Kernel
@@ -475,245 +747,29 @@
-
- Applications
-
-
- main.c
- 1
- applications\main.c
-
-
-
-
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f411xe.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.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_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
- 1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
-
-
-
-
- DeviceDrivers
-
-
- 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
-
-
-
-
- spi_flash_sfud.c
- 1
- ..\..\..\components\drivers\spi\spi_flash_sfud.c
-
-
-
-
- sfud.c
- 1
- ..\..\..\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
-
-
-
-
-
-
- --c99
-
-
-
-
-
-
-
-
-
- finsh
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
-
-
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
-
libc
+
+
+ libc.c
+ 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
@@ -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 62c7e09b99..072e572ba1 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
@@ -2062,54 +2062,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2117,28 +2069,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $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\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2185,6 +2116,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $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\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2198,10 +2150,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 72b7b076cb..4a182fcd80 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
@@ -374,114 +374,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -493,52 +385,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f411xe.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.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
+ CPU
backtrace.c
@@ -641,6 +488,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+
+
+ startup_stm32f411xe.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.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
+
+
+
finsh
@@ -666,7 +558,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f411-weact-MiniF4/project.ewp b/bsp/stm32/stm32f411-weact-MiniF4/project.ewp
index 62c7e09b99..ab208b75d2 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
+
+
@@ -2062,54 +2140,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2117,28 +2147,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $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\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2185,6 +2194,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $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\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2198,10 +2228,58 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- STM32_HAL
+ libc
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
+
+
+ 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 e16b3651e2..50ea7232cd 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
@@ -375,107 +375,6 @@
-
- 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
-
-
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -487,52 +386,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f411xe.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.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
+ CPU
backtrace.c
@@ -635,6 +489,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+
+
+ startup_stm32f411xe.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.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
+
+
+
finsh
@@ -659,6 +558,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 5e5c07765d..884df35e16 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
@@ -2104,51 +2106,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2156,28 +2113,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f412zx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2224,6 +2160,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f412zx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2236,6 +2193,51 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
libc
@@ -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 301bb1038b..c802a60188 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
@@ -376,107 +376,6 @@
-
- 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
-
-
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -488,52 +387,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f412zx.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f412zx.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
+ CPU
backtrace.c
@@ -636,6 +490,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+
+
+ startup_stm32f412zx.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f412zx.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
+
+
+
finsh
@@ -660,6 +559,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 9fc1c540d2..7839146ce6 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
@@ -2061,51 +2063,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2113,28 +2070,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f413xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2184,6 +2120,27 @@
$PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f413xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2196,6 +2153,51 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
libc
@@ -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 0c83936531..7384c8aaf0 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
+ 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\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
- 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 f87c223adc..d3d21e0a1b 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
@@ -399,107 +399,6 @@
-
- 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
-
-
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -511,52 +410,7 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -666,6 +520,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -690,6 +589,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 5069e31cf2..5971219f50 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,92 +366,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
-
- 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
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -466,63 +388,36 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- 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
@@ -538,46 +433,64 @@
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
..\..\..\components\drivers\src\workqueue.c
+
+
watchdog.c
1
@@ -585,6 +498,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -593,11 +551,15 @@
1
..\..\..\components\finsh\shell.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
@@ -605,6 +567,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 0b4f78324a..33ddb99019 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
@@ -2063,54 +2065,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2118,28 +2072,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f427xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2186,6 +2119,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f427xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2198,6 +2152,51 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
libc
@@ -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 a2c80e0594..69ed099f56 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)
+
@@ -409,6 +409,110 @@
+
+ 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
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
+ 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
+ ..\..\..\components\drivers\src\workqueue.c
+
+
+
Drivers
@@ -427,9 +531,9 @@
- startup_stm32f407xx.s
+ startup_stm32f427xx.s
2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f427xx.s
@@ -454,6 +558,30 @@
+
+ finsh
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
+
Kernel
@@ -556,156 +684,17 @@
- CORTEX-M4
+ libc
- cpuport.c
+ time.c
1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\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
+ ..\..\..\components\libc\compilers\common\time.c
- DeviceDrivers
-
-
- pin.c
- 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
- ..\..\..\components\drivers\src\workqueue.c
-
-
-
-
- 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
+ Libraries
system_stm32f4xx.c
@@ -720,27 +709,6 @@
..\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
@@ -776,41 +744,6 @@
..\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
@@ -818,13 +751,6 @@
..\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
@@ -832,181 +758,6 @@
..\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
-
-
-
-
- stm32f4xx_hal_flash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
-
-
-
-
- stm32f4xx_hal_flash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
-
-
-
-
- stm32f4xx_hal_flash_ramfunc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
-
-
-
-
- stm32f4xx_hal_fmpi2c.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
-
-
-
-
- stm32f4xx_hal_fmpi2c_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
-
-
-
-
- stm32f4xx_hal_gpio.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
-
-
-
-
- stm32f4xx_hal_hash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
-
-
-
-
- stm32f4xx_hal_hash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
-
-
-
-
- stm32f4xx_hal_hcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.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_i2s.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
-
-
-
-
- stm32f4xx_hal_i2s_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
-
-
-
-
- stm32f4xx_hal_irda.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
-
-
-
-
- stm32f4xx_hal_iwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
-
-
-
-
- stm32f4xx_hal_lptim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.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_nand.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
-
-
-
-
- stm32f4xx_hal_nor.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
-
-
-
-
- stm32f4xx_hal_pccard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
-
-
-
-
- stm32f4xx_hal_pcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
-
-
-
-
- stm32f4xx_hal_pcd_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
-
-
stm32f4xx_hal_pwr.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
+ stm32f4xx_hal_gpio.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
- 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 3e913ef2b4..bdd3e1f6e4 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
@@ -373,114 +373,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -492,52 +384,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f427xx.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f427xx.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
+ CPU
backtrace.c
@@ -640,6 +487,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+
+
+ startup_stm32f427xx.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f427xx.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
+
+
+
finsh
@@ -664,6 +556,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 484ae97e8d..4e17e3569f 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
@@ -2063,54 +2063,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\memheap.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2118,31 +2070,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
- $PROJ_DIR$\board\ports\drv_ext_io.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2189,6 +2117,30 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\board\ports\drv_ext_io.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2202,10 +2154,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\memheap.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 a2c80e0594..f7f7765274 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,167 +410,7 @@
- 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
-
-
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
-
- CORTEX-M4
-
-
- cpuport.c
- 1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
-
-
+ CPU
backtrace.c
@@ -592,6 +432,20 @@
..\..\..\libcpu\arm\common\showmem.c
+
+
+ cpuport.c
+ 1
+ ..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
+
+
+ context_rvds.S
+ 2
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
DeviceDrivers
@@ -659,6 +513,58 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+
+
+ drv_ext_io.c
+ 1
+ board\ports\drv_ext_io.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
+
+
+
finsh
@@ -668,13 +574,6 @@
..\..\..\components\finsh\shell.c
-
-
- symbol.c
- 1
- ..\..\..\components\finsh\symbol.c
-
-
cmd.c
@@ -689,23 +588,110 @@
..\..\..\components\finsh\msh.c
+
+
+ Kernel
- msh_cmd.c
+ clock.c
1
- ..\..\..\components\finsh\msh_cmd.c
+ ..\..\..\src\clock.c
- msh_file.c
+ components.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\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
+ ..\..\..\src\timer.c
- STM32_HAL
+ Libraries
system_stm32f4xx.c
@@ -720,27 +706,6 @@
..\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
@@ -776,41 +741,6 @@
..\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
@@ -818,13 +748,6 @@
..\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
@@ -832,181 +755,6 @@
..\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
-
-
-
-
- stm32f4xx_hal_flash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
-
-
-
-
- stm32f4xx_hal_flash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
-
-
-
-
- stm32f4xx_hal_flash_ramfunc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
-
-
-
-
- stm32f4xx_hal_fmpi2c.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
-
-
-
-
- stm32f4xx_hal_fmpi2c_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
-
-
-
-
- stm32f4xx_hal_gpio.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
-
-
-
-
- stm32f4xx_hal_hash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
-
-
-
-
- stm32f4xx_hal_hash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
-
-
-
-
- stm32f4xx_hal_hcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.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_i2s.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
-
-
-
-
- stm32f4xx_hal_i2s_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
-
-
-
-
- stm32f4xx_hal_irda.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
-
-
-
-
- stm32f4xx_hal_iwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
-
-
-
-
- stm32f4xx_hal_lptim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.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_nand.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
-
-
-
-
- stm32f4xx_hal_nor.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
-
-
-
-
- stm32f4xx_hal_pccard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
-
-
-
-
- stm32f4xx_hal_pcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
-
-
-
-
- stm32f4xx_hal_pcd_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
-
-
stm32f4xx_hal_pwr.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
+ stm32f4xx_hal_gpio.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
- 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
+ stm32f4xx_hal_sram.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
+ ..\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 3ea879b1c1..36b2f5b2e3 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
@@ -375,114 +375,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -494,59 +386,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- drv_ext_io.c
- 1
- board\ports\drv_ext_io.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
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -649,6 +489,58 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+
+
+ drv_ext_io.c
+ 1
+ board\ports\drv_ext_io.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
+
+
+
finsh
@@ -674,7 +566,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ 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
+ ..\..\..\src\timer.c
+
+
+
+
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f429-atk-apollo/project.ewp b/bsp/stm32/stm32f429-atk-apollo/project.ewp
index 58c1dfc472..72caa753b0 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
@@ -2064,54 +2064,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\memheap.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2119,28 +2071,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2187,6 +2118,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2230,10 +2182,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\memheap.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 0f68ccc0d1..d540867b37 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)
+
@@ -409,6 +409,110 @@
+
+ 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
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
+ 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
+ ..\..\..\components\drivers\src\workqueue.c
+
+
+
Drivers
@@ -454,6 +558,100 @@
+
+ finsh
+
+
+ shell.c
+ 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
+ ..\..\..\components\finsh\finsh_token.c
+
+
+
Kernel
@@ -470,13 +668,6 @@
..\..\..\src\components.c
-
-
- cpu.c
- 1
- ..\..\..\src\cpu.c
-
-
device.c
@@ -563,226 +754,7 @@
- CORTEX-M4
-
-
- cpuport.c
- 1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\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
-
-
- pin.c
- 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
- ..\..\..\components\drivers\src\workqueue.c
-
-
-
-
- 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
-
-
-
-
- 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
- ..\..\..\components\finsh\finsh_token.c
-
-
-
-
- STM32_HAL
+ Libraries
system_stm32f4xx.c
@@ -797,27 +769,6 @@
..\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
@@ -853,41 +804,6 @@
..\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
@@ -895,13 +811,6 @@
..\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
@@ -909,181 +818,6 @@
..\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
-
-
-
-
- stm32f4xx_hal_flash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
-
-
-
-
- stm32f4xx_hal_flash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
-
-
-
-
- stm32f4xx_hal_flash_ramfunc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
-
-
-
-
- stm32f4xx_hal_fmpi2c.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
-
-
-
-
- stm32f4xx_hal_fmpi2c_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
-
-
-
-
- stm32f4xx_hal_gpio.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
-
-
-
-
- stm32f4xx_hal_hash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
-
-
-
-
- stm32f4xx_hal_hash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
-
-
-
-
- stm32f4xx_hal_hcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.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_i2s.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
-
-
-
-
- stm32f4xx_hal_i2s_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
-
-
-
-
- stm32f4xx_hal_irda.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
-
-
-
-
- stm32f4xx_hal_iwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
-
-
-
-
- stm32f4xx_hal_lptim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.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_nand.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
-
-
-
-
- stm32f4xx_hal_nor.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
-
-
-
-
- stm32f4xx_hal_pccard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
-
-
-
-
- stm32f4xx_hal_pcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
-
-
-
-
- stm32f4xx_hal_pcd_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
-
-
stm32f4xx_hal_pwr.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
+ stm32f4xx_hal_gpio.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
- 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 4b3c2c59cb..eafc5a4903 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
@@ -375,114 +375,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -494,52 +386,7 @@
- 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
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -642,6 +489,51 @@
+
+ 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
+
+
+
finsh
@@ -737,7 +629,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ 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
+ ..\..\..\src\timer.c
+
+
+
+
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f429-fire-challenger/project.ewp b/bsp/stm32/stm32f429-fire-challenger/project.ewp
index 3d718b97ae..ae9141d176 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
@@ -2064,54 +2064,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\memheap.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2119,28 +2071,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2187,6 +2118,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2200,10 +2152,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\memheap.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 ab1580da2f..44c0451457 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)
+
@@ -409,6 +409,110 @@
+
+ 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
+ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
+
+
+ DeviceDrivers
+
+
+ pin.c
+ 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
+ ..\..\..\components\drivers\src\workqueue.c
+
+
+
Drivers
@@ -454,6 +558,30 @@
+
+ finsh
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
+
Kernel
@@ -470,13 +598,6 @@
..\..\..\src\components.c
-
-
- cpu.c
- 1
- ..\..\..\src\cpu.c
-
-
device.c
@@ -563,156 +684,7 @@
- CORTEX-M4
-
-
- cpuport.c
- 1
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\..\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
-
-
- pin.c
- 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
- ..\..\..\components\drivers\src\workqueue.c
-
-
-
-
- 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
+ Libraries
system_stm32f4xx.c
@@ -727,27 +699,6 @@
..\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
@@ -783,41 +734,6 @@
..\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
@@ -825,13 +741,6 @@
..\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
@@ -839,181 +748,6 @@
..\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
-
-
-
-
- stm32f4xx_hal_flash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
-
-
-
-
- stm32f4xx_hal_flash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
-
-
-
-
- stm32f4xx_hal_flash_ramfunc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
-
-
-
-
- stm32f4xx_hal_fmpi2c.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
-
-
-
-
- stm32f4xx_hal_fmpi2c_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
-
-
-
-
- stm32f4xx_hal_gpio.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
-
-
-
-
- stm32f4xx_hal_hash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
-
-
-
-
- stm32f4xx_hal_hash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
-
-
-
-
- stm32f4xx_hal_hcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.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_i2s.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
-
-
-
-
- stm32f4xx_hal_i2s_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
-
-
-
-
- stm32f4xx_hal_irda.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
-
-
-
-
- stm32f4xx_hal_iwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
-
-
-
-
- stm32f4xx_hal_lptim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.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_nand.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
-
-
-
-
- stm32f4xx_hal_nor.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
-
-
-
-
- stm32f4xx_hal_pccard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
-
-
-
-
- stm32f4xx_hal_pcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
-
-
-
-
- stm32f4xx_hal_pcd_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
-
-
stm32f4xx_hal_pwr.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
+ stm32f4xx_hal_gpio.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
- 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 78203d36e0..0f374479ec 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
@@ -375,114 +375,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -494,52 +386,7 @@
- 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
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -642,6 +489,51 @@
+
+ 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
+
+
+
finsh
@@ -667,7 +559,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ 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
+ ..\..\..\src\timer.c
+
+
+
+
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f429-st-disco/project.uvoptx b/bsp/stm32/stm32f429-st-disco/project.uvoptx
index ed66375428..d3767bff36 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 975e8ee431..82ab113cc8 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 2bfc2d6515..8327cf54de 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 e96b8704eb..03754088d9 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
@@ -2070,54 +2070,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2125,28 +2077,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f446xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2193,6 +2124,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f446xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2206,10 +2158,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 ccba9b49d3..702a6eee8f 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
@@ -402,114 +402,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -521,52 +413,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
-
- startup_stm32f446xx.s
- 2
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f446xx.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
+ CPU
backtrace.c
@@ -669,6 +516,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+
+
+ startup_stm32f446xx.s
+ 2
+ ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f446xx.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
+
+
+
finsh
@@ -694,7 +586,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ Libraries
system_stm32f4xx.c
diff --git a/bsp/stm32/stm32f469-st-disco/project.uvoptx b/bsp/stm32/stm32f469-st-disco/project.uvoptx
index cb05500e65..73d9b9cfc2 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 253a929efa..1789be5b3c 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
@@ -399,114 +399,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -525,52 +417,7 @@
- Drivers
-
-
- board.c
- 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
+ CPU
backtrace.c
@@ -607,79 +454,6 @@
-
- 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
- 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
- ..\..\..\components\dfs\filesystems\elmfat\option\ccsbcs.c
-
-
-
DeviceDrivers
@@ -788,6 +562,124 @@
+
+ Drivers
+
+
+ board.c
+ 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
+
+
+
+
+ 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
+ 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
+ ..\..\..\components\dfs\filesystems\elmfat\option\ccsbcs.c
+
+
+
finsh
@@ -797,13 +689,6 @@
..\..\..\components\finsh\shell.c
-
-
- symbol.c
- 1
- ..\..\..\components\finsh\symbol.c
-
-
cmd.c
@@ -818,13 +703,6 @@
..\..\..\components\finsh\msh.c
-
-
- msh_cmd.c
- 1
- ..\..\..\components\finsh\msh_cmd.c
-
-
msh_file.c
@@ -903,6 +781,107 @@
+
+ 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
+
+
+
+
+ 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
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 d86cd5d26e..6af482972e 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,97 +365,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
-
- 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
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -466,6 +384,8 @@
1
applications\main.c
+
+
lcd_init.c
1
@@ -474,63 +394,36 @@
- Drivers
-
-
- board.c
- 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
+ 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
@@ -538,61 +431,6 @@
-
- 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
- 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
- ..\..\..\components\dfs\filesystems\elmfat\option\ccsbcs.c
-
-
-
DeviceDrivers
@@ -601,71 +439,99 @@
1
..\..\..\components\drivers\misc\pin.c
+
+
mtd_nor.c
1
..\..\..\components\drivers\mtd\mtd_nor.c
+
+
block_dev.c
1
..\..\..\components\drivers\sdio\block_dev.c
+
+
mmcsd_core.c
1
..\..\..\components\drivers\sdio\mmcsd_core.c
+
+
sd.c
1
..\..\..\components\drivers\sdio\sd.c
+
+
sdio.c
1
..\..\..\components\drivers\sdio\sdio.c
+
+
mmc.c
1
..\..\..\components\drivers\sdio\mmc.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
@@ -673,6 +539,124 @@
+
+ Drivers
+
+
+ board.c
+ 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
+
+
+
+
+ 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
+ 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
+ ..\..\..\components\dfs\filesystems\elmfat\option\ccsbcs.c
+
+
+
finsh
@@ -681,66 +665,92 @@
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
@@ -748,6 +758,107 @@
+
+ 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
+
+
+
+
+ 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
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 35324031bb..6cd14aa971 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
@@ -2063,54 +2063,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2118,31 +2070,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f7xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f746xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_hwtimer.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2195,6 +2123,30 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f7xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f746xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_hwtimer.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2208,10 +2160,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 71caa3e2fd..69ab0bd4a0 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 20c99b6bc9..64bf96c420 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
@@ -2106,54 +2108,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\memheap.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2161,34 +2115,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f7xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f767xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_sdram.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_lcd.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2238,6 +2165,33 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f7xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f767xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_sdram.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_lcd.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2250,6 +2204,51 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\memheap.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
libc
@@ -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 3bae431356..f7ec8b52e1 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
@@ -375,114 +375,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -494,66 +386,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f7xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f7xx_hal_msp.c
-
-
-
-
- startup_stm32f767xx.s
- 2
- ..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\arm\startup_stm32f767xx.s
-
-
-
-
- drv_gpio.c
- 1
- ..\libraries\HAL_Drivers\drv_gpio.c
-
-
-
-
- drv_usart.c
- 1
- ..\libraries\HAL_Drivers\drv_usart.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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -663,6 +496,65 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f7xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f7xx_hal_msp.c
+
+
+
+
+ startup_stm32f767xx.s
+ 2
+ ..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\arm\startup_stm32f767xx.s
+
+
+
+
+ drv_gpio.c
+ 1
+ ..\libraries\HAL_Drivers\drv_gpio.c
+
+
+
+
+ drv_usart.c
+ 1
+ ..\libraries\HAL_Drivers\drv_usart.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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -687,6 +579,107 @@
+
+ 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
+
+
+
+
+ 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
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 0adb910057..cb4829671c 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
@@ -2063,54 +2063,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\memheap.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2118,28 +2070,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f7xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f767xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2189,6 +2120,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f7xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f767xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2202,10 +2154,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\memheap.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 37ca781a37..c77cfd7c72 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
@@ -376,114 +376,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -495,52 +387,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32f7xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32f7xx_hal_msp.c
-
-
-
-
- startup_stm32f767xx.s
- 2
- ..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\arm\startup_stm32f767xx.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
+ CPU
backtrace.c
@@ -650,6 +497,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32f7xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32f7xx_hal_msp.c
+
+
+
+
+ startup_stm32f767xx.s
+ 2
+ ..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\arm\startup_stm32f767xx.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
+
+
+
finsh
@@ -675,7 +567,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ 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
+ ..\..\..\src\timer.c
+
+
+
+
+ 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 7894d640ed..6b06dd9de0 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 3b2292c829..71f5c6cfbf 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
@@ -2061,54 +2075,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2116,28 +2082,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f7xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f767xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2187,6 +2132,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f7xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f767xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2200,10 +2166,58 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- STM32_HAL
+ libc
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
+
+
+ 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 f05717fefe..428930c93f 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
@@ -677,6 +677,156 @@
+
+ Libraries
+
+
+ system_stm32f7xx.c
+ 1
+ ..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\system_stm32f7xx.c
+
+
+
+
+ stm32f7xx_hal.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal.c
+
+
+
+
+ stm32f7xx_hal_cec.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cec.c
+
+
+
+
+ stm32f7xx_hal_cortex.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cortex.c
+
+
+
+
+ stm32f7xx_hal_crc.c
+ 1
+ ..\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
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp.c
+
+
+
+
+ stm32f7xx_hal_cryp_ex.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp_ex.c
+
+
+
+
+ stm32f7xx_hal_exti.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_exti.c
+
+
+
+
+ stm32f7xx_hal_dma.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma.c
+
+
+
+
+ stm32f7xx_hal_dma_ex.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma_ex.c
+
+
+
+
+ stm32f7xx_hal_pwr.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr.c
+
+
+
+
+ stm32f7xx_hal_pwr_ex.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr_ex.c
+
+
+
+
+ stm32f7xx_hal_rcc.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc.c
+
+
+
+
+ stm32f7xx_hal_rcc_ex.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc_ex.c
+
+
+
+
+ stm32f7xx_hal_rng.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rng.c
+
+
+
+
+ stm32f7xx_hal_sram.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sram.c
+
+
+
+
+ stm32f7xx_hal_gpio.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_gpio.c
+
+
+
+
+ stm32f7xx_hal_uart.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_uart.c
+
+
+
+
+ stm32f7xx_hal_uart_ex.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_uart_ex.c
+
+
+
+
+ stm32f7xx_hal_usart.c
+ 1
+ ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_usart.c
+
+
+
lwIP
@@ -939,156 +1089,6 @@
-
- STM32_HAL
-
-
- system_stm32f7xx.c
- 1
- ..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\system_stm32f7xx.c
-
-
-
-
- stm32f7xx_hal.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal.c
-
-
-
-
- stm32f7xx_hal_cec.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cec.c
-
-
-
-
- stm32f7xx_hal_cortex.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cortex.c
-
-
-
-
- stm32f7xx_hal_crc.c
- 1
- ..\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
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp.c
-
-
-
-
- stm32f7xx_hal_cryp_ex.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_cryp_ex.c
-
-
-
-
- stm32f7xx_hal_exti.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_exti.c
-
-
-
-
- stm32f7xx_hal_dma.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma.c
-
-
-
-
- stm32f7xx_hal_dma_ex.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_dma_ex.c
-
-
-
-
- stm32f7xx_hal_pwr.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr.c
-
-
-
-
- stm32f7xx_hal_pwr_ex.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_pwr_ex.c
-
-
-
-
- stm32f7xx_hal_rcc.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc.c
-
-
-
-
- stm32f7xx_hal_rcc_ex.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc_ex.c
-
-
-
-
- stm32f7xx_hal_rng.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rng.c
-
-
-
-
- stm32f7xx_hal_sram.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_sram.c
-
-
-
-
- stm32f7xx_hal_gpio.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_gpio.c
-
-
-
-
- stm32f7xx_hal_uart.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_uart.c
-
-
-
-
- stm32f7xx_hal_uart_ex.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_uart_ex.c
-
-
-
-
- stm32f7xx_hal_usart.c
- 1
- ..\libraries\STM32F7xx_HAL\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_usart.c
-
-
-
diff --git a/bsp/stm32/stm32g070-st-nucleo/project.ewp b/bsp/stm32/stm32g070-st-nucleo/project.ewp
index 7ff56f9134..b29c811735 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$\.
@@ -2104,51 +2108,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2156,28 +2115,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $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\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2224,6 +2162,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32g0xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\iar\startup_stm32g070xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2267,10 +2226,58 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- STM32_HAL
+ libc
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
+
+
+ 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 a16f3867b3..c74bec2847 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 dbc1848d29..16208bc7c3 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
@@ -2104,51 +2104,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2156,28 +2111,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $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\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2224,6 +2158,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $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\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2267,10 +2222,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 b3b2698075..03480cea46 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
@@ -375,107 +375,6 @@
-
- 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
-
-
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -487,52 +386,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32g0xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32g0xx_hal_msp.c
-
-
-
-
- startup_stm32g071xx.s
- 2
- ..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\arm\startup_stm32g071xx.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
+ CPU
backtrace.c
@@ -635,6 +489,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32g0xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32g0xx_hal_msp.c
+
+
+
+
+ startup_stm32g071xx.s
+ 2
+ ..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\arm\startup_stm32g071xx.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
+
+
+
finsh
@@ -730,7 +629,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ Libraries
system_stm32g0xx.c
diff --git a/bsp/stm32/stm32g431-st-nucleo/project.ewp b/bsp/stm32/stm32g431-st-nucleo/project.ewp
index ca349dfb70..345f8611c9 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 a33ab2029d..ee02524c90 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 b0e180439a..28e1354ecc 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
@@ -2136,51 +2138,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2188,31 +2145,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\drv_mpu.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\iar\startup_stm32h743xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2262,6 +2195,30 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\drv_mpu.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\iar\startup_stm32h743xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2275,10 +2232,58 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- STM32_HAL
+ libc
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
+
+
+ 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 e3f27aab5a..15fd7504c4 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 f31701cd5e..0a00563c38 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
@@ -2102,54 +2104,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2157,28 +2111,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\iar\startup_stm32h743xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2228,6 +2161,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\iar\startup_stm32h743xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2240,6 +2194,51 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
libc
@@ -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 f71b6b463a..8780833ee3 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
@@ -376,114 +376,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -495,52 +387,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32h7xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
-
-
-
-
- startup_stm32h743xx.s
- 2
- ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.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
+ CPU
backtrace.c
@@ -650,6 +497,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32h7xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
+
+
+
+
+ startup_stm32h743xx.s
+ 2
+ ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.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
+
+
+
finsh
@@ -674,6 +566,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 d4bb89e828..b66d2ad264 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 2cd44e7449..80a4251ef0 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 e8a7a8d6f6..4a9378c55f 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,92 +365,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
-
- 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
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -465,68 +387,43 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- 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
+
+
cpu_cache.c
1
..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+
+
cpuport.c
1
..\..\..\libcpu\arm\cortex-m7\cpuport.c
+
+
context_rvds.S
2
@@ -542,41 +439,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
@@ -584,6 +497,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -592,11 +550,15 @@
1
..\..\..\components\finsh\shell.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
@@ -604,6 +566,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 ada23fad48..3363e97597 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 22993c30c8..d7c9e0bc79 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 51196d129f..3682f7abd1 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,92 +365,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
-
- 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
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -465,73 +387,43 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
- stm32h7xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
-
-
- startup_stm32h743xx.s
- 2
- ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- 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
+
+
cpu_cache.c
1
..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+
+
cpuport.c
1
..\..\..\libcpu\arm\cortex-m7\cpuport.c
+
+
context_rvds.S
2
@@ -547,56 +439,78 @@
1
..\..\..\components\drivers\hwcrypto\hwcrypto.c
+
+
hw_rng.c
1
..\..\..\components\drivers\hwcrypto\hw_rng.c
+
+
hw_crc.c
1
..\..\..\components\drivers\hwcrypto\hw_crc.c
+
+
pin.c
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
@@ -604,6 +518,58 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32h7xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
+
+
+
+
+ startup_stm32h750xx.s
+ 2
+ ..\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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -612,11 +578,15 @@
1
..\..\..\components\finsh\shell.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
@@ -624,6 +594,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 7783ef9cf1..70c1028d6f 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 97f78109ad..7f4a45a0e7 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
+ Source Group 1
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
- 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 0e71514be5..d3f0e2dbcf 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,92 +365,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
-
- 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
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -465,63 +387,36 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- 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
@@ -537,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
@@ -579,6 +490,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -587,11 +543,15 @@
1
..\..\..\components\finsh\shell.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
@@ -599,6 +559,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 1ab1f50306..f759d8bb5b 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 3de35c446b..1da39ed065 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
@@ -373,114 +373,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -492,52 +384,7 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -640,6 +487,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -665,7 +557,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ Libraries
system_stm32l0xx.c
diff --git a/bsp/stm32/stm32l412-st-nucleo/project.ewp b/bsp/stm32/stm32l412-st-nucleo/project.ewp
index 79cb2f4c71..96f65e7d85 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
@@ -2065,54 +2067,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2120,28 +2074,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $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\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2194,6 +2127,27 @@
$PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l412xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2206,14 +2160,56 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
libc
$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 1d632e7ce2..99eef4f8e6 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 79cb2f4c71..f73a1dead4 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
@@ -2065,54 +2067,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2120,28 +2074,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $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\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2194,6 +2127,27 @@
$PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $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\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2206,14 +2160,56 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
libc
$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 a48bfd2ab6..64b18c66e3 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 4e1733711f..821744a466 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
@@ -2065,6 +2067,93 @@
+
+ Applications
+
+ $PROJ_DIR$\applications\main.c
+
+
+
+ CPU
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
+
+
+
+ DeviceDrivers
+
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l433xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
+
+ finsh
+
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -2073,9 +2162,6 @@
$PROJ_DIR$\..\..\..\src\components.c
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
$PROJ_DIR$\..\..\..\src\device.c
@@ -2113,107 +2199,11 @@
$PROJ_DIR$\..\..\..\src\timer.c
-
- Applications
-
- $PROJ_DIR$\applications\main.c
-
-
-
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $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\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
-
-
-
- DeviceDrivers
-
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\rtc\rtc.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
-
-
-
- finsh
-
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
-
-
libc
$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 dc49c9882e..79a61a56ff 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 88b91c0816..fc884f2d39 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
@@ -2106,54 +2106,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2161,28 +2113,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l452xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2229,6 +2160,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l452xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2242,10 +2194,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 84257090b7..f7e98b1ded 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
@@ -376,114 +376,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -495,52 +387,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32l4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
-
-
-
-
- startup_stm32l452xx.s
- 2
- ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l452xx.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
+ CPU
backtrace.c
@@ -643,6 +490,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32l4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
+
+
+ startup_stm32l452xx.s
+ 2
+ ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l452xx.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
+
+
+
finsh
@@ -668,7 +560,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ Libraries
system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l475-atk-pandora/project.ewp b/bsp/stm32/stm32l475-atk-pandora/project.ewp
index 576d14d3aa..fea00f63c7 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
@@ -2063,54 +2065,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2118,28 +2072,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l475xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2186,6 +2119,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l475xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2198,6 +2152,51 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
libc
@@ -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 5c96c99cb1..1a187748bd 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
@@ -375,114 +375,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -494,52 +386,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32l4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
-
-
-
-
- startup_stm32l475xx.s
- 2
- ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l475xx.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
+ CPU
backtrace.c
@@ -642,6 +489,51 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32l4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
+
+
+ startup_stm32l475xx.s
+ 2
+ ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l475xx.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
+
+
+
finsh
@@ -666,6 +558,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 399e4d0bc2..5be1ba4429 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
@@ -2063,54 +2063,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2118,28 +2070,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l475xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2186,6 +2117,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l475xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2199,10 +2151,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 71798fd0e5..7eba0896a8 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 f15de0ab01..d3bee9a0a5 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
@@ -2067,54 +2069,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2122,34 +2076,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l476xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_pm.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_lptim.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2202,6 +2129,33 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l476xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_pm.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_lptim.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2214,14 +2168,56 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
libc
$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 3d4a3e4dcb..bdbb353d3c 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
@@ -376,114 +376,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -495,66 +387,7 @@
- Drivers
-
-
- board.c
- 1
- board\board.c
-
-
-
-
- stm32l4xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
-
-
-
-
- startup_stm32l476xx.s
- 2
- ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l476xx.s
-
-
-
-
- drv_gpio.c
- 1
- ..\libraries\HAL_Drivers\drv_gpio.c
-
-
-
-
- drv_usart.c
- 1
- ..\libraries\HAL_Drivers\drv_usart.c
-
-
-
-
- drv_pm.c
- 1
- ..\libraries\HAL_Drivers\drv_pm.c
-
-
-
-
- drv_lptim.c
- 1
- ..\libraries\HAL_Drivers\drv_lptim.c
-
-
-
-
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -671,6 +504,65 @@
+
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ stm32l4xx_hal_msp.c
+ 1
+ board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
+
+
+ startup_stm32l476xx.s
+ 2
+ ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l476xx.s
+
+
+
+
+ drv_gpio.c
+ 1
+ ..\libraries\HAL_Drivers\drv_gpio.c
+
+
+
+
+ drv_usart.c
+ 1
+ ..\libraries\HAL_Drivers\drv_usart.c
+
+
+
+
+ drv_pm.c
+ 1
+ ..\libraries\HAL_Drivers\drv_pm.c
+
+
+
+
+ drv_lptim.c
+ 1
+ ..\libraries\HAL_Drivers\drv_lptim.c
+
+
+
+
+ drv_common.c
+ 1
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -695,6 +587,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 c9bf80c35b..c7e1e15f51 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
@@ -2063,54 +2063,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2118,28 +2070,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l496xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2186,6 +2117,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l496xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2199,10 +2151,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 a8166d6e23..4701472009 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
@@ -375,114 +375,6 @@
-
- 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
-
-
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -494,52 +386,7 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -642,6 +489,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -667,7 +559,108 @@
- STM32_HAL
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ Libraries
system_stm32l4xx.c
diff --git a/bsp/stm32/stm32l496-st-nucleo/project.ewp b/bsp/stm32/stm32l496-st-nucleo/project.ewp
index 43fb7fb816..4210390b9a 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
@@ -2063,51 +2065,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2115,28 +2072,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l496xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2183,6 +2119,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l496xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2195,6 +2152,51 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
libc
@@ -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 0a41991b75..1a6a498933 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
+ Source Group 1
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
- 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 b3d82eece3..340eb9824d 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,92 +365,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
-
- 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
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -465,63 +387,36 @@
- Drivers
-
-
- board.c
- 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
- ..\libraries\HAL_Drivers\drv_common.c
-
-
-
-
- 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
@@ -537,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
@@ -579,6 +490,51 @@
+
+ Drivers
+
+
+ board.c
+ 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
+ ..\libraries\HAL_Drivers\drv_common.c
+
+
+
finsh
@@ -587,11 +543,15 @@
1
..\..\..\components\finsh\shell.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
@@ -599,6 +559,107 @@
+
+ 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
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ signal.c
+ 1
+ ..\..\..\src\signal.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
libc
@@ -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 0343c802b1..42c09f0072 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 a21983548d..0e2018b872 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 f9385f740b..a00f6192b5 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
@@ -2106,54 +2106,6 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\memheap.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
@@ -2161,28 +2113,7 @@
- Drivers
-
- $PROJ_DIR$\board\board.c
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
-
-
- $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l4r9xx.s
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
-
- cpu
+ CPU
$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
@@ -2238,6 +2169,27 @@
$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+
+ Drivers
+
+ $PROJ_DIR$\board\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l4r9xx.s
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+
+
finsh
@@ -2251,10 +2203,52 @@
- libc
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\memheap.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\signal.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
- 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 6476709703..82e4839a8e 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 43d24dc2c8..3547891da5 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 cd7d5cc09b..b43797349c 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 3dddb0d7dc..29ab1201fc 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 2bb85bc33c..5320051f39 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 e3a94d45ec..69cfe32b14 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 850fba2c45..732be2b3e1 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 c1935c48f5..ee3dbc45d5 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 35b07abc06..507c17fe34 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 b51d2f6c58..59d0031ff2 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,26 +499,36 @@
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
@@ -505,46 +536,6 @@
-
- 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
- 1
- ..\..\..\components\dfs\filesystems\devfs\devfs.c
-
-
-
finsh
@@ -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
-