I don't own the specific motherboard and I don't know what kind of firmware is running on the RP2040 core, i just assume it isn't seamlessly integrated (eg. it doesn't shows up as a native GPIO device).
b...@courriel.fr.eu.org írta 2025. ápr.. 4, P-n 15:24 órakor: > Le Tue, 01 Apr 2025 08:06:27 +0200, > MIZSEI Zoltán <zmiz...@extrowerk.com> a écrit : > >> It won't work as a GPIO device under OpenBSD, > > Why won't it work under OpenBSD? gpio(4) can't play with it? It needs a > specific driver for? > Is it because of the integrated RP2040 co-processor (and maybe it > will work with odroid h4)? > >> but you can get it indirectly working like this: >> >> In this case the GPIO is managed by an rp2040 (aka Raspberry Pico 1) >> chip. Using the Bootsel button on the board you can switch it into >> LOADER mode, so it shows up as a usb mass storage device. You can >> install your favorite Forth implementation (for example >> https://github.com/tabemann/zeptoforth ) copying the uf2 onto the >> RP2040 usb drive. It will then show up as a USB CDC serial port, >> connecto to it via "cu" (112500 / 8N1) and write a simple algorythm >> to act as a bridge between the serial port and the GPIO pins. >> >> You can test it with any kind of rp2040 board you have in your drawer >> to extend your computer with 40pin GPIO (some of them are GND, so it >> isn't really 40 independent pin, but with RP2350 you can have true 40 >> pin GPIO). > > thx for the trick. -- --Z--