Tools
pio2o
uses JSON data to extract PIO program data in lieu of parsing the C-header file.- Note that this requires
pioasm
from v2.x of the Pico C SDK, since v1.x does not create JSON output (hence the need to parse C before). - Use
PIO.Program
in lieu of procedure parameters to get the PIO program data. - Also tested on macOS.
Module PIO
- Define
PIO.Program
to convey the PIO program data from PIO assembly code to Oberon. PIO.Program
comprises all PIO program data provided bypioasm
, as defined in the PIO assembly source file. Not all may be used there.
Example Program PIOsquare
- Update example program PIOsquare to use
PIO.Program
.