From 5f2f862ed9f315c63f4fee9a491f55fe40292adc Mon Sep 17 00:00:00 2001
From: Meco Man <920369182@qq.com>
Date: Thu, 18 Nov 2021 11:40:38 -0500
Subject: [PATCH] [stm32f469] update project
---
bsp/stm32/stm32f469-st-disco/.config | 43 +--
bsp/stm32/stm32f469-st-disco/project.ewp | 276 +++++------------
bsp/stm32/stm32f469-st-disco/project.uvprojx | 293 ++++++-------------
bsp/stm32/stm32f469-st-disco/rtconfig.h | 28 --
4 files changed, 161 insertions(+), 479 deletions(-)
diff --git a/bsp/stm32/stm32f469-st-disco/.config b/bsp/stm32/stm32f469-st-disco/.config
index e29ef04a16..135645a1bc 100644
--- a/bsp/stm32/stm32f469-st-disco/.config
+++ b/bsp/stm32/stm32f469-st-disco/.config
@@ -121,38 +121,7 @@ CONFIG_FINSH_ARG_MAX=10
#
# Device virtual file system
#
-CONFIG_RT_USING_DFS=y
-CONFIG_DFS_USING_WORKDIR=y
-CONFIG_DFS_FILESYSTEMS_MAX=2
-CONFIG_DFS_FILESYSTEM_TYPES_MAX=2
-CONFIG_DFS_FD_MAX=16
-# CONFIG_RT_USING_DFS_MNTTABLE is not set
-CONFIG_RT_USING_DFS_ELMFAT=y
-
-#
-# elm-chan's FatFs, Generic FAT Filesystem Module
-#
-CONFIG_RT_DFS_ELM_CODE_PAGE=437
-CONFIG_RT_DFS_ELM_WORD_ACCESS=y
-# CONFIG_RT_DFS_ELM_USE_LFN_0 is not set
-# CONFIG_RT_DFS_ELM_USE_LFN_1 is not set
-# CONFIG_RT_DFS_ELM_USE_LFN_2 is not set
-CONFIG_RT_DFS_ELM_USE_LFN_3=y
-CONFIG_RT_DFS_ELM_USE_LFN=3
-CONFIG_RT_DFS_ELM_LFN_UNICODE_0=y
-# CONFIG_RT_DFS_ELM_LFN_UNICODE_1 is not set
-# CONFIG_RT_DFS_ELM_LFN_UNICODE_2 is not set
-# CONFIG_RT_DFS_ELM_LFN_UNICODE_3 is not set
-CONFIG_RT_DFS_ELM_LFN_UNICODE=0
-CONFIG_RT_DFS_ELM_MAX_LFN=255
-CONFIG_RT_DFS_ELM_DRIVES=2
-CONFIG_RT_DFS_ELM_MAX_SECTOR_SIZE=512
-# CONFIG_RT_DFS_ELM_USE_ERASE is not set
-CONFIG_RT_DFS_ELM_REENTRANT=y
-CONFIG_RT_DFS_ELM_MUTEX_TIMEOUT=3000
-CONFIG_RT_USING_DFS_DEVFS=y
-# CONFIG_RT_USING_DFS_ROMFS is not set
-# CONFIG_RT_USING_DFS_RAMFS is not set
+# CONFIG_RT_USING_DFS is not set
#
# Device Drivers
@@ -174,17 +143,11 @@ CONFIG_RT_USING_PIN=y
# CONFIG_RT_USING_ADC is not set
# CONFIG_RT_USING_DAC is not set
# CONFIG_RT_USING_PWM is not set
-CONFIG_RT_USING_MTD_NOR=y
+# CONFIG_RT_USING_MTD_NOR is not set
# CONFIG_RT_USING_MTD_NAND is not set
# CONFIG_RT_USING_PM is not set
# CONFIG_RT_USING_RTC is not set
-CONFIG_RT_USING_SDIO=y
-CONFIG_RT_SDIO_STACK_SIZE=512
-CONFIG_RT_SDIO_THREAD_PRIORITY=15
-CONFIG_RT_MMCSD_STACK_SIZE=1024
-CONFIG_RT_MMCSD_THREAD_PREORITY=22
-CONFIG_RT_MMCSD_MAX_PARTITION=16
-# CONFIG_RT_SDIO_DEBUG is not set
+# CONFIG_RT_USING_SDIO is not set
# CONFIG_RT_USING_SPI is not set
# CONFIG_RT_USING_WDT is not set
# CONFIG_RT_USING_AUDIO is not set
diff --git a/bsp/stm32/stm32f469-st-disco/project.ewp b/bsp/stm32/stm32f469-st-disco/project.ewp
index 1a249d6915..3e484e8c68 100644
--- a/bsp/stm32/stm32f469-st-disco/project.ewp
+++ b/bsp/stm32/stm32f469-st-disco/project.ewp
@@ -215,9 +215,8 @@
CCDefines
- RT_USING_DLIBC
- _DLIB_FILE_DESCRIPTOR
STM32F469xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -344,21 +343,19 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\dfs\filesystems\devfs
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\nogcc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Include
$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$\..\..\..\components\libc\compilers\common
+ $PROJ_DIR$\..\..\..\examples\utest\testcases\kernel
$PROJ_DIR$\.
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat
+ $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
@@ -1252,9 +1249,8 @@
CCDefines
- RT_USING_DLIBC
- _DLIB_FILE_DESCRIPTOR
STM32F469xx
+ __RTTHREAD__
USE_HAL_DRIVER
@@ -1381,21 +1377,19 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\dfs\filesystems\devfs
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\nogcc
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Include
$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$\..\..\..\components\libc\compilers\common
+ $PROJ_DIR$\..\..\..\examples\utest\testcases\kernel
$PROJ_DIR$\.
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\HAL_Drivers\config
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat
+ $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
@@ -2078,22 +2072,22 @@
Applications
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\applications\lcd_init.c
- $PROJ_DIR$\applications\lcd_init.c
+ $PROJ_DIR$\applications\main.c
- cpu
+ 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\common\showmem.c
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
@@ -2107,92 +2101,38 @@
$PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
-
- $PROJ_DIR$\..\..\..\components\drivers\mtd\mtd_nor.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\sdio\block_dev.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\sdio\mmcsd_core.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\sdio\sd.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\sdio\sdio.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\sdio\mmc.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\completion.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
$PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
+
+ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.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\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+ $PROJ_DIR$\board\board.c
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f469xx.s
@@ -2208,126 +2148,57 @@
- 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
-
-
- $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\dfs_elm.c
-
-
- $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\ff.c
-
-
- $PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\option\ccsbcs.c
-
-
-
- finsh
+ 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
-
-
- $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_var.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\finsh_vm.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\finsh_token.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
Kernel
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
+ $PROJ_DIR$\..\..\..\src\irq.c
$PROJ_DIR$\..\..\..\src\device.c
- $PROJ_DIR$\..\..\..\src\idle.c
+ $PROJ_DIR$\..\..\..\src\memheap.c
$PROJ_DIR$\..\..\..\src\ipc.c
- $PROJ_DIR$\..\..\..\src\irq.c
+ $PROJ_DIR$\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\memheap.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
+ $PROJ_DIR$\..\..\..\src\idle.c
$PROJ_DIR$\..\..\..\src\object.c
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
+ $PROJ_DIR$\..\..\..\src\timer.c
$PROJ_DIR$\..\..\..\src\thread.c
- $PROJ_DIR$\..\..\..\src\timer.c
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
@@ -2335,36 +2206,39 @@
$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\unistd.c
-
- STM32_HAL
+ Libraries
- $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_uart.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_pwr_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_dma.c
+
+ $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.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_usart.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_rcc.c
+
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
@@ -2372,34 +2246,22 @@
$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\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.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_crc.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_cortex.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_cryp.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_ll_sdmmc.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sd.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
-
+
+
+ utestcases
diff --git a/bsp/stm32/stm32f469-st-disco/project.uvprojx b/bsp/stm32/stm32f469-st-disco/project.uvprojx
index b3619ee515..19895be4be 100644
--- a/bsp/stm32/stm32f469-st-disco/project.uvprojx
+++ b/bsp/stm32/stm32f469-st-disco/project.uvprojx
@@ -335,7 +335,7 @@
USE_HAL_DRIVER, STM32F469xx, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
- 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\common;..\..\..\components\libc\compilers\common\nogcc;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include;..\..\..\examples\utest\testcases\kernel
+ 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;..\..\..\components\libc\compilers\common\nogcc;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include;..\..\..\examples\utest\testcases\kernel
@@ -404,16 +404,16 @@
- div0.c
+ showmem.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
+ div0.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\libcpu\arm\common\div0.c
@@ -440,48 +440,6 @@
..\..\..\components\drivers\misc\pin.c
-
-
- mtd_nor.c
- 1
- ..\..\..\components\drivers\mtd\mtd_nor.c
-
-
-
-
- mmc.c
- 1
- ..\..\..\components\drivers\sdio\mmc.c
-
-
-
-
- sd.c
- 1
- ..\..\..\components\drivers\sdio\sd.c
-
-
-
-
- block_dev.c
- 1
- ..\..\..\components\drivers\sdio\block_dev.c
-
-
-
-
- sdio.c
- 1
- ..\..\..\components\drivers\sdio\sdio.c
-
-
-
-
- mmcsd_core.c
- 1
- ..\..\..\components\drivers\sdio\mmcsd_core.c
-
-
serial.c
@@ -489,6 +447,13 @@
..\..\..\components\drivers\serial\serial.c
+
+
+ waitqueue.c
+ 1
+ ..\..\..\components\drivers\src\waitqueue.c
+
+
pipe.c
@@ -503,6 +468,13 @@
..\..\..\components\drivers\src\workqueue.c
+
+
+ ringblk_buf.c
+ 1
+ ..\..\..\components\drivers\src\ringblk_buf.c
+
+
completion.c
@@ -524,20 +496,6 @@
..\..\..\components\drivers\src\dataqueue.c
-
-
- ringblk_buf.c
- 1
- ..\..\..\components\drivers\src\ringblk_buf.c
-
-
-
-
- waitqueue.c
- 1
- ..\..\..\components\drivers\src\waitqueue.c
-
-
Drivers
@@ -584,58 +542,6 @@
-
- Filesystem
-
-
- dfs_fs.c
- 1
- ..\..\..\components\dfs\src\dfs_fs.c
-
-
-
-
- dfs.c
- 1
- ..\..\..\components\dfs\src\dfs.c
-
-
-
-
- dfs_file.c
- 1
- ..\..\..\components\dfs\src\dfs_file.c
-
-
-
-
- devfs.c
- 1
- ..\..\..\components\dfs\filesystems\devfs\devfs.c
-
-
-
-
- ff.c
- 1
- ..\..\..\components\dfs\filesystems\elmfat\ff.c
-
-
-
-
- dfs_elm.c
- 1
- ..\..\..\components\dfs\filesystems\elmfat\dfs_elm.c
-
-
-
-
- ffunicode.c
- 1
- ..\..\..\components\dfs\filesystems\elmfat\ffunicode.c
-
-
-
Finsh
@@ -662,76 +568,6 @@
Kernel
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
-
- mempool.c
- 1
- ..\..\..\src\mempool.c
-
-
-
-
- components.c
- 1
- ..\..\..\src\components.c
-
-
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
-
-
- irq.c
- 1
- ..\..\..\src\irq.c
-
-
-
-
- memheap.c
- 1
- ..\..\..\src\memheap.c
-
-
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
-
-
- idle.c
- 1
- ..\..\..\src\idle.c
-
-
-
-
- device.c
- 1
- ..\..\..\src\device.c
-
-
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
object.c
@@ -746,6 +582,62 @@
..\..\..\src\kservice.c
+
+
+ clock.c
+ 1
+ ..\..\..\src\clock.c
+
+
+
+
+ memheap.c
+ 1
+ ..\..\..\src\memheap.c
+
+
+
+
+ mempool.c
+ 1
+ ..\..\..\src\mempool.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\..\src\timer.c
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\..\src\scheduler.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\..\src\thread.c
+
+
+
+
+ components.c
+ 1
+ ..\..\..\src\components.c
+
+
+
+
+ device.c
+ 1
+ ..\..\..\src\device.c
+
+
ipc.c
@@ -753,6 +645,20 @@
..\..\..\src\ipc.c
+
+
+ irq.c
+ 1
+ ..\..\..\src\irq.c
+
+
+
+
+ idle.c
+ 1
+ ..\..\..\src\idle.c
+
+
libc
@@ -808,13 +714,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
-
-
- stm32f4xx_hal_sd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sd.c
-
-
stm32f4xx_hal_rcc_ex.c
@@ -843,13 +742,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
-
-
- stm32f4xx_ll_sdmmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_sdmmc.c
-
-
stm32f4xx_hal_dma_ex.c
@@ -885,13 +777,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
-
-
- stm32f4xx_hal_nor.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
-
-
stm32f4xx_hal_cryp.c
diff --git a/bsp/stm32/stm32f469-st-disco/rtconfig.h b/bsp/stm32/stm32f469-st-disco/rtconfig.h
index 82fa61a18f..a008d32aec 100644
--- a/bsp/stm32/stm32f469-st-disco/rtconfig.h
+++ b/bsp/stm32/stm32f469-st-disco/rtconfig.h
@@ -81,27 +81,6 @@
/* Device virtual file system */
-#define RT_USING_DFS
-#define DFS_USING_WORKDIR
-#define DFS_FILESYSTEMS_MAX 2
-#define DFS_FILESYSTEM_TYPES_MAX 2
-#define DFS_FD_MAX 16
-#define RT_USING_DFS_ELMFAT
-
-/* elm-chan's FatFs, Generic FAT Filesystem Module */
-
-#define RT_DFS_ELM_CODE_PAGE 437
-#define RT_DFS_ELM_WORD_ACCESS
-#define RT_DFS_ELM_USE_LFN_3
-#define RT_DFS_ELM_USE_LFN 3
-#define RT_DFS_ELM_LFN_UNICODE_0
-#define RT_DFS_ELM_LFN_UNICODE 0
-#define RT_DFS_ELM_MAX_LFN 255
-#define RT_DFS_ELM_DRIVES 2
-#define RT_DFS_ELM_MAX_SECTOR_SIZE 512
-#define RT_DFS_ELM_REENTRANT
-#define RT_DFS_ELM_MUTEX_TIMEOUT 3000
-#define RT_USING_DFS_DEVFS
/* Device Drivers */
@@ -112,13 +91,6 @@
#define RT_SERIAL_USING_DMA
#define RT_SERIAL_RB_BUFSZ 64
#define RT_USING_PIN
-#define RT_USING_MTD_NOR
-#define RT_USING_SDIO
-#define RT_SDIO_STACK_SIZE 512
-#define RT_SDIO_THREAD_PRIORITY 15
-#define RT_MMCSD_STACK_SIZE 1024
-#define RT_MMCSD_THREAD_PREORITY 22
-#define RT_MMCSD_MAX_PARTITION 16
/* Using USB */