new file:   share.c
  move the same function to share.c
add share.o rule
use systick, pendsv to do context switch