tinygo-org / tinygo

Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
https://tinygo.org
Other
15.52k stars 914 forks source link

Using tinygo for new/unsupported hardware #3220

Open cfbraun opened 2 years ago

cfbraun commented 2 years ago

I'm currently trying to use a Texas Instruments MSP432E401Y MCU with TinyGo. I would like to avoid having to modify the TinyGo installation, but it looks like the Go package management forces me to at least create machine/machine_msp432.go and runtime/runtime_msp432.go inside the TinyGo tree. Am I overlooking something?

aykevl commented 2 years ago

For context: this is a Cortex-M4F.

This is not currently supported. It's something I want to move towards eventually but that will require a lot of work (and probably break backwards compatibility in some way).