new file:   mymain.c
  copy needed function to the file.
new file:   stm32.h
new file:   stm32.ld
  for mymain.c
add mymain* rule