Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8597

Other RP2040 boards • The RP2040-PiZero DVI example code does not compile

$
0
0
Hello,
I bought the RP2040-PiZero Development Board. I followed official manual https://www.waveshare.com/wiki/RP2040-PiZero , installed all necessary software (VSCode and Arduino IDE) and tried to compile the Sample Demo -> C Demo -> 01-DVI projects
And in both - Arduino IDE or VSCode I am getting the same error.
E:/Projects/Raspberry Pi Pico/PiZero_DVI/libdvi/dvi.c: In function 'dvi_dma_irq_handler':
E:/Projects/Raspberry Pi Pico/PiZero_DVI/libdvi/dvi.c:187:68: error: 'dma_debug_channel_hw_t' has no member named 'tcr'
187 | while (dma_debug_hw->ch[inst->dma_cfg.chan_data].tcr != inst->timing->h_active_pixels / DVI_SYMBOLS_PER_WORD)
| ^
[6/80] Building C object apps/hello_dvi/CMakeFiles/hello_dvi.dir/C_/Users/irek/.pico-sdk/sdk/2.1.1/src/rp2_common/hardware_pio/pio.c.obj
ninja: build stopped: subcommand failed.


Can you help me to correct this problem ?
Thank you in advance!
Irek

Statistics: Posted by Irek — Thu Jun 19, 2025 9:31 am



Viewing all articles
Browse latest Browse all 8597

Trending Articles