From: Christopher Alessandro Date: Mon, 3 Jun 2019 17:31:04 +0000 (-0700) Subject: Add SAMA5 to set_no_cs X-Git-Tag: 2.0.0^2 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/5f2c3fb5ad0f9892b9910a4e7c4beca0f3f79b77 Add SAMA5 to set_no_cs --- 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: