| using sysbus | |
| mach create | |
| machine LoadPlatformDescription @platforms/cpus/stm32f103.repl | |
| machine LoadPlatformDescriptionFromString "button: Miscellaneous.Button @ gpioPortC 13 { IRQ -> gpioPortC@13 }" | |
| $bin?=@https://dl.antmicro.com/projects/renode/zephyr-stm32f103-button.elf-s_276760-1bf32c99bbb3c01d81e13ca68118eaf08b2a815f | |
| showAnalyzer usart2 | |
| macro reset | |
| """ | |
| sysbus LoadELF $bin | |
| """ | |
| runMacro $reset |