kidoman / embd

Embedded Programming Framework in Go
http://embd.kidoman.io
MIT License
1.28k stars 156 forks source link

Make spidev driver work on platforms with high spidev names #33

Closed claesjac closed 7 years ago

claesjac commented 9 years ago

Some platforms, such as the Aria G25 board I'm using which is running the Atmel SAM9G25 ARM, names its spidev as /dev/spidev32766.*. Using only a byte makes it impossible to refer to this.

This patch changes spiDeviceMinor type from byte to an int.

claesjac commented 9 years ago

commit ae869cc is probably irrelevant for inclusion in base embd

tve commented 7 years ago

This should be fixed by #69, please reopen if not.