1:name: FIREFLY 2:description: This script runs Hello World example from Contiki-NG on Zolertia Firefly. 3 4$name?="Zolertia" 5using sysbus 6mach create $name 7 8machine LoadPlatformDescription @platforms/boards/zolertia-firefly.repl 9 10machine PyDevFromFile @scripts/pydev/rolling-bit.py 0x400D2004 0x4 True "sysctrl" 11 12showAnalyzer uart0 13 14$id = `next_value 1` 15 16macro reset 17""" 18 #set node address. 0x00 0x12 0x4B is TI OUI 19 sysbus WriteDoubleWord 0x00280028 $id 20 sysbus WriteDoubleWord 0x0028002C 0x00 21 sysbus WriteDoubleWord 0x00280030 0xAB 22 sysbus WriteDoubleWord 0x00280034 0x89 23 sysbus WriteDoubleWord 0x00280038 0x00 24 sysbus WriteDoubleWord 0x0028003C 0x4B 25 sysbus WriteDoubleWord 0x00280040 0x12 26 sysbus WriteDoubleWord 0x00280044 0x00 27 28 sysbus LoadBinary @https://dl.antmicro.com/projects/renode/cc2538_rom_dump.bin-s_524288-0c196cdc21b5397f82e0ff42b206d1cc4b6d7522 0x0 29 sysbus LoadELF @https://dl.antmicro.com/projects/renode/contiki-ng-zolertia-hello-world.elf-s_174148-6c609e4e8ac5ff30a36ac6d9c11f3a8536aac59b 30 31""" 32 33runMacro $reset 34