Properly supports new board revision scheme for SD source file
Detail: Parses the revision ID bitfield for new-style revisions - should provide some level of forward compatibility at last. The equivalent code in s.GPIO hasn't been tackled yet, mainly because it requires some thought about how best to handle the Compute module (given that the daughter card can be plugged into any number of devices, each of which will use GPIO differently). Admin: Tested on Compute module and Pi 2 with latest firmware. Version 0.42. Tagged as 'BCM2835-0_42'
Showing with 40 additions and 13 deletions