• Jeffrey Lee's avatar
    Add basic HAL devices for the SPI controllers · f2a40e26
    Jeffrey Lee authored
    Detail:
      s/SPI - Basic HAL devices for the 3 SPI controllers. These expose the register addresses & IRQ numbers, and (for SPI1 & SPI2) deal with enabling/disabling the hardware and the shared IRQ line. GPIO mapping currently isn't dealt with - we don't know which pin group to use (SPI0 can use two different sets on the compute) or how many chip select lines are desired.
      Makefile - Add SPI source
      hdr/BCM2835 - Add aux SPI registers
      hdr/StaticWS - Reserve workspace for the HAL devices
      s/Top - Register new devices in HAL_InitDevices
    Admin:
      Tested on Raspberry Pi B & 2 B
    
    
    Version 0.45. Tagged as 'BCM2835-0_45'
    f2a40e26
VersionNum 803 Bytes