scons: fix link error with armcc if command line is too long
add platform.c, enable component init
Merge branch 'master' of github.com:prife/stm32f10x_demo