avr: configure emulator in board files

Instead of specifying the emulator command in atmega328p.json, specify
it in the two boards based on it (arduino and arduino-nano). This makes
the configuration consistent with the machine package, which only
defines the CPUFrequency function in the board files (and not in
machine_atmega328p.json).
This commit is contained in:
Ayke van Laethem
2020-09-06 18:33:56 +02:00
committed by Ron Evans
parent de3ffe0af7
commit b99175a436
3 changed files with 5 additions and 4 deletions
+1 -2
View File
@@ -12,6 +12,5 @@
"extra-files": [
"targets/avr.S",
"src/device/avr/atmega328p.s"
],
"emulator": ["simavr", "-m", "atmega328p", "-f", "16000000"]
]
}