mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 11:13:27 +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
|
var buildTags []string
|
||||||
// TODO: put this somewhere else
|
// TODO: put this somewhere else
|
||||||
if target == "pca10040" {
|
if target == "pca10040" {
|
||||||
buildTags = append(buildTags, "nrf")
|
buildTags = append(buildTags, "nrf", "nrf52", "nrf52832")
|
||||||
target = "armv7m-none-eabi"
|
target = "armv7m-none-eabi"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user