]> Repositories - Adafruit_Blinka-hackapet.git/commit
Support pin names in RPI style for Coral boards
authorScott Main <smain@google.com>
Tue, 8 Dec 2020 02:04:52 +0000 (18:04 -0800)
committerScott Main <smain@google.com>
Tue, 8 Dec 2020 18:24:49 +0000 (10:24 -0800)
commit67df25c8ffce4784d8fe7135149a65d70bb53be6
tree959255ffe7304e8531242c3f38ccba9b4b913ba4
parente068d9bae4e962b31ad6f83cacec895dd1ffffa3
Support pin names in RPI style for Coral boards

This should allow code compatibility across boards when using the
"D#" names, as per the Raspberry Pi header.

This also renames several pin names for the Mini so they actually match
the datasheet pin names. (Previously, I mistakenly used pin names
from the original Dev Board.) These renames are safe at this point
because the Dev Board Mini has not shipped yet.
src/adafruit_blinka/board/coral_dev_board.py
src/adafruit_blinka/board/coral_dev_board_mini.py
src/adafruit_blinka/microcontroller/mt8167/pin.py