diff --git a/bsp/stm32/stm32f407-atk-explorer/.config b/bsp/stm32/stm32f407-atk-explorer/.config
index 1b83652dcfbccd8e7e3910ebafc4ab550e6f7e99..8bb6510a75b864072b4fc40e68f88daf32302a66 100644
--- a/bsp/stm32/stm32f407-atk-explorer/.config
+++ b/bsp/stm32/stm32f407-atk-explorer/.config
@@ -349,11 +349,10 @@ CONFIG_BSP_USING_UART1=y
# CONFIG_BSP_USING_UART3 is not set
# CONFIG_BSP_USING_UART6 is not set
# CONFIG_BSP_USING_TIM is not set
+# CONFIG_BSP_USING_PWM is not set
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
-# CONFIG_BSP_UART_USING_DMA_RX is not set
# 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 is not set
# CONFIG_BSP_USING_ADC is not set
# CONFIG_BSP_USING_I2C1 is not set
diff --git a/bsp/stm32/stm32f407-atk-explorer/README.md b/bsp/stm32/stm32f407-atk-explorer/README.md
index 232ed3a5063d41c806dc544de76e0208fc4396d0..79ff1252fed3433bf171b0c676c5e1ebbafa8ab4 100644
--- a/bsp/stm32/stm32f407-atk-explorer/README.md
+++ b/bsp/stm32/stm32f407-atk-explorer/README.md
@@ -39,6 +39,9 @@
| **板载外设** | **支持情况** | **备注** |
| :------------ | :----------: | :-----------------------------------: |
+| USB 转串口 | 支持 | |
+| COM2 | 支持 | 和以太网、PWM 冲突,如需使用该外设,请使用 CubeMX 重新配置 UART2 管脚 |
+| COM3 | 支持 | |
| MPU6050 | 支持 | |
| Flash | 支持 | |
| SD卡 | 支持 | |
@@ -46,14 +49,14 @@
| WM8978 | 暂不支持 | |
| **片上外设** | **支持情况** | **备注** |
| GPIO | 支持 | PA0, PA1... PH1 ---> PIN: 0, 1...144 |
-| UART | 支持 | UART1/2/3/6 |
+| UART | 支持 | UART1/2/3 |
| SPI | 支持 | SPI1/2/3 |
| I2C | 支持 | 软件 I2C |
| ADC | 支持 | |
| RTC | 支持 | |
| WDT | 支持 | |
| FLASH | 支持 | 已适配 [FAL](https://github.com/RT-Thread-packages/fal) |
-| PWM | 暂不支持 | 即将支持 |
+| PWM | 支持 | |
| USB Device | 暂不支持 | 即将支持 |
| USB Host | 暂不支持 | 即将支持 |
| **扩展模块** | **支持情况** | **备注** |
diff --git a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig
index 0f22133a55b68ed3ebe8b0e2f2be27ab19310ef4..ab47b88e1cc41e3da661a3761d5699d49731ac06 100644
--- a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig
+++ b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig
@@ -12,11 +12,9 @@ menu "Onboard Peripheral Drivers"
select BSP_USING_UART1
default y
- config BSP_USING_SPI_FLASH
- bool "Enable SPI FLASH (w25q128 spi1)"
- select BSP_USING_SPI1
- select RT_USING_SFUD
- select RT_SFUD_USING_SFDP
+ config BSP_USING_COM2
+ bool "Enable COM2 (uart2 pin conflict with Ethernet and PWM)"
+ select BSP_USING_UART2
default n
config BSP_USING_COM3
@@ -24,20 +22,26 @@ menu "Onboard Peripheral Drivers"
select BSP_USING_UART3
default n
+ config BSP_USING_SPI_FLASH
+ bool "Enable SPI FLASH (w25q128 spi1)"
+ select BSP_USING_SPI1
+ select RT_USING_SFUD
+ select RT_SFUD_USING_SFDP
+ default n
+
config BSP_USING_EEPROM
bool "Enable I2C EEPROM (i2c1)"
select BSP_USING_I2C1
default n
+ config PHY_USING_LAN8720A
+ bool
+
config BSP_USING_ETH
bool "Enable Ethernet"
default n
select RT_USING_LWIP
- if BSP_USING_ETH
- config EXTERNAL_PHY_ADDRESS
- hex
- default 0x00
- endif
+ select PHY_USING_LAN8720A
config BSP_USING_MPU6050
bool "Enable MPU6050 (i2c1)"
@@ -66,21 +70,11 @@ menu "On-chip Peripheral Drivers"
select RT_USING_SERIAL
default y
- config BSP_USING_UART2
- bool "Enable UART2"
- select RT_USING_SERIAL
- default n
-
config BSP_USING_UART3
bool "Enable UART3"
select RT_USING_SERIAL
default n
- config BSP_USING_UART6
- bool "Enable UART6"
- select RT_USING_SERIAL
- default n
-
menuconfig BSP_USING_TIM
bool "Enable timer"
default n
@@ -140,14 +134,6 @@ menu "On-chip Peripheral Drivers"
config BSP_USING_ADC1
bool "Enable ADC1"
default n
-
- config BSP_USING_ADC2
- bool "Enable ADC2"
- default n
-
- config BSP_USING_ADC3
- bool "Enable ADC3"
- default n
endif
menuconfig BSP_USING_I2C1
diff --git a/bsp/stm32/stm32f407-atk-explorer/board/board.c b/bsp/stm32/stm32f407-atk-explorer/board/board.c
index cea8c7fff9bead3dd598d9bd0a17237abb4f2fc1..2dec30786755b170aea479faa06c888303996fde 100644
--- a/bsp/stm32/stm32f407-atk-explorer/board/board.c
+++ b/bsp/stm32/stm32f407-atk-explorer/board/board.c
@@ -57,13 +57,3 @@ void SystemClock_Config(void)
Error_Handler();
}
}
-void MX_GPIO_Init(void)
-{
-
- /* GPIO Ports Clock Enable */
- __HAL_RCC_GPIOC_CLK_ENABLE();
- __HAL_RCC_GPIOH_CLK_ENABLE();
- __HAL_RCC_GPIOA_CLK_ENABLE();
- __HAL_RCC_GPIOB_CLK_ENABLE();
-
-}
diff --git a/bsp/stm32/stm32f407-atk-explorer/board/board.h b/bsp/stm32/stm32f407-atk-explorer/board/board.h
index 77928f7f8042a696ee3a6392174d08331bd08dfb..f672faff2ce44475189c72c5af07b15eb316df6b 100644
--- a/bsp/stm32/stm32f407-atk-explorer/board/board.h
+++ b/bsp/stm32/stm32f407-atk-explorer/board/board.h
@@ -36,7 +36,6 @@ extern int __bss_end;
#define HEAP_END STM32_SRAM_END
void SystemClock_Config(void);
-void MX_GPIO_Init(void);
#endif
diff --git a/bsp/stm32/stm32f407-atk-explorer/project.ewp b/bsp/stm32/stm32f407-atk-explorer/project.ewp
index db4161a4b3d8f960c2f15ba0d2badc8bb8443bd9..3e2715a2a10d5161f77a85285c18f78817c4a90a 100644
--- a/bsp/stm32/stm32f407-atk-explorer/project.ewp
+++ b/bsp/stm32/stm32f407-atk-explorer/project.ewp
@@ -346,6 +346,7 @@
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\.
$PROJ_DIR$\applications
@@ -1375,6 +1376,7 @@
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\.
$PROJ_DIR$\applications
@@ -2094,6 +2096,9 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu.c
+
$PROJ_DIR$\..\..\..\src\device.c
@@ -2208,15 +2213,6 @@
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c
-
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
@@ -2232,114 +2228,18 @@
$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_dac.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac_ex.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi_ex.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dfsdm.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_dma2d.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_dsi.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_eth.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_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_hash.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.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_i2s.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.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_lptim.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_nand.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_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_qspi.c
-
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
@@ -2350,40 +2250,7 @@
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.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_sai.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sai_ex.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_sdram.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_smartcard.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spdifrx.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_sram.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_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_uart.c
@@ -2391,20 +2258,5 @@
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.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_ll_sdmmc.c
-
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usb.c
-
diff --git a/bsp/stm32/stm32f407-atk-explorer/project.uvproj b/bsp/stm32/stm32f407-atk-explorer/project.uvproj
index a2c80e0594ebcb24c1dc61224704ae1a1ed5aebe..c38efb36835b3b5eaa34cd3641a37e86b375157e 100644
--- a/bsp/stm32/stm32f407-atk-explorer/project.uvproj
+++ b/bsp/stm32/stm32f407-atk-explorer/project.uvproj
@@ -359,7 +359,7 @@
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
+ applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -470,6 +470,13 @@
..\..\..\src\components.c
+
+
+ cpu.c
+ 1
+ ..\..\..\src\cpu.c
+
+
device.c
diff --git a/bsp/stm32/stm32f407-atk-explorer/project.uvprojx b/bsp/stm32/stm32f407-atk-explorer/project.uvprojx
index 88c46860e7bdd719a42551186ac488af83952541..194ec7e57c731d8386fb2afe5e517afe163f215e 100644
--- a/bsp/stm32/stm32f407-atk-explorer/project.uvprojx
+++ b/bsp/stm32/stm32f407-atk-explorer/project.uvprojx
@@ -334,7 +334,7 @@
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
+ applications;.;board;board\CubeMX_Config\Inc;board\ports;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -446,6 +446,13 @@
..\..\..\src\components.c
+
+
+ cpu.c
+ 1
+ ..\..\..\src\cpu.c
+
+
device.c
@@ -696,27 +703,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
-
-
- stm32f4xx_hal_adc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc.c
-
-
-
-
- stm32f4xx_hal_adc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_adc_ex.c
-
-
-
-
- stm32f4xx_hal_can.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c
-
-
stm32f4xx_hal_cec.c
@@ -752,41 +738,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
-
-
- stm32f4xx_hal_dac.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac.c
-
-
-
-
- stm32f4xx_hal_dac_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dac_ex.c
-
-
-
-
- stm32f4xx_hal_dcmi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi.c
-
-
-
-
- stm32f4xx_hal_dcmi_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dcmi_ex.c
-
-
-
-
- stm32f4xx_hal_dfsdm.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dfsdm.c
-
-
stm32f4xx_hal_dma.c
@@ -794,13 +745,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
-
-
- stm32f4xx_hal_dma2d.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma2d.c
-
-
stm32f4xx_hal_dma_ex.c
@@ -808,181 +752,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
-
-
- stm32f4xx_hal_dsi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dsi.c
-
-
-
-
- stm32f4xx_hal_eth.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_eth.c
-
-
-
-
- stm32f4xx_hal_flash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c
-
-
-
-
- stm32f4xx_hal_flash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c
-
-
-
-
- stm32f4xx_hal_flash_ramfunc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c
-
-
-
-
- stm32f4xx_hal_fmpi2c.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c.c
-
-
-
-
- stm32f4xx_hal_fmpi2c_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_fmpi2c_ex.c
-
-
-
-
- stm32f4xx_hal_gpio.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
-
-
-
-
- stm32f4xx_hal_hash.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash.c
-
-
-
-
- stm32f4xx_hal_hash_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hash_ex.c
-
-
-
-
- stm32f4xx_hal_hcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_hcd.c
-
-
-
-
- stm32f4xx_hal_i2c.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c
-
-
-
-
- stm32f4xx_hal_i2c_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c
-
-
-
-
- stm32f4xx_hal_i2s.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s.c
-
-
-
-
- stm32f4xx_hal_i2s_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2s_ex.c
-
-
-
-
- stm32f4xx_hal_irda.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_irda.c
-
-
-
-
- stm32f4xx_hal_iwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_iwdg.c
-
-
-
-
- stm32f4xx_hal_lptim.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_lptim.c
-
-
-
-
- stm32f4xx_hal_ltdc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc.c
-
-
-
-
- stm32f4xx_hal_ltdc_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_ltdc_ex.c
-
-
-
-
- stm32f4xx_hal_nand.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nand.c
-
-
-
-
- stm32f4xx_hal_nor.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_nor.c
-
-
-
-
- stm32f4xx_hal_pccard.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pccard.c
-
-
-
-
- stm32f4xx_hal_pcd.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c
-
-
-
-
- stm32f4xx_hal_pcd_ex.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd_ex.c
-
-
stm32f4xx_hal_pwr.c
@@ -997,13 +766,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
-
-
- stm32f4xx_hal_qspi.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_qspi.c
-
-
stm32f4xx_hal_rcc.c
@@ -1027,86 +789,9 @@
- 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
+ stm32f4xx_hal_gpio.c
1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c
+ ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
@@ -1123,41 +808,6 @@
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
-
-
- stm32f4xx_hal_wwdg.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c
-
-
-
-
- stm32f4xx_ll_fmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fmc.c
-
-
-
-
- stm32f4xx_ll_fsmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_fsmc.c
-
-
-
-
- stm32f4xx_ll_sdmmc.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_sdmmc.c
-
-
-
-
- stm32f4xx_ll_usb.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usb.c
-
-
diff --git a/bsp/stm32/stm32f407-atk-explorer/rtconfig.py b/bsp/stm32/stm32f407-atk-explorer/rtconfig.py
index 2e3b7cf4929d22771893e59487c441aed871e6f6..3241586f69fbfa0128724a3900c004ca490b5dba 100644
--- a/bsp/stm32/stm32f407-atk-explorer/rtconfig.py
+++ b/bsp/stm32/stm32f407-atk-explorer/rtconfig.py
@@ -36,6 +36,7 @@ if PLATFORM == 'gcc':
CC = PREFIX + 'gcc'
AS = PREFIX + 'gcc'
AR = PREFIX + 'ar'
+ CXX = PREFIX + 'g++'
LINK = PREFIX + 'gcc'
TARGET_EXT = 'elf'
SIZE = PREFIX + 'size'
diff --git a/bsp/stm32/stm32f407-st-discovery/project.ewp b/bsp/stm32/stm32f407-st-discovery/project.ewp
index 702a5f252afcb571f88df348147963cb37743d64..749d39c78721b9dff2f47f92dd4469c600c616ff 100644
--- a/bsp/stm32/stm32f407-st-discovery/project.ewp
+++ b/bsp/stm32/stm32f407-st-discovery/project.ewp
@@ -2247,9 +2247,6 @@
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
-
- $PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
-
$PROJ_DIR$\..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
diff --git a/bsp/stm32/stm32f407-st-discovery/project.uvoptx b/bsp/stm32/stm32f407-st-discovery/project.uvoptx
index 0daa73a52737050b2cd78a9f17e8cda037f90349..17a63c9616c9a587d63179cabf055dd7bcd0042d 100644
--- a/bsp/stm32/stm32f407-st-discovery/project.uvoptx
+++ b/bsp/stm32/stm32f407-st-discovery/project.uvoptx
@@ -73,7 +73,7 @@
0
- 1
+ 0
0
1
@@ -180,780 +180,4 @@
-
- Applications
- 1
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 2
- 2
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 2
- 3
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
- stm32f4xx_hal_msp.c
- 0
- 0
-
-
- 2
- 4
- 2
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
- startup_stm32f407xx.s
- 0
- 0
-
-
- 2
- 5
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 2
- 6
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 2
- 7
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- Kernel
- 0
- 0
- 0
- 0
-
- 3
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 3
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 3
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\cpu.c
- cpu.c
- 0
- 0
-
-
- 3
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 3
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 3
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 3
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 3
- 15
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 3
- 16
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 3
- 22
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- CORTEX-M4
- 0
- 0
- 0
- 0
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 24
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 27
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\symbol.c
- symbol.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_cmd.c
- msh_cmd.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_file.c
- msh_file.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 7
- 43
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
- system_stm32f4xx.c
- 0
- 0
-
-
- 7
- 44
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
- stm32f4xx_hal.c
- 0
- 0
-
-
- 7
- 45
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
- stm32f4xx_hal_cec.c
- 0
- 0
-
-
- 7
- 46
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
- stm32f4xx_hal_cortex.c
- 0
- 0
-
-
- 7
- 47
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
- stm32f4xx_hal_crc.c
- 0
- 0
-
-
- 7
- 48
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
- stm32f4xx_hal_cryp.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
- stm32f4xx_hal_cryp_ex.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
- stm32f4xx_hal_dma.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
- stm32f4xx_hal_dma_ex.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
- stm32f4xx_hal_pwr.c
- 0
- 0
-
-
- 7
- 53
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
- stm32f4xx_hal_pwr_ex.c
- 0
- 0
-
-
- 7
- 54
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
- stm32f4xx_hal_rcc.c
- 0
- 0
-
-
- 7
- 55
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
- stm32f4xx_hal_rcc_ex.c
- 0
- 0
-
-
- 7
- 56
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
- stm32f4xx_hal_rng.c
- 0
- 0
-
-
- 7
- 57
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
- stm32f4xx_hal_sram.c
- 0
- 0
-
-
- 7
- 58
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
- stm32f4xx_hal_gpio.c
- 0
- 0
-
-
- 7
- 59
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
- stm32f4xx_hal_uart.c
- 0
- 0
-
-
- 7
- 60
- 1
- 0
- 0
- 0
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c
- stm32f4xx_hal_usart.c
- 0
- 0
-
-
-
diff --git a/bsp/stm32/stm32f407-st-discovery/project.uvprojx b/bsp/stm32/stm32f407-st-discovery/project.uvprojx
index 69e28557c03592125c4693e41c81d656fc1f5b91..3256d6733eed1c629e19d0349703d570cd97fa9c 100644
--- a/bsp/stm32/stm32f407-st-discovery/project.uvprojx
+++ b/bsp/stm32/stm32f407-st-discovery/project.uvprojx
@@ -1,16 +1,12 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rtthread
0x4
ARM-ADS
- 5060750::V5.06 update 6 (build 750)::ARMCC
0
@@ -19,28 +15,28 @@
Keil.STM32F4xx_DFP.2.12.0
http://www.keil.com/pack
IRAM(0x20000000,0x00020000) IRAM2(0x10000000,0x00010000) IROM(0x08000000,0x00100000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1024 -FS08000000 -FL0100000 -FP0($$Device:STM32F407VGTx$CMSIS\Flash\STM32F4xx_1024.FLM))
0
$$Device:STM32F407VGTx$Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32F407VGTx$CMSIS\SVD\STM32F40x.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +58,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +68,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +79,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,8 +100,8 @@
0
0
3
-
-
+
+
1
@@ -139,10 +135,10 @@
1
BIN\UL2CM3.DLL
"" ()
-
-
-
-
+
+
+
+
0
@@ -175,7 +171,7 @@
0
0
"Cortex-M4"
-
+
0
0
0
@@ -307,7 +303,7 @@
0x10000
-
+
1
@@ -333,9 +329,9 @@
0
0
-
+
USE_HAL_DRIVER, STM32F407xx
-
+
applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Inc;..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Include;..\libraries\STM32F4xx_HAL\CMSIS\Include
@@ -351,10 +347,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -366,13 +362,13 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
+
+
--keep *.o(.rti_fn.*) --keep *.o(FSymTab)
-
-
+
+
@@ -395,26 +391,36 @@
1
board\board.c
+
+
stm32f4xx_hal_msp.c
1
board\CubeMX_Config\Src\stm32f4xx_hal_msp.c
+
+
startup_stm32f407xx.s
2
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s
+
+
drv_gpio.c
1
..\libraries\HAL_Drivers\drv_gpio.c
+
+
drv_usart.c
1
..\libraries\HAL_Drivers\drv_usart.c
+
+
drv_common.c
1
@@ -430,71 +436,99 @@
1
..\..\..\src\clock.c
+
+
components.c
1
..\..\..\src\components.c
+
+
cpu.c
1
..\..\..\src\cpu.c
+
+
device.c
1
..\..\..\src\device.c
+
+
idle.c
1
..\..\..\src\idle.c
+
+
ipc.c
1
..\..\..\src\ipc.c
+
+
irq.c
1
..\..\..\src\irq.c
+
+
kservice.c
1
..\..\..\src\kservice.c
+
+
mem.c
1
..\..\..\src\mem.c
+
+
mempool.c
1
..\..\..\src\mempool.c
+
+
object.c
1
..\..\..\src\object.c
+
+
scheduler.c
1
..\..\..\src\scheduler.c
+
+
signal.c
1
..\..\..\src\signal.c
+
+
thread.c
1
..\..\..\src\thread.c
+
+
timer.c
1
@@ -510,21 +544,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
@@ -540,41 +582,57 @@
1
..\..\..\components\drivers\misc\pin.c
+
+
serial.c
1
..\..\..\components\drivers\serial\serial.c
+
+
completion.c
1
..\..\..\components\drivers\src\completion.c
+
+
dataqueue.c
1
..\..\..\components\drivers\src\dataqueue.c
+
+
pipe.c
1
..\..\..\components\drivers\src\pipe.c
+
+
ringblk_buf.c
1
..\..\..\components\drivers\src\ringblk_buf.c
+
+
ringbuffer.c
1
..\..\..\components\drivers\src\ringbuffer.c
+
+
waitqueue.c
1
..\..\..\components\drivers\src\waitqueue.c
+
+
workqueue.c
1
@@ -590,26 +648,36 @@
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
@@ -625,86 +693,113 @@
1
..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
+
+
stm32f4xx_hal.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c
+
+
stm32f4xx_hal_cec.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cec.c
+
+
stm32f4xx_hal_cortex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c
+
+
stm32f4xx_hal_crc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c
+
+
stm32f4xx_hal_cryp.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp.c
+
+
stm32f4xx_hal_cryp_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cryp_ex.c
+
+
stm32f4xx_hal_dma.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c
+
+
stm32f4xx_hal_dma_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c
+
+
stm32f4xx_hal_pwr.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c
+
+
stm32f4xx_hal_pwr_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c
+
+
stm32f4xx_hal_rcc.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c
+
+
stm32f4xx_hal_rcc_ex.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c
+
+
stm32f4xx_hal_rng.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rng.c
-
- stm32f4xx_hal_sram.c
- 1
- ..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c
-
+
+
stm32f4xx_hal_gpio.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c
+
+
stm32f4xx_hal_uart.c
1
..\libraries\STM32F4xx_HAL\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c
+
+
stm32f4xx_hal_usart.c
1
@@ -715,11 +810,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/stm32/stm32f429-armfly-v6/board/Kconfig b/bsp/stm32/stm32f429-armfly-v6/board/Kconfig
index d54d1d491c201fcac76b704b4be3610b398f09d4..5c500fbd35f6f58849e604a37e6df7b7850b90c2 100644
--- a/bsp/stm32/stm32f429-armfly-v6/board/Kconfig
+++ b/bsp/stm32/stm32f429-armfly-v6/board/Kconfig
@@ -34,15 +34,14 @@ menu "Onboard Peripheral Drivers"
select RT_USING_DFS_ELMFAT
default n
+ config PHY_USING_LAN8720A
+ bool
+
config BSP_USING_ETH
bool "Enable Ethernet"
default n
select RT_USING_LWIP
- if BSP_USING_ETH
- config EXTERNAL_PHY_ADDRESS
- hex
- default 0x01
- endif
+ select PHY_USING_LAN8720A
config BSP_USING_MPU6050
bool "Enable MPU6050(i2c1)"
diff --git a/bsp/stm32/stm32f429-armfly-v6/figures/board.png b/bsp/stm32/stm32f429-armfly-v6/figures/board.png
index 5a9e6efcb17610f7ebeeb561b28f7ef3cf8095fd..94de91c01206c957bbc2607b86579fb7d1508a41 100644
Binary files a/bsp/stm32/stm32f429-armfly-v6/figures/board.png and b/bsp/stm32/stm32f429-armfly-v6/figures/board.png differ
diff --git a/bsp/stm32/stm32f429-armfly-v6/project.ewp b/bsp/stm32/stm32f429-armfly-v6/project.ewp
index db4161a4b3d8f960c2f15ba0d2badc8bb8443bd9..d2d245a397db1d13ab80adc7f331e006aee19f98 100644
--- a/bsp/stm32/stm32f429-armfly-v6/project.ewp
+++ b/bsp/stm32/stm32f429-armfly-v6/project.ewp
@@ -215,7 +215,7 @@