mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 03:27:48 +00:00
e83d1a02b6
This commit adds support for running both the Arduino Uno and the DigiSpark under a simulator.
16 lines
353 B
JSON
16 lines
353 B
JSON
{
|
|
"inherits": ["avr"],
|
|
"llvm-target": "avr-atmel-none",
|
|
"cpu": "atmega328p",
|
|
"build-tags": ["atmega328p", "atmega", "avr5"],
|
|
"cflags": [
|
|
"-mmcu=atmega328p"
|
|
],
|
|
"linkerscript": "src/device/avr/atmega328p.ld",
|
|
"extra-files": [
|
|
"targets/avr.S",
|
|
"src/device/avr/atmega328p.s"
|
|
],
|
|
"emulator": ["simavr", "-m", "atmega328p", "-f", "16000000"]
|
|
}
|