You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,18 +72,18 @@ go install github.com/hybridgroup/go-haystack
72
72
1. Generate keys for a device
73
73
74
74
```shell
75
-
go-haystack -name=DEVICENAME
75
+
go-haystack keys DEVICENAME
76
76
```
77
77
78
78
The keys will be saved in a file named `DEVICENAME.keys` and the configuration file for Haystack will be saved in `DEVICENAME.json`. Replace "DEVICENAME" with whatever you want to name the actual device.
79
79
80
80
81
-
2. Flash the hardware with the target name of your device and those keys
81
+
2. Flash the hardware with the TinyGo target and the name of your device.
82
82
83
83
For example:
84
84
85
85
```shell
86
-
./flash.sh nano-rp2040 DEVICENAME.keys
86
+
go-haystack flash nano-rp2040 DEVICENAME
87
87
```
88
88
89
89
This will use TinyGo to compile the firmware using your keys, and then flash it to the device. See [https://tinygo.org/getting-started/overview/](https://tinygo.org/getting-started/overview/) for more information about TinyGo.
0 commit comments