From 5f2c3fb5ad0f9892b9910a4e7c4beca0f3f79b77 Mon Sep 17 00:00:00 2001 From: Christopher Alessandro Date: Mon, 3 Jun 2019 10:31:04 -0700 Subject: [PATCH] Add SAMA5 to set_no_cs --- src/adafruit_blinka/microcontroller/generic_linux/spi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.49.0