Code:
$ echo .program test > test.pio$ echo .side_set 2 opt >> test.pio$ pioasm test.pio | tail};static inline pio_sm_config test_program_get_default_config(uint offset) { pio_sm_config c = pio_get_default_sm_config(); sm_config_set_wrap(&c, offset + test_wrap_target, offset + test_wrap); sm_config_set_sideset(&c, 3, true, false); return c;}#endifStatistics: Posted by PicoTinker — Sun Mar 23, 2025 12:33 pm