You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This prevents using even BusIO's software SPI capability in those cases.
Further, there are numerous code segments in the nominal software parts that are relying on being able to import SPI.h. For example, the software constructor is using SPISettings:
Current code has a preproc check that will skip all of the code for boards that do not have a hardware SPI capability:
Adafruit_BusIO/Adafruit_SPIDevice.h
Lines 6 to 7 in afbd408
This prevents using even BusIO's software SPI capability in those cases.
Further, there are numerous code segments in the nominal software parts that are relying on being able to import
SPI.h
. For example, the software constructor is usingSPISettings
:Adafruit_BusIO/Adafruit_SPIDevice.cpp
Line 71 in afbd408
as well as
SPIMode
defs.To better support software SPI only boards, would help to do a general refactor to better separate the HW/SW code.
The text was updated successfully, but these errors were encountered: