Hello, I am using the rp2040 board "w5500-evb-pico" [1]. The board directory contains a file "src/rp2040_gpio.c", which "registers" three GPIO pins (6, 14, 25) [2]. These GPIOs are visible in the nuttshell (`ls /dev`) and can be used via `ioctl` in my application code. This is great.
Now I want to use *more* GPIO pins. But I am not sure how to proceed. I assume, that I need to copy the existing board directory and add more GPIOs in src/rp2040_gpio.c? Having to maintain this copy of the board feels a bit dirty to me, even though I would probably try to ease the pain by symlinking most existing board files. But maybe this is just the way to go? Or is there another approach, which could avoid the code copy? Thanks for your time! Cheers, Lars [1] https://github.com/apache/nuttx/blob/master/boards/arm/rp2040/w5500-evb-pico [2] https://github.com/apache/nuttx/blob/master/boards/arm/rp2040/w5500-evb-pico/src/rp2040_gpio.c#L47