Browse Source

tgo: Add extra chip types for nRF

pull/6/head
Ayke van Laethem 7 years ago
parent
commit
2390b24c5a
No known key found for this signature in database GPG Key ID: E97FF5335DFDFDED
  1. 2
      tgo.go

2
tgo.go

@ -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"
}

Loading…
Cancel
Save