mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 11:07:46 +00:00
tgo: Add extra chip types for nRF
This commit is contained in:
@@ -1347,7 +1347,7 @@ func Compile(pkgName, runtimePath, outpath, target string, printIR bool) error {
|
||||
var buildTags []string
|
||||
// TODO: put this somewhere else
|
||||
if target == "pca10040" {
|
||||
buildTags = append(buildTags, "nrf")
|
||||
buildTags = append(buildTags, "nrf", "nrf52", "nrf52832")
|
||||
target = "armv7m-none-eabi"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user