From e347305ad0a83a923a0e3672d56344c95ecdcecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=90=E6=94=B8?= <17773439684@163.com> Date: Tue, 22 Apr 2025 22:50:29 +0800 Subject: [PATCH] =?UTF-8?q?bsp/stm32=EF=BC=9ASeparate=20STM32F2=20HAL=20dr?= =?UTF-8?q?ivers=20(#10210)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/libraries/Kconfig | 1 + .../Device/ST/STM32F2xx/Include/stm32f205xx.h | 13722 -------------- .../Device/ST/STM32F2xx/Include/stm32f207xx.h | 15013 --------------- .../Device/ST/STM32F2xx/Include/stm32f215xx.h | 13977 -------------- .../Device/ST/STM32F2xx/Include/stm32f217xx.h | 15268 ---------------- .../Device/ST/STM32F2xx/Include/stm32f2xx.h | 191 - .../ST/STM32F2xx/Include/system_stm32f2xx.h | 106 - .../Device/ST/STM32F2xx/Release_Notes.html | 223 - .../Templates/arm/startup_stm32f205xx.s | 415 - .../Templates/arm/startup_stm32f207xx.s | 422 - .../Templates/arm/startup_stm32f215xx.s | 417 - .../Templates/arm/startup_stm32f217xx.s | 423 - .../Templates/gcc/startup_stm32f205xx.s | 495 - .../Templates/gcc/startup_stm32f207xx.s | 503 - .../Templates/gcc/startup_stm32f215xx.s | 496 - .../Templates/gcc/startup_stm32f217xx.s | 505 - .../iar/linker/stm32f205xx_flash.icf | 31 - .../Templates/iar/linker/stm32f205xx_sram.icf | 31 - .../iar/linker/stm32f207xx_flash.icf | 31 - .../Templates/iar/linker/stm32f207xx_sram.icf | 31 - .../iar/linker/stm32f215xx_flash.icf | 31 - .../Templates/iar/linker/stm32f215xx_sram.icf | 31 - .../iar/linker/stm32f217xx_flash.icf | 31 - .../Templates/iar/linker/stm32f217xx_sram.icf | 31 - .../Templates/iar/startup_stm32f205xx.s | 602 - .../Templates/iar/startup_stm32f207xx.s | 618 - .../Templates/iar/startup_stm32f215xx.s | 608 - .../Templates/iar/startup_stm32f217xx.s | 623 - .../Source/Templates/system_stm32f2xx.c | 344 - bsp/stm32/libraries/STM32F2xx_HAL/SConscript | 86 - .../Inc/Legacy/stm32_hal_legacy.h | 3788 ---- .../Inc/Legacy/stm32f2xx_hal_can_legacy.h | 761 - .../Inc/stm32_assert_template.h | 57 - .../STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal.h | 247 - .../Inc/stm32f2xx_hal_adc.h | 891 - .../Inc/stm32f2xx_hal_adc_ex.h | 360 - .../Inc/stm32f2xx_hal_can.h | 848 - .../Inc/stm32f2xx_hal_conf_template.h | 422 - .../Inc/stm32f2xx_hal_cortex.h | 410 - .../Inc/stm32f2xx_hal_crc.h | 184 - .../Inc/stm32f2xx_hal_cryp.h | 511 - .../Inc/stm32f2xx_hal_dac.h | 476 - .../Inc/stm32f2xx_hal_dac_ex.h | 203 - .../Inc/stm32f2xx_hal_dcmi.h | 588 - .../Inc/stm32f2xx_hal_dcmi_ex.h | 37 - .../Inc/stm32f2xx_hal_def.h | 178 - .../Inc/stm32f2xx_hal_dma.h | 775 - .../Inc/stm32f2xx_hal_dma_ex.h | 104 - .../Inc/stm32f2xx_hal_eth.h | 2217 --- .../Inc/stm32f2xx_hal_exti.h | 293 - .../Inc/stm32f2xx_hal_flash.h | 419 - .../Inc/stm32f2xx_hal_flash_ex.h | 409 - .../Inc/stm32f2xx_hal_gpio.h | 325 - .../Inc/stm32f2xx_hal_gpio_ex.h | 281 - .../Inc/stm32f2xx_hal_hash.h | 590 - .../Inc/stm32f2xx_hal_hcd.h | 319 - .../Inc/stm32f2xx_hal_i2c.h | 740 - .../Inc/stm32f2xx_hal_i2s.h | 567 - .../Inc/stm32f2xx_hal_irda.h | 684 - .../Inc/stm32f2xx_hal_iwdg.h | 223 - .../Inc/stm32f2xx_hal_mmc.h | 745 - .../Inc/stm32f2xx_hal_nand.h | 381 - .../Inc/stm32f2xx_hal_nor.h | 327 - .../Inc/stm32f2xx_hal_pccard.h | 282 - .../Inc/stm32f2xx_hal_pcd.h | 453 - .../Inc/stm32f2xx_hal_pcd_ex.h | 82 - .../Inc/stm32f2xx_hal_pwr.h | 425 - .../Inc/stm32f2xx_hal_pwr_ex.h | 143 - .../Inc/stm32f2xx_hal_rcc.h | 2088 --- .../Inc/stm32f2xx_hal_rcc_ex.h | 422 - .../Inc/stm32f2xx_hal_rng.h | 363 - .../Inc/stm32f2xx_hal_rtc.h | 801 - .../Inc/stm32f2xx_hal_rtc_ex.h | 790 - .../Inc/stm32f2xx_hal_sd.h | 761 - .../Inc/stm32f2xx_hal_smartcard.h | 757 - .../Inc/stm32f2xx_hal_spi.h | 730 - .../Inc/stm32f2xx_hal_sram.h | 233 - .../Inc/stm32f2xx_hal_tim.h | 2129 --- .../Inc/stm32f2xx_hal_tim_ex.h | 284 - .../Inc/stm32f2xx_hal_uart.h | 881 - .../Inc/stm32f2xx_hal_usart.h | 645 - .../Inc/stm32f2xx_hal_wwdg.h | 301 - .../Inc/stm32f2xx_ll_adc.h | 4622 ----- .../Inc/stm32f2xx_ll_bus.h | 1520 -- .../Inc/stm32f2xx_ll_cortex.h | 640 - .../Inc/stm32f2xx_ll_crc.h | 204 - .../Inc/stm32f2xx_ll_dac.h | 1339 -- .../Inc/stm32f2xx_ll_dma.h | 2860 --- .../Inc/stm32f2xx_ll_exti.h | 934 - .../Inc/stm32f2xx_ll_fsmc.h | 893 - .../Inc/stm32f2xx_ll_gpio.h | 983 - .../Inc/stm32f2xx_ll_i2c.h | 1784 -- .../Inc/stm32f2xx_ll_iwdg.h | 305 - .../Inc/stm32f2xx_ll_pwr.h | 510 - .../Inc/stm32f2xx_ll_rcc.h | 2440 --- .../Inc/stm32f2xx_ll_rng.h | 337 - .../Inc/stm32f2xx_ll_rtc.h | 3360 ---- .../Inc/stm32f2xx_ll_sdmmc.h | 1115 -- .../Inc/stm32f2xx_ll_spi.h | 1991 -- .../Inc/stm32f2xx_ll_system.h | 846 - .../Inc/stm32f2xx_ll_tim.h | 4038 ---- .../Inc/stm32f2xx_ll_usart.h | 2521 --- .../Inc/stm32f2xx_ll_usb.h | 522 - .../Inc/stm32f2xx_ll_utils.h | 273 - .../Inc/stm32f2xx_ll_wwdg.h | 319 - .../STM32F2xx_HAL_Driver/Release_Notes.html | 2375 --- .../Src/Legacy/stm32f2xx_hal_can.c | 1651 -- .../STM32F2xx_HAL_Driver/Src/stm32f2xx_hal.c | 577 - .../Src/stm32f2xx_hal_adc.c | 2023 -- .../Src/stm32f2xx_hal_adc_ex.c | 1070 -- .../Src/stm32f2xx_hal_can.c | 2436 --- .../Src/stm32f2xx_hal_cortex.c | 505 - .../Src/stm32f2xx_hal_crc.c | 330 - .../Src/stm32f2xx_hal_cryp.c | 2468 --- .../Src/stm32f2xx_hal_dac.c | 1355 -- .../Src/stm32f2xx_hal_dac_ex.c | 496 - .../Src/stm32f2xx_hal_dcmi.c | 1178 -- .../Src/stm32f2xx_hal_dcmi_ex.c | 34 - .../Src/stm32f2xx_hal_dma.c | 1307 -- .../Src/stm32f2xx_hal_dma_ex.c | 315 - .../Src/stm32f2xx_hal_eth.c | 2302 --- .../Src/stm32f2xx_hal_exti.c | 549 - .../Src/stm32f2xx_hal_flash.c | 761 - .../Src/stm32f2xx_hal_flash_ex.c | 697 - .../Src/stm32f2xx_hal_gpio.c | 535 - .../Src/stm32f2xx_hal_hash.c | 3405 ---- .../Src/stm32f2xx_hal_hcd.c | 1742 -- .../Src/stm32f2xx_hal_i2c.c | 7516 -------- .../Src/stm32f2xx_hal_i2s.c | 1897 -- .../Src/stm32f2xx_hal_irda.c | 2658 --- .../Src/stm32f2xx_hal_iwdg.c | 265 - .../Src/stm32f2xx_hal_mmc.c | 2924 --- .../Src/stm32f2xx_hal_msp_template.c | 96 - .../Src/stm32f2xx_hal_nand.c | 2325 --- .../Src/stm32f2xx_hal_nor.c | 1510 -- .../Src/stm32f2xx_hal_pccard.c | 946 - .../Src/stm32f2xx_hal_pcd.c | 2026 -- .../Src/stm32f2xx_hal_pcd_ex.c | 173 - .../Src/stm32f2xx_hal_pwr.c | 556 - .../Src/stm32f2xx_hal_pwr_ex.c | 185 - .../Src/stm32f2xx_hal_rcc.c | 1226 -- .../Src/stm32f2xx_hal_rcc_ex.c | 326 - .../Src/stm32f2xx_hal_rng.c | 868 - .../Src/stm32f2xx_hal_rtc.c | 1832 -- .../Src/stm32f2xx_hal_rtc_ex.c | 1411 -- .../Src/stm32f2xx_hal_sd.c | 3223 ---- .../Src/stm32f2xx_hal_smartcard.c | 2351 --- .../Src/stm32f2xx_hal_spi.c | 3869 ---- .../Src/stm32f2xx_hal_sram.c | 1110 -- .../Src/stm32f2xx_hal_tim.c | 7486 -------- .../Src/stm32f2xx_hal_tim_ex.c | 2356 --- ...tm32f2xx_hal_timebase_rtc_alarm_template.c | 334 - ...m32f2xx_hal_timebase_rtc_wakeup_template.c | 304 - .../Src/stm32f2xx_hal_timebase_tim_template.c | 182 - .../Src/stm32f2xx_hal_uart.c | 3718 ---- .../Src/stm32f2xx_hal_usart.c | 2800 --- .../Src/stm32f2xx_hal_wwdg.c | 422 - .../Src/stm32f2xx_ll_adc.c | 934 - .../Src/stm32f2xx_ll_crc.c | 107 - .../Src/stm32f2xx_ll_dac.c | 271 - .../Src/stm32f2xx_ll_dma.c | 427 - .../Src/stm32f2xx_ll_exti.c | 215 - .../Src/stm32f2xx_ll_fsmc.c | 979 - .../Src/stm32f2xx_ll_gpio.c | 306 - .../Src/stm32f2xx_ll_i2c.c | 227 - .../Src/stm32f2xx_ll_pwr.c | 86 - .../Src/stm32f2xx_ll_rcc.c | 406 - .../Src/stm32f2xx_ll_rng.c | 96 - .../Src/stm32f2xx_ll_rtc.c | 846 - .../Src/stm32f2xx_ll_sdmmc.c | 1547 -- .../Src/stm32f2xx_ll_spi.c | 524 - .../Src/stm32f2xx_ll_tim.c | 1191 -- .../Src/stm32f2xx_ll_usart.c | 422 - .../Src/stm32f2xx_ll_usb.c | 2064 --- .../Src/stm32f2xx_ll_utils.c | 645 - bsp/stm32/stm32f207-st-nucleo/.config | 360 +- bsp/stm32/stm32f207-st-nucleo/README.md | 8 + bsp/stm32/stm32f207-st-nucleo/SConstruct | 10 +- .../stm32f207-st-nucleo/board/SConscript | 21 +- bsp/stm32/stm32f207-st-nucleo/rtconfig.h | 155 +- 180 files changed, 497 insertions(+), 227948 deletions(-) delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Include/stm32f205xx.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Include/stm32f207xx.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Include/stm32f215xx.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Include/stm32f217xx.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Include/stm32f2xx.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Include/system_stm32f2xx.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Release_Notes.html delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/arm/startup_stm32f205xx.s delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/arm/startup_stm32f207xx.s delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/arm/startup_stm32f215xx.s delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/arm/startup_stm32f217xx.s delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc/startup_stm32f205xx.s delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc/startup_stm32f207xx.s delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc/startup_stm32f215xx.s delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc/startup_stm32f217xx.s delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/linker/stm32f205xx_flash.icf delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/linker/stm32f205xx_sram.icf delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/linker/stm32f207xx_flash.icf delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/linker/stm32f207xx_sram.icf delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/linker/stm32f215xx_flash.icf delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/linker/stm32f215xx_sram.icf delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/linker/stm32f217xx_flash.icf delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/linker/stm32f217xx_sram.icf delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/startup_stm32f205xx.s delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/startup_stm32f207xx.s delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/startup_stm32f215xx.s delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/iar/startup_stm32f217xx.s delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Source/Templates/system_stm32f2xx.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/SConscript delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/Legacy/stm32f2xx_hal_can_legacy.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32_assert_template.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_adc.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_adc_ex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_can.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_conf_template.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_cortex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_crc.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_cryp.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_dac.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_dac_ex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_dcmi.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_dcmi_ex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_def.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_dma.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_dma_ex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_eth.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_exti.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_flash.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_flash_ex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_gpio.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_gpio_ex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_hash.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_hcd.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_i2c.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_i2s.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_irda.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_iwdg.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_mmc.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_nand.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_nor.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_pccard.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_pcd.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_pcd_ex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_pwr.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_pwr_ex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_rcc.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_rcc_ex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_rng.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_rtc.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_rtc_ex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_sd.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_smartcard.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_spi.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_sram.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_tim.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_tim_ex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_uart.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_usart.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_hal_wwdg.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_adc.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_bus.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_cortex.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_crc.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_dac.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_dma.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_exti.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_fsmc.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_gpio.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_i2c.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_iwdg.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_pwr.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_rcc.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_rng.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_rtc.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_sdmmc.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_spi.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_system.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_tim.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_usart.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_usb.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_utils.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Inc/stm32f2xx_ll_wwdg.h delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Release_Notes.html delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/Legacy/stm32f2xx_hal_can.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_adc.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_adc_ex.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_can.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_cortex.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_crc.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_cryp.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_dac.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_dac_ex.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_dcmi.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_dcmi_ex.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_dma.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_dma_ex.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_eth.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_exti.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_flash.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_flash_ex.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_gpio.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_hash.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_hcd.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_i2c.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_i2s.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_irda.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_iwdg.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_mmc.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_msp_template.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_nand.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_nor.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_pccard.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_pcd.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_pcd_ex.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_pwr.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_pwr_ex.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_rcc.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_rcc_ex.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_rng.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_rtc.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_rtc_ex.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_sd.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_smartcard.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_spi.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_sram.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_tim.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_tim_ex.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_timebase_rtc_alarm_template.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_timebase_rtc_wakeup_template.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_timebase_tim_template.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_uart.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_usart.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_wwdg.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_adc.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_crc.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_dac.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_dma.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_exti.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_fsmc.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_gpio.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_i2c.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_pwr.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_rcc.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_rng.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_rtc.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_sdmmc.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_spi.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_tim.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_usart.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_usb.c delete mode 100644 bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_ll_utils.c diff --git a/bsp/stm32/libraries/Kconfig b/bsp/stm32/libraries/Kconfig index ba92db5830..74a86f117a 100644 --- a/bsp/stm32/libraries/Kconfig +++ b/bsp/stm32/libraries/Kconfig @@ -17,6 +17,7 @@ config SOC_SERIES_STM32F2 bool select ARCH_ARM_CORTEX_M3 select SOC_FAMILY_STM32 + select PKG_USING_STM32F2_HAL_DRIVER config SOC_SERIES_STM32F3 bool diff --git a/bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Include/stm32f205xx.h b/bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Include/stm32f205xx.h deleted file mode 100644 index d296a843eb..0000000000 --- a/bsp/stm32/libraries/STM32F2xx_HAL/CMSIS/Device/ST/STM32F2xx/Include/stm32f205xx.h +++ /dev/null @@ -1,13722 +0,0 @@ -/** - ****************************************************************************** - * @file stm32f205xx.h - * @author MCD Application Team - * @brief CMSIS STM32F205xx Device Peripheral Access Layer Header File. - * - * This file contains : - * - Data structures and the address mapping for all peripherals - * - Peripherals registers declarations and bits definition - * - Macros to access peripherals registers hardware - * - ****************************************************************************** - * @attention - * - *
-
-
-
|
-