mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 19:23:25 +00:00
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:
committed by
Ron Evans
parent
c61c5e5799
commit
854092c7bc
@@ -15,5 +15,6 @@
|
|||||||
"extra-files": [
|
"extra-files": [
|
||||||
"targets/avr.S",
|
"targets/avr.S",
|
||||||
"src/device/avr/atmega1284p.s"
|
"src/device/avr/atmega1284p.s"
|
||||||
]
|
],
|
||||||
|
"emulator": ["simavr", "-m", "atmega1284p", "-f", "20000000"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user