HAL generator for different microcontrollers