meshtastic / framework-portduino

An Arduino API that sits on top of Linux and other operating systems. This lets you run Arduino code on Raspberry PI, desktops, etc... All as a standard user-space application.
GNU Lesser General Public License v2.1
30 stars 13 forks source link

Variable number of gpios #23

Closed jp-bennett closed 5 months ago

jp-bennett commented 5 months ago

We've had users trying to run meshtasticd on other "fruit" boards, and have run into the problem that some boards use high number GPIOs. This is a simple fix, that allows setting the NUM_GPIOS in the gpioInit() function.