• Jeffrey Lee's avatar
    Use BCS1 instead of BCS0 for IIC when running on rev 2 boards · a1c4df2f
    Jeffrey Lee authored
      hdr/BCM2835, hdr/StaticWS, s/IIC - On rev 2 boards the usage of BSC0 and BSC1 have been swapped, such that BSC1 is now sent to the expansion header instead of BSC0.
      To allow RISC OS to continue to work with clock chips and other hardware fitted to the header, expose BSC1 to RISC OS if on a rev 2 board, or BSC0 if on a rev 1.
      Changes received from Dave Higton
      Tested by Dave on rev 1 & rev 2 boards, with IIC devices
      Tested by me on rev 1 board (with no IIC devices fitted)
    Version 0.24. Tagged as 'BCM2835-0_24'
VersionNum 803 Bytes