You can get the source code from https://github.com/ajhc/demo-cortex-m3.
http://www.nicovideo.jp/watch/sm24680279