mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 05:53:39 +00:00
all: make targets configurable with a JSON file
This is intentionally similar to the target specifications in Rust: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_target/spec/struct.TargetOptions.html
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"llvm-target": "avr-atmel-none",
|
||||
"build-tags": ["avr", "avr8", "atmega", "atmega328p", "js", "wasm"]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"llvm-target": "armv7m-none-eabi",
|
||||
"build-tags": ["nrf", "nrf52", "nrf52832", "js", "wasm"]
|
||||
}
|
||||
Reference in New Issue
Block a user