# does not support setting SPI_NO_CS mode bit (issue #104)
if not self.chip.AM33XX and not self.chip.IMX8MX and not self.chip.SAMA5 \
and not self.chip.APQ8016 and not self.chip.T210 and not self.chip.T186 \
- and not self.chip.T194:
+ and not self.chip.T194 and not self.chip.SUN8I:
try:
self._spi.no_cs = True # this doesn't work but try anyways
except AttributeError:
break
else:
raise NotImplementedError(
- "No Hardware I2C on (scl,sda)={}\nValid UART ports: {}".format((scl, sda), i2cPorts)
+ "No Hardware I2C on (scl,sda)={}\nValid I2C ports: {}".format((scl, sda), i2cPorts)
)
def deinit(self):