Refactoring HAL
Removing STM32F0 and ARM9 code