-
Notifications
You must be signed in to change notification settings - Fork 220
Description
-
Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.): BeagleBone Pocket -
Python version (run
python -version
orpython3 -version
): N/A -
Error message you are receiving, including any Python exception traces: N/A
-
List the steps to reproduce the problem below (if possible attach code or commands
to run): The beaglebone pocket uses pin conventions like P1_## or P2_## (as opposed to P8_## or P9_##) which are key names not recognized by the table that maps pin names to kernel gpio numbers in source/common.c (specifically lookup_gpio_by_key() function). On the pocket beagle, /usr/bin/config-pin does recognize these and provides the mapping info. But in order to program via python, this table needs to be updated for the pocket beagle. I patched my local adafruit-beaglebone-io-python with my own mappings for the pins I wanted to use and it resolved my issue. So I think its just a matter of adding the P1_## P2_## entries and the pocket would be supported.