mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 15:33:40 +00:00
avr: add support for the digispark
Blinking the on-board LED works. Nothing else has been tested yet.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"inherits": ["avr"],
|
||||
"llvm-target": "avr-atmel-none",
|
||||
"build-tags": ["digispark", "attiny85", "attiny", "avr2", "avr25"],
|
||||
"pre-link-args": [
|
||||
"-nostartfiles",
|
||||
"-mmcu=attiny85",
|
||||
"-Wl,--defsym=_bootloader_size=2180",
|
||||
"-Wl,--defsym=_stack_size=128",
|
||||
"-T", "src/device/avr/attiny85.ld",
|
||||
"-T", "targets/avr.ld",
|
||||
"-Wl,--gc-sections",
|
||||
"targets/avr.S",
|
||||
"src/device/avr/attiny85.s"
|
||||
],
|
||||
"flash": "micronucleus --run {hex}"
|
||||
}
|
||||
Reference in New Issue
Block a user