不支持windows编译及说明更新

This commit is contained in:
suguo.yao 2021-12-21 11:32:50 +08:00
parent ceff1f0abb
commit 07344e5bf2
2 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,11 @@ arm:
go mod tidy
GOOS=linux GOARCH=arm GOARM=7 go build
.PHONY: windows
windows:
go mod tidy
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ble.exe .
.PHONY: release
release: arm
ssh pi@192.168.0.21 "sudo systemctl stop ble.service"

View File

@ -4,7 +4,7 @@
希望用于通过蓝牙RSSI值判断距离的研究。
### 组件
- github.com/paypal/gatt
- github.com/paypal/gatt
### 部署
- sudo hciconfig hci0 down
@ -19,6 +19,8 @@
> lsb_release -a
- 直接查看系统的架构
> arch
- gatt supports both Linux and OS X.
> 不支持windows不支持windows不支持windows
### 意外收获
- 在低性能硬件上的程序优化