diff --git a/.travis.yml b/.travis.yml
index 6a383dec8c..b6d91bb0f3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -91,6 +91,7 @@ env:
- RTT_BSP='stm32/stm32f429-armfly-v6' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f429-atk-apollo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f429-fire-challenger' RTT_TOOL_CHAIN='sourcery-arm'
+ - RTT_BSP='stm32/stm32f429-st-disco' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f446-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f469-st-disco' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f746-st-disco' RTT_TOOL_CHAIN='sourcery-arm'
diff --git a/bsp/stm32/README.md b/bsp/stm32/README.md
index 6ba53d75ea..eee322157d 100644
--- a/bsp/stm32/README.md
+++ b/bsp/stm32/README.md
@@ -22,6 +22,7 @@ STM32 系列 BSP 目前支持情况如下表所示:
| [stm32f407-atk-explorer](stm32f407-atk-explorer) | 正点原子 F407 探索者开发板 |
| [stm32f411-st-nucleo](stm32f411-st-nucleo/) | ST 官方 STM32F411-Nucleo-64 开发板 |
| [stm32f427-robomaster-a](stm32f427-robomaster-a/) |大疆公司 RoboMaster A型开发板|
+| [stm32f429-st-disco](stm32f429-st-disco) | ST 官方 STM32F429-discovery 开发板 |
| [stm32f429-atk-apollo](stm32f429-atk-apollo) | 正点原子 F429 阿波罗开发板 |
| [stm32f429-fire-challenger](stm32f429-fire-challenger/) | 野火 F429 挑战者开发板 |
| [stm32f429-armfly-v6](stm32f429-armfly-v6) | 安富莱 F429-v6 开发板 |
@@ -35,6 +36,8 @@ STM32 系列 BSP 目前支持情况如下表所示:
| [stm32f769-st-disco](stm32f769-st-disco) | ST 官方 STM32f769-discovery 开发板 |
| **G0 系列** | |
| [stm32g071-st-nucleo](stm32g071-st-nucleo) | ST 官方 STM32G071-nucleo 开发板 |
+| **G4 系列** | |
+| [stm32g431-st-nucleo](stm32g431-st-nucleo) | ST 官方 STM32G431-nucleo 开发板 |
| **H7 系列** | |
| [stm32h743-atk-apollo](stm32h743-atk-apollo) | 正点原子 h743 阿波罗开发板 |
| [stm32h743-st-nucleo](stm32h743-st-nucleo) | ST 官方 STM32H743-nucleo 开发板 |
diff --git a/bsp/stm32/stm32f429-st-disco/.config b/bsp/stm32/stm32f429-st-disco/.config
index d9757f8902..aa1da65887 100644
--- a/bsp/stm32/stm32f429-st-disco/.config
+++ b/bsp/stm32/stm32f429-st-disco/.config
@@ -393,14 +393,6 @@ CONFIG_SOC_SERIES_STM32F4=y
#
CONFIG_SOC_STM32F429ZI=y
-#
-# Onboard Peripheral Drivers
-#
-# CONFIG_BSP_USING_SDRAM is not set
-# CONFIG_BSP_USING_LCD_MIPI is not set
-# CONFIG_BSP_USING_LCD_OTM8009A is not set
-# CONFIG_BSP_USING_TOUCH is not set
-
#
# On-chip Peripheral Drivers
#
@@ -411,9 +403,7 @@ CONFIG_BSP_USING_UART1=y
# CONFIG_BSP_USING_I2C1 is not set
# CONFIG_BSP_USING_SPI is not set
# CONFIG_BSP_USING_QSPI is not set
-# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
# CONFIG_BSP_USING_FMC is not set
-# CONFIG_BSP_USING_SDIO is not set
# CONFIG_BSP_USING_USBD_FS is not set
# CONFIG_BSP_USING_LTDC is not set
# CONFIG_BSP_USING_RNG is not set
diff --git a/bsp/stm32/stm32f429-st-disco/board/Kconfig b/bsp/stm32/stm32f429-st-disco/board/Kconfig
index 5589f996e3..78788870d9 100644
--- a/bsp/stm32/stm32f429-st-disco/board/Kconfig
+++ b/bsp/stm32/stm32f429-st-disco/board/Kconfig
@@ -7,37 +7,6 @@ config SOC_STM32F429ZI
select RT_USING_USER_MAIN
default y
-menu "Onboard Peripheral Drivers"
- config BSP_USING_SDRAM
- bool "Enable SDRAM"
- select BSP_USING_FMC
- default n
-
- config BSP_USING_LCD_MIPI
- bool
- default n
-
- config BSP_USING_LCD_OTM8009A
- bool "Enable LCD OTM8009A"
- select BSP_USING_SDRAM
- select BSP_USING_LTDC
- select BSP_USING_LCD_MIPI
- default n
-
- config BSP_USING_TOUCH
- bool "Enable TOUCH"
- select BSP_USING_I2C1
- default n
- if BSP_USING_TOUCH
- config BSP_TOUCH_INT_PIN
- int "Touch interrupt pin"
- default 149
- config BSP_I2C_NAME
- string "I2C Bus Name"
- default "i2c1"
- endif
-endmenu
-
menu "On-chip Peripheral Drivers"
config BSP_USING_GPIO
bool "Enable GPIO"
@@ -65,8 +34,7 @@ menu "On-chip Peripheral Drivers"
select RT_USING_I2C_BITOPS
select RT_USING_PIN
default n
- if BSP_USING_I2C1
- comment "Notice: PB8 --> 24; PB9 --> 25"
+ if BSP_USING_I2C1
config BSP_I2C1_SCL_PIN
int "I2C1 scl pin number"
range 1 176
@@ -104,19 +72,9 @@ menu "On-chip Peripheral Drivers"
select RT_USING_SPI
default n
- config BSP_USING_ON_CHIP_FLASH
- bool "Enable on-chip FLASH"
- default n
-
config BSP_USING_FMC
bool "Enable FMC"
default n
-
- config BSP_USING_SDIO
- bool "Enable SDIO"
- select RT_USING_SDIO
- select RT_USING_DFS
- default n
config BSP_USING_USBD_FS
bool "Enable OTGFS as USB device"
diff --git a/bsp/stm32/stm32f429-st-disco/project.uvoptx b/bsp/stm32/stm32f429-st-disco/project.uvoptx
index d9992dd6cd..facf69ddd6 100644
--- a/bsp/stm32/stm32f429-st-disco/project.uvoptx
+++ b/bsp/stm32/stm32f429-st-disco/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
ST-LINKIII-KEIL_SWO
@@ -148,36 +128,19 @@
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_2048 -FS08000000 -FL0200000 -FP0($$Device:STM32F429ZITx$CMSIS\Flash\STM32F4xx_2048.FLM))
-
-
- 0
- 0
- 223
- 1
- 134284924
- 0
- 0
- 0
- 0
- 0
- 1
- ..\..\..\src\components.c
-
- \\template\../../../src/components.c\223
-
-
+
0
0
0
- 1
+ 0
0
0
0
0
- 1
+ 0
0
0
0
@@ -219,1095 +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\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
- 1
- 0
- 0
- 0
-
- 2
- 16
- 1
- 1
- 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
- 1
- 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_stm32f429xx.s
- startup_stm32f429xx.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
+ Source Group 1
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
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 6
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\i2c\i2c_core.c
- i2c_core.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\i2c\i2c_dev.c
- i2c_dev.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\i2c\i2c-bit-ops.c
- i2c-bit-ops.c
- 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\serial\serial.c
- serial.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\cmd.c
- cmd.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_file.c
- msh_file.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_compiler.c
- finsh_compiler.c
- 0
- 0
-
-
- 7
- 53
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_error.c
- finsh_error.c
- 0
- 0
-
-
- 7
- 54
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_heap.c
- finsh_heap.c
- 0
- 0
-
-
- 7
- 55
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_init.c
- finsh_init.c
- 0
- 0
-
-
- 7
- 56
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_node.c
- finsh_node.c
- 0
- 0
-
-
- 7
- 57
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_ops.c
- finsh_ops.c
- 0
- 0
-
-
- 7
- 58
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_parser.c
- finsh_parser.c
- 0
- 0
-
-
- 7
- 59
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_var.c
- finsh_var.c
- 0
- 0
-
-
- 7
- 60
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_vm.c
- finsh_vm.c
- 0
- 0
-
-
- 7
- 61
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\finsh_token.c
- finsh_token.c
- 0
- 0
-
-
-
-
- libc
- 0
- 0
- 0
- 0
-
- 8
- 62
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\libc.c
- libc.c
- 0
- 0
-
-
- 8
- 63
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\mem_std.c
- mem_std.c
- 0
- 0
-
-
- 8
- 64
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\stdio.c
- stdio.c
- 0
- 0
-
-
- 8
- 65
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\stubs.c
- stubs.c
- 0
- 0
-
-
- 8
- 66
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\time.c
- time.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 9
- 67
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- system_stm32f4xx.c
- 0
- 0
-
-
- 9
- 68
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal.c
- 0
- 0
-
-
- 9
- 69
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_cec.c
- 0
- 0
-
-
- 9
- 70
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_cortex.c
- 0
- 0
-
-
- 9
- 71
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_crc.c
- 0
- 0
-
-
- 9
- 72
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_cryp.c
- 0
- 0
-
-
- 9
- 73
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_cryp_ex.c
- 0
- 0
-
-
- 9
- 74
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_dma.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_pwr.c
- stm32f4xx_hal_pwr.c
- 0
- 0
-
-
- 9
- 77
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
- stm32f4xx_hal_pwr_ex.c
- 0
- 0
-
-
- 9
- 78
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
- stm32f4xx_hal_rcc.c
- 0
- 0
-
-
- 9
- 79
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
- stm32f4xx_hal_rcc_ex.c
- 0
- 0
-
-
- 9
- 80
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
- stm32f4xx_hal_rng.c
- 0
- 0
-
-
- 9
- 81
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
- stm32f4xx_hal_gpio.c
- 0
- 0
-
-
- 9
- 82
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
- stm32f4xx_hal_uart.c
- 0
- 0
-
-
- 9
- 83
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
- stm32f4xx_hal_usart.c
- 0
- 0
-
-
- 9
- 84
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
- stm32f4xx_hal_i2c.c
- 0
- 0
-
-
- 9
- 85
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
- stm32f4xx_hal_i2c_ex.c
- 0
- 0
-
diff --git a/bsp/stm32/stm32f429-st-disco/project.uvprojx b/bsp/stm32/stm32f429-st-disco/project.uvprojx
index b245e87fdb..f47beed1e4 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.11.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, 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\dfs\include;..\..\..\components\dfs\filesystems\devfs;..\..\..\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
@@ -353,10 +350,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -368,13 +365,13 @@
0
0x08000000
0x20000000
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -387,71 +384,99 @@
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
@@ -467,6 +492,8 @@
1
applications\main.c
+
+
lcd_init.c
1
@@ -482,26 +509,36 @@
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
@@ -517,21 +554,29 @@
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
@@ -547,31 +592,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
@@ -587,56 +644,78 @@
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
+
+
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
@@ -652,66 +731,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
@@ -727,21 +832,29 @@
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
@@ -757,91 +870,127 @@
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
@@ -852,11 +1001,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32f429-st-disco/rtconfig.h b/bsp/stm32/stm32f429-st-disco/rtconfig.h
index d9c805114b..2837c2f767 100644
--- a/bsp/stm32/stm32f429-st-disco/rtconfig.h
+++ b/bsp/stm32/stm32f429-st-disco/rtconfig.h
@@ -165,9 +165,6 @@
#define SOC_STM32F429ZI
-/* Onboard Peripheral Drivers */
-
-
/* On-chip Peripheral Drivers */
#define BSP_USING_GPIO