kopia lustrzana https://github.com/cyoung/stratux
moved files around to allow dependencies to be fetched during build
rodzic
d6529f25b8
commit
ca02aea01b
3
Makefile
3
Makefile
|
@ -3,7 +3,8 @@ GOARCH ?= arm
|
|||
GOARM ?= 7
|
||||
|
||||
all:
|
||||
GOOS=$(GOOS) GOARCH=$(GOARCH) GOARM=$(GOARM) go build gen_gdl90.go traffic.go ry835ai.go network.go
|
||||
GOOS=$(GOOS) GOARCH=$(GOARCH) GOARM=$(GOARM) go get -t -d -v ./...
|
||||
GOOS=$(GOOS) GOARCH=$(GOARCH) GOARM=$(GOARM) go build main/{gen_gdl90,traffic,ry835ai,network}.go
|
||||
|
||||
install:
|
||||
cp -f gen_gdl90 /usr/bin/gen_gdl90
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"github.com/kidoman/embd/sensor/bmp180"
|
||||
"github.com/tarm/serial"
|
||||
|
||||
"./mpu6050"
|
||||
"../mpu6050"
|
||||
)
|
||||
|
||||
type SituationData struct {
|
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"./mpu6050"
|
||||
"../mpu6050"
|
||||
"fmt"
|
||||
"github.com/kidoman/embd"
|
||||
_ "github.com/kidoman/embd/host/all"
|
Ładowanie…
Reference in New Issue