Merge branch 'master' into development
This commit is contained in:
commit
80b77a21d0
|
@ -0,0 +1,15 @@
|
|||
#######################################
|
||||
# Syntax Coloring Map SPI
|
||||
#######################################
|
||||
|
||||
#######################################
|
||||
# Datatypes (KEYWORD1)
|
||||
#######################################
|
||||
|
||||
#######################################
|
||||
# Methods and Functions (KEYWORD2)
|
||||
#######################################
|
||||
|
||||
#######################################
|
||||
# Constants (LITERAL1)
|
||||
#######################################
|
|
@ -0,0 +1,9 @@
|
|||
name=I2S
|
||||
version=1.0
|
||||
author=Arduino
|
||||
maintainer=Daniel Fekete <danieleff@gmail.com>
|
||||
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
|
|
@ -0,0 +1 @@
|
|||
// TODO implement https://www.arduino.cc/en/Reference/I2S using HAL_I2S_xxx
|
|
@ -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
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
#######################################
|
||||
# Syntax Coloring Map SPI
|
||||
#######################################
|
||||
|
||||
#######################################
|
||||
# Datatypes (KEYWORD1)
|
||||
#######################################
|
||||
|
||||
#######################################
|
||||
# Methods and Functions (KEYWORD2)
|
||||
#######################################
|
||||
|
||||
#######################################
|
||||
# Constants (LITERAL1)
|
||||
#######################################
|
|
@ -0,0 +1,9 @@
|
|||
name=STM32 HAL extra API source files
|
||||
version=1.0
|
||||
author=STM32
|
||||
maintainer=Daniel Fekete <danieleff@gmail.com>
|
||||
sentence=Include "STM32_HAL.h" to compile all of the remaining STM32 HAL files
|
||||
paragraph=
|
||||
category=Other
|
||||
url=http://www.st.com/
|
||||
architectures=STM32
|
|
@ -0,0 +1 @@
|
|||
// Inlcude this file if you want to include all extra STM32 HAL files
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue