Files
mkrtos-real/mkrtos_script/stm32f2.resc

16 lines
280 B
Plaintext
Raw Normal View History

using sysbus
mach create
machine LoadPlatformDescription @platforms/cpus/stm32f2.repl
$bin?=@/Users/zhangzheng/mkrtos-real/build/output/kernel.img
showAnalyzer usart1
macro reset
"""
sysbus LoadBinary $bin 0x8000000
cpu VectorTableOffset 0x8000000
"""
runMacro $reset