]> Repositories - Adafruit_Blinka-hackapet.git/commit
change SPI index for BeagleBone/PocketBeagle #106
authorDrew Fustini <drew@pdp7.com>
Sun, 14 Apr 2019 10:17:47 +0000 (12:17 +0200)
committerGitHub <noreply@github.com>
Sun, 14 Apr 2019 10:17:47 +0000 (12:17 +0200)
commit636a602fb0f52233ff6c74aa5604e8cc9e586dad
treeed5fb8fc34905e0f2bf7eb7e1ba69fc1c2e9e86c
parent42d260d7f2c96700d52b51e8a0d71a4c570058c2
change SPI index for BeagleBone/PocketBeagle #106

Change SPI port index because SPI0 is /dev/spidev1.x and SPI1 is /dev/spidev2.x on both:
* the current recommended BeagleBoard.org Debian image: Debian 9.5 (Stretch) from 2018-10-07
* the newest Debian 9.8 (Strecth) snapshot from 2019-04-07

This change is to fix issue #106: inconsistent spidev index on AM335x-based boards like BeagleBone Black and PocketBeagle.
src/adafruit_blinka/microcontroller/am335x/pin.py