avr: add emulator to atmega1284p

Somehow I forgot to add this emulator. With this, you can easily emulate
programs:

    $ tinygo run -target=atmega1284p examples/serial
    Loaded 698 .text at address 0x0
    Loaded 12 .data
    hello world!..
    hello world!..
    hello world!..
This commit is contained in:
Ayke van Laethem
2020-03-20 15:13:49 +01:00
committed by Ron Evans
parent c61c5e5799
commit 854092c7bc
+2 -1
View File
@@ -15,5 +15,6 @@
"extra-files": [
"targets/avr.S",
"src/device/avr/atmega1284p.s"
]
],
"emulator": ["simavr", "-m", "atmega1284p", "-f", "20000000"]
}