tgo: Add extra chip types for nRF

This commit is contained in:
Ayke van Laethem
2018-06-03 17:54:18 +02:00
parent 5fa39adb81
commit 2390b24c5a
+1 -1
View File
@@ -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"
}