From: brentrubell Date: Tue, 4 Jun 2019 19:17:17 +0000 (-0400) Subject: Merge pull request #124 from Groboards/master X-Git-Tag: 2.0.0 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/61d13d919e4e54d2163419ed7983cdbe31ad7568?hp=6c3b6d116af4c98260d5ae01f31787e6f6969b5a Merge pull request #124 from Groboards/master Add SAMA5 to set_no_cs to allow SPI device to setup. --- diff --git a/src/adafruit_blinka/microcontroller/generic_linux/spi.py b/src/adafruit_blinka/microcontroller/generic_linux/spi.py index 9ef05fc..ef442b1 100755 --- a/src/adafruit_blinka/microcontroller/generic_linux/spi.py +++ b/src/adafruit_blinka/microcontroller/generic_linux/spi.py @@ -35,7 +35,7 @@ class SPI: def set_no_cs(self): # Linux SPI driver for AM33XX chip in BeagleBone and PocketBeagle # does not support setting SPI_NO_CS mode bit (issue #104) - if not self.chip.AM33XX and not self.chip.IMX8MX: + if not self.chip.AM33XX and not self.chip.IMX8MX and not self.chip.SAMA5: try: self._spi.no_cs = True # this doesn't work but try anyways except AttributeError: