mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 02:57:46 +00:00
avr: support tinygo run with simavr
This commit adds support for running both the Arduino Uno and the DigiSpark under a simulator.
This commit is contained in:
committed by
Daniel Esteban
parent
1a2f051bee
commit
e83d1a02b6
@@ -10,5 +10,6 @@
|
||||
"extra-files": [
|
||||
"targets/avr.S",
|
||||
"src/device/avr/atmega328p.s"
|
||||
]
|
||||
],
|
||||
"emulator": ["simavr", "-m", "atmega328p", "-f", "16000000"]
|
||||
}
|
||||
|
||||
@@ -15,5 +15,6 @@
|
||||
"targets/avr.S",
|
||||
"src/device/avr/attiny85.s"
|
||||
],
|
||||
"flash-command": "micronucleus --run {hex}"
|
||||
"flash-command": "micronucleus --run {hex}",
|
||||
"emulator": ["simavr", "-m", "attiny85", "-f", "16000000"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user