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!..
Этот коммит содержится в:
родитель
c61c5e5799
коммит
854092c7bc
1 изменённых файлов: 2 добавлений и 1 удалений
|
@ -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"]
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче