Skip to content

A single STM32 header for all your portable CMSIS / HAL code!

License

Notifications You must be signed in to change notification settings

IntergatedCircuits/stm32header

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Single STM32 header

This project offers two headers, st/stm32cmsis.h and st/stm32hal.h that you can use to replace your stm32f1xx.h or stm32f1xx_hal_rcc.h and similar in your codebase, so switching between STM32 series becomes a lot less painful.

Requirements

  • Compiler which supports __has_include, so C23 / C++17 or above
  • Add a #define HAL_RCC_MODULE_ENABLED for the needed HAL modules before including the HAL header

About

A single STM32 header for all your portable CMSIS / HAL code!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages