diff --git a/bsp/stm32/stm32f411-atk-nano/project.ewp b/bsp/stm32/stm32f411-atk-nano/project.ewp
index eb736f7ff9..6ccceff90f 100644
--- a/bsp/stm32/stm32f411-atk-nano/project.ewp
+++ b/bsp/stm32/stm32f411-atk-nano/project.ewp
@@ -215,6 +215,7 @@
@@ -342,19 +343,23 @@
@@ -1245,6 +1250,7 @@
@@ -1372,19 +1378,23 @@
@@ -2061,6 +2071,162 @@
+
+ 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\i2c\i2c_core.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_dev.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c-bit-ops.c
+
+
+ $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\spi\spi_core.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\spi\spi_dev.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\spi\spi_flash_sfud.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\spi\sfud\src\sfud.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\spi\sfud\src\sfud_sfdp.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
+
+
+
+ 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\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_spi.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
@@ -2106,93 +2272,6 @@
$PROJ_DIR$\..\..\..\src\timer.c
-
- Applications
-
- $PROJ_DIR$\applications\main.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
-
-
-
- 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
-
-
-
- finsh
-
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
-
-
libc
@@ -2252,5 +2331,29 @@
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc_ex.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c
+
diff --git a/bsp/stm32/stm32f427-robomaster-a/board/linker_scripts/link.icf b/bsp/stm32/stm32f427-robomaster-a/board/linker_scripts/link.icf
index 03094ef488..fe7f695495 100644
--- a/bsp/stm32/stm32f427-robomaster-a/board/linker_scripts/link.icf
+++ b/bsp/stm32/stm32f427-robomaster-a/board/linker_scripts/link.icf
@@ -18,7 +18,7 @@ define symbol __ICFEDIT_size_heap__ = 0x0000;
define memory mem with size = 4G;
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
-define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
+define region RAM_region = mem:[from __ICFEDIT_region_RAM1_start__ to __ICFEDIT_region_RAM1_end__];
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
diff --git a/bsp/stm32/stm32f429-st-disco/project.ewp b/bsp/stm32/stm32f429-st-disco/project.ewp
index 98701564c3..94928771cc 100644
--- a/bsp/stm32/stm32f429-st-disco/project.ewp
+++ b/bsp/stm32/stm32f429-st-disco/project.ewp
@@ -1,2455 +1,2454 @@
-
- 3
-
- Debug
-
- ARM
-
+ 3
+
+ rt-thread
+
+ ARM
+
+ 1
+
+ General
+ 3
+
+ 29
+ 1
1
-
- General
- 3
-
- 31
- 1
- 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ICCARM
- 2
-
- 35
- 1
- 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AARM
- 2
-
- 10
- 1
- 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- OBJCOPY
- 0
-
- 1
- 1
- 1
-
-
-
-
-
-
-
-
- CUSTOM
- 3
-
-
-
- 0
-
-
-
- BICOMP
- 0
-
-
-
- BUILDACTION
- 1
-
-
-
-
-
-
- ILINK
- 0
-
- 23
- 1
- 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
-
-
-
-
-
-
-
-
-
-
-
-
-
- ICCARM
- 2
-
- 35
- 1
- 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AARM
- 2
-
- 10
- 1
- 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- OBJCOPY
- 0
-
- 1
- 1
- 0
-
-
-
-
-
-
-
-
- CUSTOM
- 3
-
-
-
- 0
-
-
-
- BICOMP
- 0
-
-
-
- BUILDACTION
- 1
-
-
-
-
-
-
- ILINK
- 0
-
- 23
- 1
- 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- IARCHIVE
- 0
-
- 0
- 1
- 0
-
-
-
-
-
-
- BILINK
- 0
-
-
-
-
- Applications
-
- $PROJ_DIR$\applications\lcd_init.c
-
-
- $PROJ_DIR$\applications\main.c
-
-
-
- cpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
-
-
-
- DeviceDrivers
-
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c-bit-ops.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_core.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_dev.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.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\serial\serial.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- $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\board.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s
-
-
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
-
-
- Filesystem
-
- $PROJ_DIR$\..\..\..\components\dfs\filesystems\devfs\devfs.c
-
-
- $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
-
-
-
- finsh
-
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\finsh_compiler.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\finsh_error.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\finsh_heap.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\finsh_init.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\finsh_node.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\finsh_ops.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\finsh_parser.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\finsh_token.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\finsh_var.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\finsh_vm.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\msh_file.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\shell.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
-
-
-
- STM32_HAL
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ICCARM
+ 2
+
+ 34
+ 1
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AARM
+ 2
+
+ 10
+ 1
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OBJCOPY
+ 0
+
+ 1
+ 1
+ 0
+
+
+
+
+
+
+
+
+ CUSTOM
+ 3
+
+
+
+ 0
+
+
+
+ BICOMP
+ 0
+
+
+
+ BUILDACTION
+ 1
+
+
+
+
+
+
+ ILINK
+ 0
+
+ 20
+ 1
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IARCHIVE
+ 0
+
+ 0
+ 1
+ 0
+
+
+
+
+
+
+ BILINK
+ 0
+
+
+
+
+ Applications
+
+ $PROJ_DIR$\applications\main.c
+
+
+ $PROJ_DIR$\applications\lcd_init.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\i2c\i2c_core.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_dev.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c-bit-ops.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\spi\spi_core.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\spi\spi_dev.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
+
+
+
+ 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\board.c
+
+
+ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
+ $PROJ_DIR$\board\ports\ili9341.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_spi.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
+
+
+
+ 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
+
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh_file.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
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\unistd.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\signal\posix_signal.c
+
+
+
+ pthreads
+
+ $PROJ_DIR$\..\..\..\components\libc\pthreads\mqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\pthreads\pthread.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\pthreads\pthread_attr.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\pthreads\pthread_barrier.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\pthreads\pthread_cond.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\pthreads\pthread_mutex.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\pthreads\pthread_rwlock.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\pthreads\pthread_spin.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\pthreads\pthread_tls.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\pthreads\sched.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\pthreads\semaphore.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\time\clock_time.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\time\posix_sleep.c
+
+
+
+ STM32_HAL
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fmc.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fsmc.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sdram.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc_ex.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma2d.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_dma2d.c
+
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dsi.c
+
+
diff --git a/bsp/stm32/stm32f429-st-disco/template.ewp b/bsp/stm32/stm32f429-st-disco/template.ewp
index 697f6d71f3..aa9a55e898 100644
--- a/bsp/stm32/stm32f429-st-disco/template.ewp
+++ b/bsp/stm32/stm32f429-st-disco/template.ewp
@@ -1,1819 +1,2032 @@
-
-
+
- 2
-
- Debug
-
- ARM
-
- 1
-
- General
- 3
-
- 21
- 1
+ 3
+
+ rt-thread
+
+ ARM
+
1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ICCARM
- 2
-
- 28
- 1
- 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ICCARM
+ 2
+
+ 34
+ 1
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AARM
+ 2
+
+ 10
+ 1
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OBJCOPY
+ 0
+
+ 1
+ 1
+ 0
+
+
+
+
+
+
+
+
+ CUSTOM
+ 3
+
+
+
+ 0
+
+
+
+ BICOMP
+ 0
+
+
+
+ BUILDACTION
+ 1
+
+
+
+
+
+
+ ILINK
+ 0
+
+ 20
+ 1
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IARCHIVE
+ 0
+
+ 0
+ 1
+ 0
+
+
+
+
+
+
+ BILINK
+ 0
+
+
+
-
-
diff --git a/bsp/stm32/stm32f429-st-disco/template.eww b/bsp/stm32/stm32f429-st-disco/template.eww
new file mode 100644
index 0000000000..bd036bb4c9
--- /dev/null
+++ b/bsp/stm32/stm32f429-st-disco/template.eww
@@ -0,0 +1,10 @@
+
+
+
+
+ $WS_DIR$\template.ewp
+
+
+
+
+
diff --git a/bsp/stm32/stm32f469-st-disco/project.ewp b/bsp/stm32/stm32f469-st-disco/project.ewp
index 71a6331118..1a249d6915 100644
--- a/bsp/stm32/stm32f469-st-disco/project.ewp
+++ b/bsp/stm32/stm32f469-st-disco/project.ewp
@@ -215,10 +215,9 @@