Embedded C codes for host and target(STM32F407VG and STM32F072B) from tutorial