Universal "stm32.h" CMSIS include
- Put stm32.h file into your CMSIS/Device/ST folder
- Include stm32.h into your project
- define family and device variables for preprocessor
- enjoy
family variable | family | device variables |
---|---|---|
STM32F0 | STL32F0 family | see STM32F0xx/Include/stm32f0xx.h |
STM32F1 | STL32F1 family | see STM21F1xx/Include/stm32f1xx.h |
STM32F2 | STL32F2 family | see STM32F2xx/Include/stm32f2xx.h |
STM32F3 | STL32F3 family | see STM32F3xx/Include/stm32f3xx.h |
STM32F4 | STL32F4 family | see STM32F4xx/Include/stm32f4xx.h |
STM32F7 | STL32F7 family | see STM32F7xx/Include/stm32f7xx.h |
STM32H7 | STL32H7 family | see STM32H7xx/Include/stm32h7xx.h |
STM32L0 | STL32L0 family | see STM32L0xx/Include/stm32l0xx.h |
STM32L1 | STL32L1 family | see STM32L1xx/Include/stm32l1xx.h |
STM32L4 | STL32L4 family | see STM32L4xx/Include/stm32l4xx.h |
STM32L5 | STM32L5 family | see STM32L5xx/Include/stm32l5xx.h |
STM32G0 | STM32G0 family | see STM32G0xx/Include/stm32g0xx.h |
STM32G4 | STM32G4 family | see STM32G4xx/Include/stm32g4xx.h |
STM32WB | STM32WB family | see STM32WBxx/Include/stm32wbxx.h |