hoverboard-firmware-hack
hoverboard-firmware-hack copied to clipboard
STM32 Library Merge
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
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.