sekigon-gonnoc/Pico-PIO-USB

🪲[BUG] Compile error

Closed this issue · 1 comments

Is there any plan to adapt to SDK2.0 in the future? Now the compilation will report an error.

C:\Users\zhuangzhanyu\Desktop\Pico-PIO-USB\src\usb_rx.pio.h:186:29: error: redefinition of 'pio_sm_set_jmp_pin'
  186 | static __always_inline void pio_sm_set_jmp_pin(PIO pio, uint sm, uint jmp_pin) {
      |                             ^~~~~~~~~~~~~~~~~~
In file included from C:\Users\zhuangzhanyu\Desktop\Pico-PIO-USB\src\pio_usb.c:14:
D:\pico2\pico-sdk\src\rp2_common\hardware_pio\include/hardware/pio.h:1450:20: note: previous definition of 'pio_sm_set_jmp_pin' was here
 1450 | static inline void pio_sm_set_jmp_pin(PIO pio, uint sm, uint pin) {

Sorry, I tried to re-download and it compiled successfully.