update ST Cortex-M3 porting part.
Merge pull request #22 from reynoldxu/pull-porting

update ST Cortex-M3 porting part.