platform: revise and merge stm32-p103 platform support

Merge the stm32-p103 platform support. Using conditional build for different stm32 variants.