Ada source code and complete sample GNAT projects for selected bare-board platforms supported by GNAT.
BSD 3-Clause "New" or "Revised" License
248
stars
144
forks
source link
Add board feature to initialize the Crazyflie external SPI. #349
Closed
simonjwright closed 4 years ago
This unit already contains procedures (
Initialize_I2C_GPIO
,Configure_I2C
) to do the hard work of initializing I2C.There was no need to initialize SPI, because the basic Crazyflie doesn’t use it; however, SPI is used to communicate with the various decks.
This patch introduces a procedure to initialize the external SPI port, and another to configure the required Chip Select pin.
Replaces pull request #346.