This model allows using libopenstm32 in parallel with other stm32 firmware libraries. It is not yet complete change to all code but a start. Only changed parts that I tested.