hoverboard-firmware-hack icon indicating copy to clipboard operation
hoverboard-firmware-hack copied to clipboard

STM32 Library Merge

Open TomTinkering opened this issue 5 years ago • 1 comments

I was looking into supporting both boards. If you are interested, progress can be found here.

So far:

  • merged stm32 and at32 hal library by adding AT32F4x as a processor option

Todo

  • linker scripts/startup files
  • at32/stm32 specific initialization options in codebase using ifdefs
  • merge AT32/STM32 CMSIS folders
  • ...tbd

TomTinkering avatar Jun 26 '19 18:06 TomTinkering

I integrated both libraries and added a switch in the makefile. Calling make with either

make AT32

or

 make STM32

will cause the specific files to be used. I also added a custom_config.h so your adaptions to your specific boards don't have to be pushed to the main branch.

cloidnerux avatar Jun 28 '19 19:06 cloidnerux