From 4ce9c07fa565e52f94faf173e1f6f16d958ca6df Mon Sep 17 00:00:00 2001 From: Daniel Fekete Date: Sun, 23 Apr 2017 11:44:12 +0200 Subject: [PATCH] Add ability to compile all HAL source files to use in Arduino sketch --- STM32/libraries/I2S/keywords.txt | 15 ++++++++ STM32/libraries/I2S/library.properties | 9 +++++ STM32/libraries/I2S/src/I2S.h | 1 + STM32/libraries/I2S/src/stm32XXxx_hal_i2s.c | 29 ++++++++++++++ STM32/libraries/SDIO/src/stm32XXxx_hal_sd.c | 6 +-- STM32/libraries/SDIO/src/stm32XXxx_ll_sdmmc.c | 6 +-- STM32/libraries/STM32_HAL/keywords.txt | 15 ++++++++ STM32/libraries/STM32_HAL/library.properties | 9 +++++ STM32/libraries/STM32_HAL/src/STM32_HAL.h | 1 + .../STM32_HAL/src/stm32XXxx_hal_adc_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_can.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_cec.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_comp.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_comp_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_crc.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_crc_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_cryp.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_cryp_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_dac.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_dac_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_dcmi.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_dcmi_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_dfsdm.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_dma2d.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_dsi.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_eth.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_firewall.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_flash.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_flash_ex.c | 29 ++++++++++++++ .../src/stm32XXxx_hal_flash_ramfunc.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_fmpi2c.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_fmpi2c_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_gpio_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_hash.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_hash_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_hcd.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_hrtim.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_i2c_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_i2s_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_irda.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_iwdg.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_jpeg.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_lcd.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_lptim.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_ltdc.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_ltdc_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_mdios.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_nand.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_nor.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_opamp.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_opamp_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_pccard.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_pcd_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_pwr.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_pwr_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_qspi.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_rng.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_rtc.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_rtc_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_sai.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_sai_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_sdadc.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_sdram.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_smartcard.c | 29 ++++++++++++++ .../src/stm32XXxx_hal_smartcard_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_smbus.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_spdifrx.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_spi_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_sram.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_swpmi.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_tsc.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_uart_ex.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_usart.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_hal_wwdg.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_adc.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_comp.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_crc.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_crs.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_dac.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_dma.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_exti.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_fmc.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_fsmc.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_gpio.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_hrtim.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_i2c.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_lptim.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_lpuart.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_opamp.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_pwr.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_rcc.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_rng.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_rtc.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_spi.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_swpmi.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_tim.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_usart.c | 29 ++++++++++++++ .../STM32_HAL/src/stm32XXxx_ll_utils.c | 29 ++++++++++++++ tools/script/HAL_sources.py | 38 +++++++++++++++++++ 99 files changed, 2704 insertions(+), 6 deletions(-) create mode 100644 STM32/libraries/I2S/keywords.txt create mode 100644 STM32/libraries/I2S/library.properties create mode 100644 STM32/libraries/I2S/src/I2S.h create mode 100644 STM32/libraries/I2S/src/stm32XXxx_hal_i2s.c create mode 100644 STM32/libraries/STM32_HAL/keywords.txt create mode 100644 STM32/libraries/STM32_HAL/library.properties create mode 100644 STM32/libraries/STM32_HAL/src/STM32_HAL.h create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_adc_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_can.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_cec.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_comp.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_comp_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_crc.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_crc_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_cryp.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_cryp_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dac.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dac_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dcmi.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dcmi_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dfsdm.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dma2d.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dsi.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_eth.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_firewall.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_flash.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_flash_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_flash_ramfunc.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_fmpi2c.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_fmpi2c_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_gpio_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hash.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hash_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hcd.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hrtim.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_i2c_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_i2s_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_irda.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_iwdg.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_jpeg.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_lcd.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_lptim.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_ltdc.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_ltdc_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_mdios.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_nand.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_nor.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_opamp.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_opamp_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pccard.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pcd_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pwr.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pwr_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_qspi.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_rng.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_rtc.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_rtc_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sai.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sai_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sdadc.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sdram.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_smartcard.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_smartcard_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_smbus.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_spdifrx.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_spi_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sram.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_swpmi.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_tsc.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_uart_ex.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_usart.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_hal_wwdg.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_adc.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_comp.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_crc.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_crs.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_dac.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_dma.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_exti.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_fmc.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_fsmc.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_gpio.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_hrtim.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_i2c.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_lptim.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_lpuart.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_opamp.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_pwr.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_rcc.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_rng.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_rtc.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_spi.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_swpmi.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_tim.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_usart.c create mode 100644 STM32/libraries/STM32_HAL/src/stm32XXxx_ll_utils.c create mode 100644 tools/script/HAL_sources.py diff --git a/STM32/libraries/I2S/keywords.txt b/STM32/libraries/I2S/keywords.txt new file mode 100644 index 0000000..726c150 --- /dev/null +++ b/STM32/libraries/I2S/keywords.txt @@ -0,0 +1,15 @@ +####################################### +# Syntax Coloring Map SPI +####################################### + +####################################### +# Datatypes (KEYWORD1) +####################################### + +####################################### +# Methods and Functions (KEYWORD2) +####################################### + +####################################### +# Constants (LITERAL1) +####################################### diff --git a/STM32/libraries/I2S/library.properties b/STM32/libraries/I2S/library.properties new file mode 100644 index 0000000..47b279a --- /dev/null +++ b/STM32/libraries/I2S/library.properties @@ -0,0 +1,9 @@ +name=I2S +version=1.0 +author=Arduino +maintainer=Daniel Fekete +sentence=Enables the communication with devices that use the Inter-IC Sound (I2S) Bus. +paragraph= +category=Communication +url=http://www.arduino.cc/en/Reference/I2S +architectures=STM32 diff --git a/STM32/libraries/I2S/src/I2S.h b/STM32/libraries/I2S/src/I2S.h new file mode 100644 index 0000000..67cb59f --- /dev/null +++ b/STM32/libraries/I2S/src/I2S.h @@ -0,0 +1 @@ +// TODO implement https://www.arduino.cc/en/Reference/I2S using HAL_I2S_xxx diff --git a/STM32/libraries/I2S/src/stm32XXxx_hal_i2s.c b/STM32/libraries/I2S/src/stm32XXxx_hal_i2s.c new file mode 100644 index 0000000..15c72f7 --- /dev/null +++ b/STM32/libraries/I2S/src/stm32XXxx_hal_i2s.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_i2s.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_i2s.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_i2s.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_i2s.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_i2s.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_i2s.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_i2s.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_i2s.c" +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/SDIO/src/stm32XXxx_hal_sd.c b/STM32/libraries/SDIO/src/stm32XXxx_hal_sd.c index 4b40770..6ce5bf5 100644 --- a/STM32/libraries/SDIO/src/stm32XXxx_hal_sd.c +++ b/STM32/libraries/SDIO/src/stm32XXxx_hal_sd.c @@ -1,7 +1,7 @@ #include "stm32_build_defines.h" #ifdef STM32F0 - #include "stm32f0xx_hal_sd.c" + #endif #ifdef STM32F1 #include "stm32f1xx_hal_sd.c" @@ -10,7 +10,7 @@ #include "stm32f2xx_hal_sd.c" #endif #ifdef STM32F3 - #include "stm32f3xx_hal_sd.c" + #endif #ifdef STM32F4 #include "stm32f4xx_hal_sd.c" @@ -19,7 +19,7 @@ #include "stm32f7xx_hal_sd.c" #endif #ifdef STM32L0 - #include "stm32l0xx_hal_sd.c" + #endif #ifdef STM32L1 #include "stm32l1xx_hal_sd.c" diff --git a/STM32/libraries/SDIO/src/stm32XXxx_ll_sdmmc.c b/STM32/libraries/SDIO/src/stm32XXxx_ll_sdmmc.c index 623ed8c..2136267 100644 --- a/STM32/libraries/SDIO/src/stm32XXxx_ll_sdmmc.c +++ b/STM32/libraries/SDIO/src/stm32XXxx_ll_sdmmc.c @@ -1,7 +1,7 @@ #include "stm32_build_defines.h" #ifdef STM32F0 - #include "stm32f0xx_ll_sdmmc.c" + #endif #ifdef STM32F1 #include "stm32f1xx_ll_sdmmc.c" @@ -10,7 +10,7 @@ #include "stm32f2xx_ll_sdmmc.c" #endif #ifdef STM32F3 - #include "stm32f3xx_ll_sdmmc.c" + #endif #ifdef STM32F4 #include "stm32f4xx_ll_sdmmc.c" @@ -19,7 +19,7 @@ #include "stm32f7xx_ll_sdmmc.c" #endif #ifdef STM32L0 - #include "stm32l0xx_ll_sdmmc.c" + #endif #ifdef STM32L1 #include "stm32l1xx_ll_sdmmc.c" diff --git a/STM32/libraries/STM32_HAL/keywords.txt b/STM32/libraries/STM32_HAL/keywords.txt new file mode 100644 index 0000000..726c150 --- /dev/null +++ b/STM32/libraries/STM32_HAL/keywords.txt @@ -0,0 +1,15 @@ +####################################### +# Syntax Coloring Map SPI +####################################### + +####################################### +# Datatypes (KEYWORD1) +####################################### + +####################################### +# Methods and Functions (KEYWORD2) +####################################### + +####################################### +# Constants (LITERAL1) +####################################### diff --git a/STM32/libraries/STM32_HAL/library.properties b/STM32/libraries/STM32_HAL/library.properties new file mode 100644 index 0000000..ff97839 --- /dev/null +++ b/STM32/libraries/STM32_HAL/library.properties @@ -0,0 +1,9 @@ +name=STM32 HAL extra API source files +version=1.0 +author=STM32 +maintainer=Daniel Fekete +sentence=Include "STM32_HAL.h" to compile all of the remaining STM32 HAL files +paragraph= +category=Other +url=http://www.st.com/ +architectures=STM32 diff --git a/STM32/libraries/STM32_HAL/src/STM32_HAL.h b/STM32/libraries/STM32_HAL/src/STM32_HAL.h new file mode 100644 index 0000000..b22f711 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/STM32_HAL.h @@ -0,0 +1 @@ +// Inlcude this file if you want to include all extra STM32 HAL files diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_adc_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_adc_ex.c new file mode 100644 index 0000000..f23169f --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_adc_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_adc_ex.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_adc_ex.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_adc_ex.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_adc_ex.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_adc_ex.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_adc_ex.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_adc_ex.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_adc_ex.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_adc_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_can.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_can.c new file mode 100644 index 0000000..905650b --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_can.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_can.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_can.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_can.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_can.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_can.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_can.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_can.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_cec.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_cec.c new file mode 100644 index 0000000..d002177 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_cec.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_cec.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_cec.c" +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_cec.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_cec.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_cec.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_comp.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_comp.c new file mode 100644 index 0000000..1b8afc6 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_comp.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_comp.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_comp.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_comp.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_comp.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_comp.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_comp_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_comp_ex.c new file mode 100644 index 0000000..edcfbc0 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_comp_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_comp_ex.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_crc.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_crc.c new file mode 100644 index 0000000..269762d --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_crc.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_crc.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_crc.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_crc.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_crc.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_crc.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_crc.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_crc.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_crc.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_crc.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_crc_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_crc_ex.c new file mode 100644 index 0000000..0eb349f --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_crc_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_crc_ex.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_crc_ex.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_crc_ex.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_crc_ex.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_crc_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_cryp.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_cryp.c new file mode 100644 index 0000000..7c4e6cc --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_cryp.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_cryp.c" +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_cryp.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_cryp.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_cryp.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_cryp.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_cryp.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_cryp_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_cryp_ex.c new file mode 100644 index 0000000..3f85065 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_cryp_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_cryp_ex.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_cryp_ex.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_cryp_ex.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_cryp_ex.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_cryp_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dac.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dac.c new file mode 100644 index 0000000..868522c --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dac.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_dac.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_dac.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_dac.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_dac.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_dac.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_dac.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_dac.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_dac.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_dac.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dac_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dac_ex.c new file mode 100644 index 0000000..e9ec30f --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dac_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_dac_ex.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_dac_ex.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_dac_ex.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_dac_ex.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_dac_ex.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_dac_ex.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_dac_ex.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_dac_ex.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_dac_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dcmi.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dcmi.c new file mode 100644 index 0000000..f41e84a --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dcmi.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_dcmi.c" +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_dcmi.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_dcmi.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dcmi_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dcmi_ex.c new file mode 100644 index 0000000..088120f --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dcmi_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_dcmi_ex.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_dcmi_ex.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dfsdm.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dfsdm.c new file mode 100644 index 0000000..df37bf6 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dfsdm.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_dfsdm.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_dfsdm.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_dfsdm.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dma2d.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dma2d.c new file mode 100644 index 0000000..f02b3c1 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dma2d.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_dma2d.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_dma2d.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dsi.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dsi.c new file mode 100644 index 0000000..f8ff390 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_dsi.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_dsi.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_dsi.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_eth.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_eth.c new file mode 100644 index 0000000..88d2d85 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_eth.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_eth.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_eth.c" +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_eth.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_eth.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_firewall.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_firewall.c new file mode 100644 index 0000000..0184cb9 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_firewall.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_firewall.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_firewall.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_flash.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_flash.c new file mode 100644 index 0000000..b5a2d57 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_flash.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_flash.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_flash.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_flash.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_flash.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_flash.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_flash.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_flash.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_flash.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_flash.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_flash_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_flash_ex.c new file mode 100644 index 0000000..3f034db --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_flash_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_flash_ex.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_flash_ex.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_flash_ex.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_flash_ex.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_flash_ex.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_flash_ex.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_flash_ex.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_flash_ex.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_flash_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_flash_ramfunc.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_flash_ramfunc.c new file mode 100644 index 0000000..1c0ff39 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_flash_ramfunc.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_flash_ramfunc.c" +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_flash_ramfunc.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_flash_ramfunc.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_flash_ramfunc.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_fmpi2c.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_fmpi2c.c new file mode 100644 index 0000000..74302c8 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_fmpi2c.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_fmpi2c.c" +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_fmpi2c_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_fmpi2c_ex.c new file mode 100644 index 0000000..4f73559 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_fmpi2c_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_fmpi2c_ex.c" +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_gpio_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_gpio_ex.c new file mode 100644 index 0000000..a5f84da --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_gpio_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_gpio_ex.c" +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hash.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hash.c new file mode 100644 index 0000000..9c6083b --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hash.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_hash.c" +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_hash.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_hash.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hash_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hash_ex.c new file mode 100644 index 0000000..b1bd273 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hash_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_hash_ex.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_hash_ex.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hcd.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hcd.c new file mode 100644 index 0000000..cbbd791 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hcd.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_hcd.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_hcd.c" +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_hcd.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_hcd.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_hcd.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hrtim.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hrtim.c new file mode 100644 index 0000000..57add17 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_hrtim.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_hrtim.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_i2c_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_i2c_ex.c new file mode 100644 index 0000000..2a1b391 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_i2c_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_i2c_ex.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_i2c_ex.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_i2c_ex.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_i2c_ex.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_i2c_ex.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_i2c_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_i2s_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_i2s_ex.c new file mode 100644 index 0000000..affb0af --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_i2s_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_i2s_ex.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_i2s_ex.c" +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_irda.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_irda.c new file mode 100644 index 0000000..82a99ad --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_irda.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_irda.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_irda.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_irda.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_irda.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_irda.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_irda.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_irda.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_irda.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_irda.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_iwdg.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_iwdg.c new file mode 100644 index 0000000..e148c6a --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_iwdg.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_iwdg.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_iwdg.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_iwdg.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_iwdg.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_iwdg.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_iwdg.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_iwdg.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_iwdg.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_iwdg.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_jpeg.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_jpeg.c new file mode 100644 index 0000000..afd6593 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_jpeg.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_jpeg.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_lcd.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_lcd.c new file mode 100644 index 0000000..85b6aa8 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_lcd.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_lcd.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_lcd.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_lcd.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_lptim.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_lptim.c new file mode 100644 index 0000000..86f7c64 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_lptim.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_lptim.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_lptim.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_lptim.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_lptim.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_ltdc.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_ltdc.c new file mode 100644 index 0000000..505254a --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_ltdc.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_ltdc.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_ltdc.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_ltdc_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_ltdc_ex.c new file mode 100644 index 0000000..5b480fa --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_ltdc_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_ltdc_ex.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_ltdc_ex.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_mdios.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_mdios.c new file mode 100644 index 0000000..359457a --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_mdios.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_mdios.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_nand.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_nand.c new file mode 100644 index 0000000..2e958fd --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_nand.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_nand.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_nand.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_nand.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_nand.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_nand.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_nand.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_nor.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_nor.c new file mode 100644 index 0000000..7b0f1f4 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_nor.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_nor.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_nor.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_nor.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_nor.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_nor.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_nor.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_nor.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_opamp.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_opamp.c new file mode 100644 index 0000000..df3112a --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_opamp.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_opamp.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_opamp.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_opamp.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_opamp_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_opamp_ex.c new file mode 100644 index 0000000..5e67869 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_opamp_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_opamp_ex.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_opamp_ex.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_opamp_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pccard.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pccard.c new file mode 100644 index 0000000..c3305fe --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pccard.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_pccard.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_pccard.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_pccard.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_pccard.c" +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pcd_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pcd_ex.c new file mode 100644 index 0000000..d67ec68 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pcd_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_pcd_ex.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_pcd_ex.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_pcd_ex.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_pcd_ex.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_pcd_ex.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_pcd_ex.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_pcd_ex.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_pcd_ex.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_pcd_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pwr.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pwr.c new file mode 100644 index 0000000..994cc9f --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pwr.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_pwr.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_pwr.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_pwr.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_pwr.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_pwr.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_pwr.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_pwr.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_pwr.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_pwr.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pwr_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pwr_ex.c new file mode 100644 index 0000000..52dc8d2 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_pwr_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_pwr_ex.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_pwr_ex.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_pwr_ex.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_pwr_ex.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_pwr_ex.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_pwr_ex.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_pwr_ex.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_pwr_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_qspi.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_qspi.c new file mode 100644 index 0000000..9cb5482 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_qspi.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_qspi.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_qspi.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_qspi.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_rng.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_rng.c new file mode 100644 index 0000000..591ebbe --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_rng.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_rng.c" +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_rng.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_rng.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_rng.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_rng.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_rtc.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_rtc.c new file mode 100644 index 0000000..2476988 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_rtc.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_rtc.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_rtc.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_rtc.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_rtc.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_rtc.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_rtc.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_rtc.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_rtc.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_rtc.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_rtc_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_rtc_ex.c new file mode 100644 index 0000000..6b11f02 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_rtc_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_rtc_ex.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_rtc_ex.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_rtc_ex.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_rtc_ex.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_rtc_ex.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_rtc_ex.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_rtc_ex.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_rtc_ex.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_rtc_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sai.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sai.c new file mode 100644 index 0000000..bb8b4ef --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sai.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_sai.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_sai.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_sai.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sai_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sai_ex.c new file mode 100644 index 0000000..4b591f3 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sai_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_sai_ex.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_sai_ex.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sdadc.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sdadc.c new file mode 100644 index 0000000..194905d --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sdadc.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_sdadc.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sdram.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sdram.c new file mode 100644 index 0000000..7e51d0d --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sdram.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_sdram.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_sdram.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_smartcard.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_smartcard.c new file mode 100644 index 0000000..f53a95d --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_smartcard.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_smartcard.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_smartcard.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_smartcard.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_smartcard.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_smartcard.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_smartcard.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_smartcard.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_smartcard.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_smartcard.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_smartcard_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_smartcard_ex.c new file mode 100644 index 0000000..1d504bd --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_smartcard_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_smartcard_ex.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_smartcard_ex.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_smartcard_ex.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_smartcard_ex.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_smartcard_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_smbus.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_smbus.c new file mode 100644 index 0000000..39dc486 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_smbus.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_smbus.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_smbus.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_smbus.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_smbus.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_spdifrx.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_spdifrx.c new file mode 100644 index 0000000..5dff5b6 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_spdifrx.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_spdifrx.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_spdifrx.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_spi_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_spi_ex.c new file mode 100644 index 0000000..cc1d9f9 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_spi_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_spi_ex.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_spi_ex.c" +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_spi_ex.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_spi_ex.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_spi_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sram.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sram.c new file mode 100644 index 0000000..ec3326b --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_sram.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_sram.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_sram.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_sram.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_sram.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_sram.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_sram.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_sram.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_swpmi.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_swpmi.c new file mode 100644 index 0000000..796ef54 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_swpmi.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_swpmi.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_tsc.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_tsc.c new file mode 100644 index 0000000..f649dcb --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_tsc.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_tsc.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_tsc.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_tsc.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_tsc.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_uart_ex.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_uart_ex.c new file mode 100644 index 0000000..4f0f9e7 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_uart_ex.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_uart_ex.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_uart_ex.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_uart_ex.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_uart_ex.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_usart.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_usart.c new file mode 100644 index 0000000..6a8e08f --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_usart.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_usart.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_usart.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_usart.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_usart.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_usart.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_usart.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_usart.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_usart.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_usart.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_wwdg.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_wwdg.c new file mode 100644 index 0000000..dc71295 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_hal_wwdg.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_hal_wwdg.c" +#endif +#ifdef STM32F1 + #include "stm32f1xx_hal_wwdg.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_hal_wwdg.c" +#endif +#ifdef STM32F3 + #include "stm32f3xx_hal_wwdg.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_hal_wwdg.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_hal_wwdg.c" +#endif +#ifdef STM32L0 + #include "stm32l0xx_hal_wwdg.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_hal_wwdg.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_hal_wwdg.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_adc.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_adc.c new file mode 100644 index 0000000..717112c --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_adc.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_adc.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_adc.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_adc.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_adc.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_adc.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_comp.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_comp.c new file mode 100644 index 0000000..5668fc3 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_comp.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_comp.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_comp.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_comp.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_comp.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_comp.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_crc.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_crc.c new file mode 100644 index 0000000..b2cd8d0 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_crc.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_crc.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_crc.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_crc.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_crc.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_crc.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_crs.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_crs.c new file mode 100644 index 0000000..2af0a3a --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_crs.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_crs.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_crs.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_crs.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_dac.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_dac.c new file mode 100644 index 0000000..e53b805 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_dac.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_dac.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_dac.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_dac.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_dac.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_dac.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_dma.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_dma.c new file mode 100644 index 0000000..b0357d3 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_dma.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_dma.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_dma.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_dma.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_dma.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_dma.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_exti.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_exti.c new file mode 100644 index 0000000..8174b36 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_exti.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_exti.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_exti.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_exti.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_exti.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_exti.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_fmc.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_fmc.c new file mode 100644 index 0000000..43c55bd --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_fmc.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_fmc.c" +#endif +#ifdef STM32F4 + #include "stm32f4xx_ll_fmc.c" +#endif +#ifdef STM32F7 + #include "stm32f7xx_ll_fmc.c" +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_fmc.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_fsmc.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_fsmc.c new file mode 100644 index 0000000..4f8fd1c --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_fsmc.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + #include "stm32f1xx_ll_fsmc.c" +#endif +#ifdef STM32F2 + #include "stm32f2xx_ll_fsmc.c" +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + #include "stm32f4xx_ll_fsmc.c" +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_fsmc.c" +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_gpio.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_gpio.c new file mode 100644 index 0000000..8252c42 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_gpio.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_gpio.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_gpio.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_gpio.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_gpio.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_gpio.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_hrtim.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_hrtim.c new file mode 100644 index 0000000..5342e52 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_hrtim.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_hrtim.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_i2c.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_i2c.c new file mode 100644 index 0000000..69976d3 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_i2c.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_i2c.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_i2c.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_i2c.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_i2c.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_i2c.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_lptim.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_lptim.c new file mode 100644 index 0000000..81cc8f7 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_lptim.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_lptim.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_lptim.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_lpuart.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_lpuart.c new file mode 100644 index 0000000..7df7444 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_lpuart.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_lpuart.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_lpuart.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_opamp.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_opamp.c new file mode 100644 index 0000000..de86f07 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_opamp.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_opamp.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_opamp.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_opamp.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_pwr.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_pwr.c new file mode 100644 index 0000000..6a7356b --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_pwr.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_pwr.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_pwr.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_pwr.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_pwr.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_pwr.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_rcc.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_rcc.c new file mode 100644 index 0000000..9eaef63 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_rcc.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_rcc.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_rcc.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_rcc.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_rcc.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_rcc.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_rng.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_rng.c new file mode 100644 index 0000000..b0647eb --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_rng.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_rng.c" +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_rng.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_rtc.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_rtc.c new file mode 100644 index 0000000..d04ae0e --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_rtc.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_rtc.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_rtc.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_rtc.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_rtc.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_rtc.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_spi.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_spi.c new file mode 100644 index 0000000..830d196 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_spi.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_spi.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_spi.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_spi.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_spi.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_spi.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_swpmi.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_swpmi.c new file mode 100644 index 0000000..36ea48f --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_swpmi.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + +#endif +#ifdef STM32L1 + +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_swpmi.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_tim.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_tim.c new file mode 100644 index 0000000..1ddc43e --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_tim.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_tim.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_tim.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_tim.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_tim.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_tim.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_usart.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_usart.c new file mode 100644 index 0000000..3d38cc3 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_usart.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_usart.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_usart.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_usart.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_usart.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_usart.c" +#endif diff --git a/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_utils.c b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_utils.c new file mode 100644 index 0000000..e668ca2 --- /dev/null +++ b/STM32/libraries/STM32_HAL/src/stm32XXxx_ll_utils.c @@ -0,0 +1,29 @@ +#include "stm32_build_defines.h" + +#ifdef STM32F0 + #include "stm32f0xx_ll_utils.c" +#endif +#ifdef STM32F1 + +#endif +#ifdef STM32F2 + +#endif +#ifdef STM32F3 + #include "stm32f3xx_ll_utils.c" +#endif +#ifdef STM32F4 + +#endif +#ifdef STM32F7 + +#endif +#ifdef STM32L0 + #include "stm32l0xx_ll_utils.c" +#endif +#ifdef STM32L1 + #include "stm32l1xx_ll_utils.c" +#endif +#ifdef STM32L4 + #include "stm32l4xx_ll_utils.c" +#endif diff --git a/tools/script/HAL_sources.py b/tools/script/HAL_sources.py new file mode 100644 index 0000000..2fbd2ba --- /dev/null +++ b/tools/script/HAL_sources.py @@ -0,0 +1,38 @@ +# Create stm32XXxx_hal_YYY.c files with #ifdefs + +import os + +serieses = ['f0', 'f1', 'f2', 'f3', 'f4', 'f7', 'l0', 'l1', 'l4'] + +all = [] + +for series in serieses: + files = os.listdir('../../STM32/system/STM32' + series.upper() + '/HAL_Src') + + generic = [file.replace(series, 'XX') for file in files] + + #print files + #print generic + + all.extend(generic) + +for x in sorted(set(all)): + if 'system' in x or 'template' in x: + continue + + source = '#include "stm32_build_defines.h"\n' + source += '\n' + for series in serieses: + source += '#ifdef STM32' + series.upper() + '\n' + if os.path.isfile('../../STM32/system/STM32' + series.upper() + '/HAL_Src/' + x.replace('XX', series)): + source += ' #include "' + x.replace('XX', series) + '"\n' + else: + source += ' \n' + + source += '#endif\n' + print source + + with open(x, 'w') as file: + file.write(source) + + \ No newline at end of file