Skip to content

Commit 9b27176

Browse files
committed
Change pio_i2s.pio back to pio v0.
1 parent f2b8087 commit 9b27176

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

libraries/I2S/src/pio_i2s.pio.h

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#define pio_i2s_mclk_wrap_target 0
1616
#define pio_i2s_mclk_wrap 1
17-
#define pio_i2s_mclk_pio_version 1
17+
#define pio_i2s_mclk_pio_version 0
1818

1919
static const uint16_t pio_i2s_mclk_program_instructions[] = {
2020
// .wrap_target
@@ -28,7 +28,7 @@ static const struct pio_program pio_i2s_mclk_program = {
2828
.instructions = pio_i2s_mclk_program_instructions,
2929
.length = 2,
3030
.origin = -1,
31-
.pio_version = 1,
31+
.pio_version = 0,
3232
#if PICO_PIO_VERSION > 0
3333
.used_gpio_ranges = 0x0
3434
#endif
@@ -47,7 +47,7 @@ static inline pio_sm_config pio_i2s_mclk_program_get_default_config(uint offset)
4747

4848
#define pio_i2s_out_wrap_target 0
4949
#define pio_i2s_out_wrap 7
50-
#define pio_i2s_out_pio_version 1
50+
#define pio_i2s_out_pio_version 0
5151

5252
static const uint16_t pio_i2s_out_program_instructions[] = {
5353
// .wrap_target
@@ -67,7 +67,7 @@ static const struct pio_program pio_i2s_out_program = {
6767
.instructions = pio_i2s_out_program_instructions,
6868
.length = 8,
6969
.origin = -1,
70-
.pio_version = 1,
70+
.pio_version = 0,
7171
#if PICO_PIO_VERSION > 0
7272
.used_gpio_ranges = 0x0
7373
#endif
@@ -87,7 +87,7 @@ static inline pio_sm_config pio_i2s_out_program_get_default_config(uint offset)
8787

8888
#define pio_i2s_out_swap_wrap_target 0
8989
#define pio_i2s_out_swap_wrap 7
90-
#define pio_i2s_out_swap_pio_version 1
90+
#define pio_i2s_out_swap_pio_version 0
9191

9292
static const uint16_t pio_i2s_out_swap_program_instructions[] = {
9393
// .wrap_target
@@ -107,7 +107,7 @@ static const struct pio_program pio_i2s_out_swap_program = {
107107
.instructions = pio_i2s_out_swap_program_instructions,
108108
.length = 8,
109109
.origin = -1,
110-
.pio_version = 1,
110+
.pio_version = 0,
111111
#if PICO_PIO_VERSION > 0
112112
.used_gpio_ranges = 0x0
113113
#endif
@@ -127,7 +127,7 @@ static inline pio_sm_config pio_i2s_out_swap_program_get_default_config(uint off
127127

128128
#define pio_tdm_out_wrap_target 0
129129
#define pio_tdm_out_wrap 3
130-
#define pio_tdm_out_pio_version 1
130+
#define pio_tdm_out_pio_version 0
131131

132132
static const uint16_t pio_tdm_out_program_instructions[] = {
133133
// .wrap_target
@@ -143,7 +143,7 @@ static const struct pio_program pio_tdm_out_program = {
143143
.instructions = pio_tdm_out_program_instructions,
144144
.length = 4,
145145
.origin = -1,
146-
.pio_version = 1,
146+
.pio_version = 0,
147147
#if PICO_PIO_VERSION > 0
148148
.used_gpio_ranges = 0x0
149149
#endif
@@ -163,7 +163,7 @@ static inline pio_sm_config pio_tdm_out_program_get_default_config(uint offset)
163163

164164
#define pio_tdm_out_swap_wrap_target 0
165165
#define pio_tdm_out_swap_wrap 3
166-
#define pio_tdm_out_swap_pio_version 1
166+
#define pio_tdm_out_swap_pio_version 0
167167

168168
static const uint16_t pio_tdm_out_swap_program_instructions[] = {
169169
// .wrap_target
@@ -179,7 +179,7 @@ static const struct pio_program pio_tdm_out_swap_program = {
179179
.instructions = pio_tdm_out_swap_program_instructions,
180180
.length = 4,
181181
.origin = -1,
182-
.pio_version = 1,
182+
.pio_version = 0,
183183
#if PICO_PIO_VERSION > 0
184184
.used_gpio_ranges = 0x0
185185
#endif
@@ -199,7 +199,7 @@ static inline pio_sm_config pio_tdm_out_swap_program_get_default_config(uint off
199199

200200
#define pio_lsbj_out_wrap_target 0
201201
#define pio_lsbj_out_wrap 7
202-
#define pio_lsbj_out_pio_version 1
202+
#define pio_lsbj_out_pio_version 0
203203

204204
static const uint16_t pio_lsbj_out_program_instructions[] = {
205205
// .wrap_target
@@ -219,7 +219,7 @@ static const struct pio_program pio_lsbj_out_program = {
219219
.instructions = pio_lsbj_out_program_instructions,
220220
.length = 8,
221221
.origin = -1,
222-
.pio_version = 1,
222+
.pio_version = 0,
223223
#if PICO_PIO_VERSION > 0
224224
.used_gpio_ranges = 0x0
225225
#endif
@@ -239,7 +239,7 @@ static inline pio_sm_config pio_lsbj_out_program_get_default_config(uint offset)
239239

240240
#define pio_lsbj_out_swap_wrap_target 0
241241
#define pio_lsbj_out_swap_wrap 7
242-
#define pio_lsbj_out_swap_pio_version 1
242+
#define pio_lsbj_out_swap_pio_version 0
243243

244244
static const uint16_t pio_lsbj_out_swap_program_instructions[] = {
245245
// .wrap_target
@@ -259,7 +259,7 @@ static const struct pio_program pio_lsbj_out_swap_program = {
259259
.instructions = pio_lsbj_out_swap_program_instructions,
260260
.length = 8,
261261
.origin = -1,
262-
.pio_version = 1,
262+
.pio_version = 0,
263263
#if PICO_PIO_VERSION > 0
264264
.used_gpio_ranges = 0x0
265265
#endif
@@ -279,7 +279,7 @@ static inline pio_sm_config pio_lsbj_out_swap_program_get_default_config(uint of
279279

280280
#define pio_i2s_in_wrap_target 0
281281
#define pio_i2s_in_wrap 7
282-
#define pio_i2s_in_pio_version 1
282+
#define pio_i2s_in_pio_version 0
283283

284284
static const uint16_t pio_i2s_in_program_instructions[] = {
285285
// .wrap_target
@@ -299,7 +299,7 @@ static const struct pio_program pio_i2s_in_program = {
299299
.instructions = pio_i2s_in_program_instructions,
300300
.length = 8,
301301
.origin = -1,
302-
.pio_version = 1,
302+
.pio_version = 0,
303303
#if PICO_PIO_VERSION > 0
304304
.used_gpio_ranges = 0x0
305305
#endif
@@ -319,7 +319,7 @@ static inline pio_sm_config pio_i2s_in_program_get_default_config(uint offset) {
319319

320320
#define pio_i2s_in_swap_wrap_target 0
321321
#define pio_i2s_in_swap_wrap 7
322-
#define pio_i2s_in_swap_pio_version 1
322+
#define pio_i2s_in_swap_pio_version 0
323323

324324
static const uint16_t pio_i2s_in_swap_program_instructions[] = {
325325
// .wrap_target
@@ -339,7 +339,7 @@ static const struct pio_program pio_i2s_in_swap_program = {
339339
.instructions = pio_i2s_in_swap_program_instructions,
340340
.length = 8,
341341
.origin = -1,
342-
.pio_version = 1,
342+
.pio_version = 0,
343343
#if PICO_PIO_VERSION > 0
344344
.used_gpio_ranges = 0x0
345345
#endif
@@ -359,7 +359,7 @@ static inline pio_sm_config pio_i2s_in_swap_program_get_default_config(uint offs
359359

360360
#define pio_i2s_inout_wrap_target 0
361361
#define pio_i2s_inout_wrap 11
362-
#define pio_i2s_inout_pio_version 1
362+
#define pio_i2s_inout_pio_version 0
363363

364364
static const uint16_t pio_i2s_inout_program_instructions[] = {
365365
// .wrap_target
@@ -383,7 +383,7 @@ static const struct pio_program pio_i2s_inout_program = {
383383
.instructions = pio_i2s_inout_program_instructions,
384384
.length = 12,
385385
.origin = -1,
386-
.pio_version = 1,
386+
.pio_version = 0,
387387
#if PICO_PIO_VERSION > 0
388388
.used_gpio_ranges = 0x0
389389
#endif
@@ -403,7 +403,7 @@ static inline pio_sm_config pio_i2s_inout_program_get_default_config(uint offset
403403

404404
#define pio_i2s_inout_swap_wrap_target 0
405405
#define pio_i2s_inout_swap_wrap 11
406-
#define pio_i2s_inout_swap_pio_version 1
406+
#define pio_i2s_inout_swap_pio_version 0
407407

408408
static const uint16_t pio_i2s_inout_swap_program_instructions[] = {
409409
// .wrap_target
@@ -427,7 +427,7 @@ static const struct pio_program pio_i2s_inout_swap_program = {
427427
.instructions = pio_i2s_inout_swap_program_instructions,
428428
.length = 12,
429429
.origin = -1,
430-
.pio_version = 1,
430+
.pio_version = 0,
431431
#if PICO_PIO_VERSION > 0
432432
.used_gpio_ranges = 0x0
433433
#endif

0 commit comments

Comments
 (0)