Skip to content

Commit cf4fcca

Browse files
soypatdeadprogram
authored andcommitted
tweaks
1 parent 234febd commit cf4fcca

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,15 @@ sudo make install
5252

5353
To develop a PIO program you first start out with the .pio file. Let's look at the Pulsar example first.
5454

55-
1. `pulsar.pio` specifies a binary PIO program that can be loaded to the PIO program memory.
56-
2. `all_generate.go`: holds the code generation command on the line with `//go:generate pioasm -o go pulsar.pio pulsar_pio.go` which by itself generates the raw binary code that can be loaded onto the PIO along with helper code to load it correctly inside `pulsar_pio.go`.
57-
3. `pulsar_pio.go`: contains the generated code by the `pioasm` tool.
58-
4. `pulsar.go`: contains the User facing code that allows using the PIO as intended by the author.
55+
1. [`pulsar.pio`](./rp2-pio/piolib/pulsar.pio): specifies a binary PIO program that can be loaded to the PIO program memory.
56+
2. [`all_generate.go`](./rp2-pio/piolib/all_generate.go): holds the code generation command on the line with `//go:generate pioasm -o go pulsar.pio pulsar_pio.go` which by itself generates the raw binary code that can be loaded onto the PIO along with helper code to load it correctly inside `pulsar_pio.go`.
57+
3. [`pulsar_pio.go`](./rp2-pio/piolib/pulsar_pio.go): contains the generated code by the `pioasm` tool.
58+
4. [`pulsar.go`](./rp2-pio/piolib/pulsar.go): contains the User facing code that allows using the PIO as intended by the author.
5959

6060
### Regenerating piolib
6161

6262
```shell
63-
cd rp2-pio/piolib
64-
go generate .
63+
go generate ./...
6564
```
6665

6766
### Other notes

0 commit comments

Comments
 (0)