tgo: Add extra chip types for nRF
Этот коммит содержится в:
родитель
5fa39adb81
коммит
2390b24c5a
1 изменённых файлов: 1 добавлений и 1 удалений
2
tgo.go
2
tgo.go
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче