jeffdi
the utility for building the stream are gpio_config_builder.py and it uses gpio config_def.py for the definition of the chain and the target configs.
jeffdi [7:23 AM]
it creates two files - gpio_config_data.c and gpio_config_data.py with the streams
jeffdi [7:25 AM]
there gpio_config_io.c which can be included into the user program and it includes the routine gpio_config_io() along with the stream that will configure the io.
jeffdi [7:25 AM]
debug_io.c is the firmware example that uses it