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

General • Compilation errors on Waveshare RP2350B DVI

$
0
0
I bought a fancy RPI2350B with pio-usb DVI and microsd, downloaded the code to take a look and tried the picoDVI examples provided (btw I'm well aware of picoDVI on 2240, I made audio support on it)
The problem is in compilation, cmake process completes correctly but when compiling asm specific code I get something that seems a pending to replace cmake/precompiler header values:

Code:

[  4%] Building ASM object apps/hello_dvi/CMakeFiles/hello_dvi.dir/__/__/libdvi/tmds_encode.S.o/Users/me/Dev/iot/picodev/pico-sdk/src/boards/include/boards/pico2.h: Assembler messages:/Users/me/Dev/iot/picodev/pico-sdk/src/boards/include/boards/pico2.h:17: Error: bad instruction `pico_board_cmake_set(PICO_PLATFORM, rp2350)'/Users/me/Dev/iot/picodev/pico-sdk/src/boards/include/boards/pico2.h:78: Error: bad instruction `pico_board_cmake_set_default(PICO_FLASH_SIZE_BYTES, (4*1024*1024))'/Users/me/Dev/iot/picodev/pico-sdk/src/boards/include/boards/pico2.h:96: Error: bad instruction `pico_board_cmake_set_default(PICO_RP2350_A2_SUPPORTED, 1)'make[2]: *** [apps/hello_dvi/CMakeFiles/hello_dvi.dir/__/__/libdvi/tmds_encode.S.o] Error 
Tested with the latest code on picoDVI and Its working, btw I'm setting CMAKE with

Code:

 cmake -DPICO_PLATFORM=rp2350 -DPICO_COPY_TO_RAM=1 -DDVI_DEFAULT_SERIAL_CONFIG=pico_sock_cfg ..

Statistics: Posted by mlorenzati — Mon Sep 22, 2025 12:48 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles