jperkin / node-rpio

Raspberry Pi GPIO library for node.js
856 stars 123 forks source link

Aux spi port and roll-up other PRs #181

Open MarkvanderPol opened 3 months ago

MarkvanderPol commented 3 months ago

A PR of my aux_spi changes, as well as other PR's submitted over the last 3 years.

Included are : Update nan to min 2.18.0 Update readme with confirmed working node versions Add node 16/18 to previous LTS testing Update to NodeJS 15 and 16 feat: adding support for device_tree_path in rpio.init to fix #154 Added proper pinmap detection for BPI-M2P Zero 40pin Added support for driving the aux-spi port.

Ultimately, I intend to push this to the node npm repository as a package under a scoped public name '@remarkablearts/rpio allowing easy inclusion of these updates . Of course, J Perkin can merge this (or the other PRs independently) and npm should pick up the new version as well. but until then, the scoped package will be available.

NOTE - I did not test the changes except for the AUX_SPI stuff I contributed. Examining the code, they seem to do what the authors intended, but not verified by me.

jperkin commented 3 months ago

Thanks! A lot of this looks great, sorry that I've been swamped for a while. I'll try to get to this as soon as I can.