diff --git a/bsp/stm32/stm32f103-atk-nano/README.md b/bsp/stm32/stm32f103-atk-nano/README.md
index bc7641b6fcd452e11b9ee4ca93d6530fdae9868a..031fe5dcd1b039dd913d4152238697745d58d516 100644
--- a/bsp/stm32/stm32f103-atk-nano/README.md
+++ b/bsp/stm32/stm32f103-atk-nano/README.md
@@ -49,6 +49,7 @@ ATK-NANO STM32F103 是正点原子推出的一款基于 ARM Cortex-M3 内核的
| RTC | 支持 | |
| WDT | 支持 | |
| ADC | 支持 | |
+| FLASH | 支持 | 已适配 [FAL](https://github.com/RT-Thread-packages/fal) |
| **扩展模块** | **支持情况** | **备注** |
| DS18B20/DHT11 | 暂不支持 | |
diff --git a/bsp/stm32/stm32f103-fire-arbitrary/README.md b/bsp/stm32/stm32f103-fire-arbitrary/README.md
index d0b0c1d742ee6ab045f4b2fcb4ec3b4640ecb4d5..dfd7e0364728ab9f14ff9fe84cae2a64bd83f338 100644
--- a/bsp/stm32/stm32f103-fire-arbitrary/README.md
+++ b/bsp/stm32/stm32f103-fire-arbitrary/README.md
@@ -56,6 +56,7 @@
| ADC | 支持 | |
| RTC | 支持 | |
| WDT | 支持 | |
+| FLASH | 支持 | 已适配 [FAL](https://github.com/RT-Thread-packages/fal) |
| SDIO | 暂不支持 | 即将支持 |
| PWM | 暂不支持 | 即将支持 |
| USB Device | 暂不支持 | 即将支持 |
diff --git a/bsp/stm32/stm32f407-atk-explorer/.config b/bsp/stm32/stm32f407-atk-explorer/.config
index 61a4925f0e2e26f266c576e19f3166eef19daad5..4f44d6b3afdf668785199b394c6c6dd7f1c6546c 100644
--- a/bsp/stm32/stm32f407-atk-explorer/.config
+++ b/bsp/stm32/stm32f407-atk-explorer/.config
@@ -123,18 +123,7 @@ CONFIG_RT_USING_PIN=y
# CONFIG_RT_USING_PM is not set
# CONFIG_RT_USING_RTC is not set
# CONFIG_RT_USING_SDIO is not set
-CONFIG_RT_USING_SPI=y
-# CONFIG_RT_USING_QSPI is not set
-# CONFIG_RT_USING_SPI_MSD is not set
-CONFIG_RT_USING_SFUD=y
-CONFIG_RT_SFUD_USING_SFDP=y
-CONFIG_RT_SFUD_USING_FLASH_INFO_TABLE=y
-# CONFIG_RT_SFUD_USING_QSPI is not set
-# CONFIG_RT_DEBUG_SFUD is not set
-# CONFIG_RT_USING_W25QXX is not set
-# CONFIG_RT_USING_GD is not set
-# CONFIG_RT_USING_ENC28J60 is not set
-# CONFIG_RT_USING_SPI_WIFI is not set
+# CONFIG_RT_USING_SPI is not set
# CONFIG_RT_USING_WDT is not set
# CONFIG_RT_USING_AUDIO is not set
@@ -152,7 +141,7 @@ CONFIG_RT_SFUD_USING_FLASH_INFO_TABLE=y
#
# POSIX layer and C standard library
#
-CONFIG_RT_USING_LIBC=y
+# CONFIG_RT_USING_LIBC is not set
# CONFIG_RT_USING_PTHREADS is not set
#
@@ -283,15 +272,7 @@ CONFIG_RT_USING_LIBC=y
# CONFIG_PKG_USING_PIXMAN is not set
# CONFIG_PKG_USING_LWEXT4 is not set
# CONFIG_PKG_USING_PARTITION is not set
-CONFIG_PKG_USING_FAL=y
-CONFIG_PKG_FAL_PATH="/packages/system/fal"
-CONFIG_FAL_DEBUG_CONFIG=y
-CONFIG_FAL_DEBUG=1
-CONFIG_FAL_PART_HAS_TABLE_CFG=y
-CONFIG_PKG_USING_FAL_LATEST_VERSION=y
-# CONFIG_PKG_USING_FAL_V00200 is not set
-# CONFIG_PKG_USING_FAL_V00100 is not set
-CONFIG_PKG_FAL_VER="latest"
+# CONFIG_PKG_USING_FAL is not set
# CONFIG_PKG_USING_SQLITE is not set
# CONFIG_PKG_USING_RTI is not set
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
@@ -355,7 +336,7 @@ CONFIG_SOC_STM32F407ZG=y
# Onboard Peripheral Drivers
#
CONFIG_BSP_USING_USB_TO_USART=y
-CONFIG_BSP_USING_SPI_FLASH=y
+# CONFIG_BSP_USING_SPI_FLASH is not set
# CONFIG_BSP_USING_COM3 is not set
# CONFIG_BSP_USING_EEPROM is not set
# CONFIG_BSP_USING_ETH is not set
@@ -369,14 +350,12 @@ CONFIG_BSP_USING_UART1=y
# CONFIG_BSP_USING_UART2 is not set
# CONFIG_BSP_USING_UART3 is not set
# CONFIG_BSP_USING_UART6 is not set
-CONFIG_BSP_USING_ON_CHIP_FLASH=y
# CONFIG_BSP_UART_USING_DMA_RX is not set
-CONFIG_BSP_USING_SPI1=y
+# CONFIG_BSP_USING_SPI1 is not set
# CONFIG_BSP_USING_SPI2 is not set
# CONFIG_BSP_USING_SPI3 is not set
-CONFIG_BSP_SPI_USING_DMA=y
+# CONFIG_BSP_SPI_USING_DMA is not set
# CONFIG_BSP_USING_I2C1 is not set
-# CONFIG_BSP_USING_ONCHIP_RTC is not set
#
# Board extended module Drivers
diff --git a/bsp/stm32/stm32f407-atk-explorer/README.md b/bsp/stm32/stm32f407-atk-explorer/README.md
index 4a5e5afddd42b0988c172e17b5b2578e25647f26..232ed3a5063d41c806dc544de76e0208fc4396d0 100644
--- a/bsp/stm32/stm32f407-atk-explorer/README.md
+++ b/bsp/stm32/stm32f407-atk-explorer/README.md
@@ -52,6 +52,7 @@
| ADC | 支持 | |
| RTC | 支持 | |
| WDT | 支持 | |
+| FLASH | 支持 | 已适配 [FAL](https://github.com/RT-Thread-packages/fal) |
| PWM | 暂不支持 | 即将支持 |
| USB Device | 暂不支持 | 即将支持 |
| USB Host | 暂不支持 | 即将支持 |
diff --git a/bsp/stm32/stm32f407-atk-explorer/project.uvoptx b/bsp/stm32/stm32f407-atk-explorer/project.uvoptx
index 280164a1a65f2e431213938015266959b860b959..09dec0af9f8009ea7f9b5b993bd5f313ab86f120 100644
--- a/bsp/stm32/stm32f407-atk-explorer/project.uvoptx
+++ b/bsp/stm32/stm32f407-atk-explorer/project.uvoptx
@@ -73,7 +73,7 @@
0
- 1
+ 0
0
1
@@ -181,1575 +181,11 @@
- Applications
+ Source Group 1
0
0
0
0
-
- 1
- 1
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 1
- 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\stm32f4xx_hal_msp.c
- stm32f4xx_hal_msp.c
- 0
- 0
-
-
- 2
- 4
- 1
- 0
- 0
- 0
- board\ports\spi_flash_init.c
- spi_flash_init.c
- 0
- 0
-
-
- 2
- 5
- 2
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
- startup_stm32f407xx.s
- 0
- 0
-
-
- 2
- 6
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 2
- 7
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 2
- 8
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_spi.c
- drv_spi.c
- 0
- 0
-
-
- 2
- 9
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_flash\drv_flash_f4.c
- drv_flash_f4.c
- 0
- 0
-
-
- 2
- 10
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- fal
- 0
- 0
- 0
- 0
-
- 3
- 11
- 1
- 0
- 0
- 0
- packages\fal-latest\src\fal.c
- fal.c
- 0
- 0
-
-
- 3
- 12
- 1
- 0
- 0
- 0
- packages\fal-latest\src\fal_flash.c
- fal_flash.c
- 0
- 0
-
-
- 3
- 13
- 1
- 0
- 0
- 0
- packages\fal-latest\src\fal_partition.c
- fal_partition.c
- 0
- 0
-
-
- 3
- 14
- 1
- 0
- 0
- 0
- packages\fal-latest\src\fal_rtt.c
- fal_rtt.c
- 0
- 0
-
-
-
-
- Kernel
- 0
- 0
- 0
- 0
-
- 4
- 15
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 4
- 16
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 4
- 17
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 4
- 18
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 4
- 19
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 4
- 20
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 4
- 21
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 4
- 22
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 4
- 27
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 4
- 28
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- CORTEX-M4
- 0
- 0
- 0
- 0
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 5
- 30
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 6
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 6
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 6
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\spi\spi_core.c
- spi_core.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\spi\spi_dev.c
- spi_dev.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\spi\spi_flash_sfud.c
- spi_flash_sfud.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\spi\sfud\src\sfud.c
- sfud.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\spi\sfud\src\sfud_sfdp.c
- sfud_sfdp.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 6
- 43
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 6
- 44
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 6
- 45
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 6
- 46
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 6
- 47
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 7
- 48
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\symbol.c
- symbol.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_cmd.c
- msh_cmd.c
- 0
- 0
-
-
- 7
- 53
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_file.c
- msh_file.c
- 0
- 0
-
-
-
-
- libc
- 0
- 0
- 0
- 0
-
- 8
- 54
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\libc.c
- libc.c
- 0
- 0
-
-
- 8
- 55
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\mem_std.c
- mem_std.c
- 0
- 0
-
-
- 8
- 56
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\stubs.c
- stubs.c
- 0
- 0
-
-
- 8
- 57
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\time.c
- time.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 9
- 58
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- system_stm32f4xx.c
- 0
- 0
-
-
- 9
- 59
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal.c
- 0
- 0
-
-
- 9
- 60
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c
- stm32f4xx_hal_adc.c
- 0
- 0
-
-
- 9
- 61
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c
- stm32f4xx_hal_adc_ex.c
- 0
- 0
-
-
- 9
- 62
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c
- stm32f4xx_hal_can.c
- 0
- 0
-
-
- 9
- 63
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_cec.c
- 0
- 0
-
-
- 9
- 64
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_cortex.c
- 0
- 0
-
-
- 9
- 65
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_crc.c
- 0
- 0
-
-
- 9
- 66
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_cryp.c
- 0
- 0
-
-
- 9
- 67
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_cryp_ex.c
- 0
- 0
-
-
- 9
- 68
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac.c
- stm32f4xx_hal_dac.c
- 0
- 0
-
-
- 9
- 69
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac_ex.c
- stm32f4xx_hal_dac_ex.c
- 0
- 0
-
-
- 9
- 70
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi.c
- stm32f4xx_hal_dcmi.c
- 0
- 0
-
-
- 9
- 71
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi_ex.c
- stm32f4xx_hal_dcmi_ex.c
- 0
- 0
-
-
- 9
- 72
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dfsdm.c
- stm32f4xx_hal_dfsdm.c
- 0
- 0
-
-
- 9
- 73
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_dma.c
- 0
- 0
-
-
- 9
- 74
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma2d.c
- stm32f4xx_hal_dma2d.c
- 0
- 0
-
-
- 9
- 75
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
- stm32f4xx_hal_dma_ex.c
- 0
- 0
-
-
- 9
- 76
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dsi.c
- stm32f4xx_hal_dsi.c
- 0
- 0
-
-
- 9
- 77
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_eth.c
- stm32f4xx_hal_eth.c
- 0
- 0
-
-
- 9
- 78
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
- stm32f4xx_hal_flash.c
- 0
- 0
-
-
- 9
- 79
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
- stm32f4xx_hal_flash_ex.c
- 0
- 0
-
-
- 9
- 80
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
- stm32f4xx_hal_flash_ramfunc.c
- 0
- 0
-
-
- 9
- 81
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
- stm32f4xx_hal_fmpi2c.c
- 0
- 0
-
-
- 9
- 82
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
- stm32f4xx_hal_fmpi2c_ex.c
- 0
- 0
-
-
- 9
- 83
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
- stm32f4xx_hal_gpio.c
- 0
- 0
-
-
- 9
- 84
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
- stm32f4xx_hal_hash.c
- 0
- 0
-
-
- 9
- 85
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
- stm32f4xx_hal_hash_ex.c
- 0
- 0
-
-
- 9
- 86
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.c
- stm32f4xx_hal_hcd.c
- 0
- 0
-
-
- 9
- 87
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
- stm32f4xx_hal_i2c.c
- 0
- 0
-
-
- 9
- 88
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
- stm32f4xx_hal_i2c_ex.c
- 0
- 0
-
-
- 9
- 89
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
- stm32f4xx_hal_i2s.c
- 0
- 0
-
-
- 9
- 90
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
- stm32f4xx_hal_i2s_ex.c
- 0
- 0
-
-
- 9
- 91
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
- stm32f4xx_hal_irda.c
- 0
- 0
-
-
- 9
- 92
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
- stm32f4xx_hal_iwdg.c
- 0
- 0
-
-
- 9
- 93
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.c
- stm32f4xx_hal_lptim.c
- 0
- 0
-
-
- 9
- 94
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc.c
- stm32f4xx_hal_ltdc.c
- 0
- 0
-
-
- 9
- 95
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc_ex.c
- stm32f4xx_hal_ltdc_ex.c
- 0
- 0
-
-
- 9
- 96
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
- stm32f4xx_hal_nand.c
- 0
- 0
-
-
- 9
- 97
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
- stm32f4xx_hal_nor.c
- 0
- 0
-
-
- 9
- 98
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
- stm32f4xx_hal_pccard.c
- 0
- 0
-
-
- 9
- 99
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
- stm32f4xx_hal_pcd.c
- 0
- 0
-
-
- 9
- 100
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
- stm32f4xx_hal_pcd_ex.c
- 0
- 0
-
-
- 9
- 101
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
- stm32f4xx_hal_pwr.c
- 0
- 0
-
-
- 9
- 102
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
- stm32f4xx_hal_pwr_ex.c
- 0
- 0
-
-
- 9
- 103
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
- stm32f4xx_hal_qspi.c
- 0
- 0
-
-
- 9
- 104
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
- stm32f4xx_hal_rcc.c
- 0
- 0
-
-
- 9
- 105
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
- stm32f4xx_hal_rcc_ex.c
- 0
- 0
-
-
- 9
- 106
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
- stm32f4xx_hal_rng.c
- 0
- 0
-
-
- 9
- 107
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc.c
- stm32f4xx_hal_rtc.c
- 0
- 0
-
-
- 9
- 108
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc_ex.c
- stm32f4xx_hal_rtc_ex.c
- 0
- 0
-
-
- 9
- 109
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai.c
- stm32f4xx_hal_sai.c
- 0
- 0
-
-
- 9
- 110
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai_ex.c
- stm32f4xx_hal_sai_ex.c
- 0
- 0
-
-
- 9
- 111
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sd.c
- stm32f4xx_hal_sd.c
- 0
- 0
-
-
- 9
- 112
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sdram.c
- stm32f4xx_hal_sdram.c
- 0
- 0
-
-
- 9
- 113
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_smartcard.c
- stm32f4xx_hal_smartcard.c
- 0
- 0
-
-
- 9
- 114
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spdifrx.c
- stm32f4xx_hal_spdifrx.c
- 0
- 0
-
-
- 9
- 115
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c
- stm32f4xx_hal_spi.c
- 0
- 0
-
-
- 9
- 116
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
- stm32f4xx_hal_sram.c
- 0
- 0
-
-
- 9
- 117
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c
- stm32f4xx_hal_tim.c
- 0
- 0
-
-
- 9
- 118
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c
- stm32f4xx_hal_tim_ex.c
- 0
- 0
-
-
- 9
- 119
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
- stm32f4xx_hal_uart.c
- 0
- 0
-
-
- 9
- 120
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
- stm32f4xx_hal_usart.c
- 0
- 0
-
-
- 9
- 121
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c
- stm32f4xx_hal_wwdg.c
- 0
- 0
-
-
- 9
- 122
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fmc.c
- stm32f4xx_ll_fmc.c
- 0
- 0
-
-
- 9
- 123
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fsmc.c
- stm32f4xx_ll_fsmc.c
- 0
- 0
-
-
- 9
- 124
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_sdmmc.c
- stm32f4xx_ll_sdmmc.c
- 0
- 0
-
-
- 9
- 125
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usb.c
- stm32f4xx_ll_usb.c
- 0
- 0
-
diff --git a/bsp/stm32/stm32f407-atk-explorer/project.uvprojx b/bsp/stm32/stm32f407-atk-explorer/project.uvprojx
index 83fd862c24156804343e2dd9e9828904041b76ab..88c46860e7bdd719a42551186ac488af83952541 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.13.0
+ 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
@@ -307,7 +304,7 @@
0x10000
-
+
1
@@ -334,10 +331,10 @@
0
0
-
- USE_HAL_DRIVER, STM32F407xx, RT_USING_ARM_LIBC
-
- applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\libraries\HAL_Drivers\drv_flash;packages\fal-latest\inc;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\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\armlibc;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
+
+ 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
@@ -352,10 +349,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -367,13 +364,13 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
+
+
--keep *.o(.rti_fn.*) --keep *.o(FSymTab)
-
-
+
+
@@ -396,41 +393,36 @@
1
board\board.c
+
+
stm32f4xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
-
- spi_flash_init.c
- 1
- board\ports\spi_flash_init.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_spi.c
- 1
- ..\libraries\HAL_Drivers\drv_spi.c
-
-
- drv_flash_f4.c
- 1
- ..\libraries\HAL_Drivers\drv_flash\drv_flash_f4.c
-
+
+
drv_common.c
1
@@ -438,100 +430,6 @@
-
- fal
-
-
- 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
-
- --c99
-
-
-
-
-
-
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
-
-
-
-
-
-
-
-
-
-
-
- fal.c
- 1
- packages\fal-latest\src\fal.c
-
-
- fal_flash.c
- 1
- packages\fal-latest\src\fal_flash.c
-
-
- fal_partition.c
- 1
- packages\fal-latest\src\fal_partition.c
-
-
- fal_rtt.c
- 1
- packages\fal-latest\src\fal_rtt.c
-
-
-
Kernel
@@ -540,66 +438,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
@@ -615,21 +539,29 @@
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
@@ -639,141 +571,63 @@
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
-
- --c99
-
-
-
-
-
-
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
-
-
-
-
-
-
-
-
-
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
@@ -789,55 +643,40 @@
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
- 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
+ msh_file.c
1
- ..\..\..\components\libc\compilers\armlibc\time.c
+ ..\..\..\components\finsh\msh_file.c
@@ -849,336 +688,470 @@
1
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
+
+
stm32f4xx_hal.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
+
+
stm32f4xx_hal_adc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c
+
+
stm32f4xx_hal_adc_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c
+
+
stm32f4xx_hal_can.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c
+
+
stm32f4xx_hal_cec.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
+
+
stm32f4xx_hal_cortex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
+
+
stm32f4xx_hal_crc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
+
+
stm32f4xx_hal_cryp.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
+
+
stm32f4xx_hal_cryp_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
+
+
stm32f4xx_hal_dac.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac.c
+
+
stm32f4xx_hal_dac_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac_ex.c
+
+
stm32f4xx_hal_dcmi.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi.c
+
+
stm32f4xx_hal_dcmi_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi_ex.c
+
+
stm32f4xx_hal_dfsdm.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dfsdm.c
+
+
stm32f4xx_hal_dma.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
+
+
stm32f4xx_hal_dma2d.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma2d.c
+
+
stm32f4xx_hal_dma_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+
+
stm32f4xx_hal_dsi.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dsi.c
+
+
stm32f4xx_hal_eth.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_eth.c
+
+
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
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_qspi.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.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_rtc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc.c
+
+
stm32f4xx_hal_rtc_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc_ex.c
+
+
stm32f4xx_hal_sai.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai.c
+
+
stm32f4xx_hal_sai_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai_ex.c
+
+
stm32f4xx_hal_sd.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sd.c
+
+
stm32f4xx_hal_sdram.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sdram.c
+
+
stm32f4xx_hal_smartcard.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_smartcard.c
+
+
stm32f4xx_hal_spdifrx.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spdifrx.c
+
+
stm32f4xx_hal_spi.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c
+
+
stm32f4xx_hal_sram.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
+
+
stm32f4xx_hal_tim.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c
+
+
stm32f4xx_hal_tim_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.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_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
@@ -1189,11 +1162,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32f407-atk-explorer/rtconfig.h b/bsp/stm32/stm32f407-atk-explorer/rtconfig.h
index ab0aef7a3af673194d63961d320d830c800d9fd8..948a7a65d72185265752f294abd704c9450a82f4 100644
--- a/bsp/stm32/stm32f407-atk-explorer/rtconfig.h
+++ b/bsp/stm32/stm32f407-atk-explorer/rtconfig.h
@@ -77,10 +77,6 @@
#define RT_PIPE_BUFSZ 512
#define RT_USING_SERIAL
#define RT_USING_PIN
-#define RT_USING_SPI
-#define RT_USING_SFUD
-#define RT_SFUD_USING_SFDP
-#define RT_SFUD_USING_FLASH_INFO_TABLE
/* Using WiFi */
@@ -90,7 +86,6 @@
/* POSIX layer and C standard library */
-#define RT_USING_LIBC
/* Network */
@@ -145,11 +140,6 @@
/* system packages */
-#define PKG_USING_FAL
-#define FAL_DEBUG_CONFIG
-#define FAL_DEBUG 1
-#define FAL_PART_HAS_TABLE_CFG
-#define PKG_USING_FAL_LATEST_VERSION
/* peripheral libraries and drivers */
@@ -164,6 +154,9 @@
/* example package: hello */
+
+/* rtpkgs online packages */
+
#define SOC_FAMILY_STM32
#define SOC_SERIES_STM32F4
@@ -174,15 +167,11 @@
/* Onboard Peripheral Drivers */
#define BSP_USING_USB_TO_USART
-#define BSP_USING_SPI_FLASH
/* On-chip Peripheral Drivers */
#define BSP_USING_GPIO
#define BSP_USING_UART1
-#define BSP_USING_ON_CHIP_FLASH
-#define BSP_USING_SPI1
-#define BSP_SPI_USING_DMA
/* Board extended module Drivers */
diff --git a/bsp/stm32/stm32f429-atk-apollo/README.md b/bsp/stm32/stm32f429-atk-apollo/README.md
index 1e9e6c233817053b8b1e73bdbbe57cd422c2a4b8..f3101c4fc24268b7eacc3432518bfe052d79361c 100644
--- a/bsp/stm32/stm32f429-atk-apollo/README.md
+++ b/bsp/stm32/stm32f429-atk-apollo/README.md
@@ -56,6 +56,7 @@
| ADC | 支持 | |
| RTC | 支持 | |
| WDT | 支持 | |
+| FLASH | 支持 | 已适配 [FAL](https://github.com/RT-Thread-packages/fal) |
| SDIO | 暂不支持 | 即将支持 |
| PWM | 暂不支持 | 即将支持 |
| USB Device | 暂不支持 | 即将支持 |
diff --git a/bsp/stm32/stm32f429-fire-challenger/README.md b/bsp/stm32/stm32f429-fire-challenger/README.md
index 197933ddc8fd0a14dbad27b1ec8fc671afdc8ca0..e7593378c984a415a0aa56c80a3abefdbc5a6b23 100644
--- a/bsp/stm32/stm32f429-fire-challenger/README.md
+++ b/bsp/stm32/stm32f429-fire-challenger/README.md
@@ -57,6 +57,7 @@
| ADC | 支持 | |
| RTC | 支持 | |
| WDT | 支持 | |
+| FLASH | 支持 | 已适配 [FAL](https://github.com/RT-Thread-packages/fal) |
| SDIO | 暂不支持 | 即将支持 |
| PWM | 暂不支持 | 即将支持 |
| USB Device | 暂不支持 | 即将支持 |