]> Repositories - Adafruit_Blinka-hackapet.git/log
Adafruit_Blinka-hackapet.git
6 years ago[examples] added python3 env
s-light [Mon, 1 Apr 2019 19:00:11 +0000 (21:00 +0200)]
[examples] added python3 env

6 years ago[examples] make executable
s-light [Mon, 1 Apr 2019 18:50:41 +0000 (20:50 +0200)]
[examples] make executable

6 years ago[am335x] added NonGPIO pins as comments
s-light [Mon, 1 Apr 2019 10:03:45 +0000 (12:03 +0200)]
[am335x] added NonGPIO pins as comments

6 years agoFix pylint error in PocketBeagle example
Drew Fustini [Sun, 31 Mar 2019 23:28:46 +0000 (00:28 +0100)]
Fix pylint error in PocketBeagle example

6 years agoadd PocketBeagle example to blink LED
Drew Fustini [Sun, 31 Mar 2019 23:20:45 +0000 (00:20 +0100)]
add PocketBeagle example to blink LED

add PocketBeagle example to blink LED

Note: Python programs using Blinka on PocketBeagle and BeagleBone need to use `sudo`.  Refer to this issue for more information:
https://github.com/adafruit/Adafruit_Python_PlatformDetect/issues/20

Here is the output of this program running OK on a PocketBeagle:
debian@beaglebone:~/Adafruit_Blinka/examples$ sudo python3 pb_digitalio.py
[sudo] password for debian:
hello blinky!

6 years agoAdd P2_25 pin to fix error on PocketBeagle
Drew Fustini [Sun, 31 Mar 2019 22:43:42 +0000 (23:43 +0100)]
Add P2_25 pin to fix error on PocketBeagle

Add P2_25 pin to fix error on PocketBeagle.  This is the error that occurs without this fix:
```
Traceback (most recent call last):
  File "examples/bbb_digitalio.py", line 10, in <module>
    import board
  File "/usr/local/lib/python3.5/dist-packages/Adafruit_Blinka-1.2.9.dev5+gcbfa2eb.d20190330-py3.5.egg/board.py", line 59, in <module>
    from adafruit_blinka.board.beaglebone_pocketbeagle import *
  File "/usr/local/lib/python3.5/dist-packages/Adafruit_Blinka-1.2.9.dev5+gcbfa2eb.d20190330-py3.5.egg/adafruit_blinka/board/beaglebone_pocketbeagle.py", line 114, in <module>
    MOSI_1 = pin.P2_25
AttributeError: module 'adafruit_blinka.microcontroller.am335x.pin' has no attribute 'P2_25'
```
Refer to comments in PR #101

6 years agoMerge pull request #101 from s-light/PocketBeagle
Drew Fustini [Sun, 31 Mar 2019 22:36:35 +0000 (23:36 +0100)]
Merge pull request #101 from s-light/PocketBeagle

PocketBeagle support by @s-light

6 years ago[board PocketBeagle] update pin assignments
s-light [Fri, 29 Mar 2019 19:18:57 +0000 (20:18 +0100)]
[board PocketBeagle] update pin assignments

6 years agoMerge branch 'BBB_pinFixes' into PocketBeagle
s-light [Fri, 29 Mar 2019 19:06:29 +0000 (20:06 +0100)]
Merge branch 'BBB_pinFixes' into PocketBeagle

6 years ago[BBB] move special function pin-names to board definition file
s-light [Fri, 29 Mar 2019 19:05:01 +0000 (20:05 +0100)]
[BBB] move special function pin-names to board definition file

6 years ago[am335x] tried to prepared pins
s-light [Thu, 28 Mar 2019 22:52:27 +0000 (23:52 +0100)]
[am335x] tried to prepared pins

6 years ago[board] added pocketbeagle defaults
s-light [Thu, 28 Mar 2019 22:38:36 +0000 (23:38 +0100)]
[board] added pocketbeagle defaults
(based on beaglebone_black)

6 years agoMerge pull request #98 from NVIDIA-AI-IOT-private/jetson 1.2.8
Limor "Ladyada" Fried [Tue, 26 Mar 2019 00:29:48 +0000 (20:29 -0400)]
Merge pull request #98 from NVIDIA-AI-IOT-private/jetson

Jetson

6 years agoMerge pull request #97 from MatthewWilkes/master
Limor "Ladyada" Fried [Mon, 25 Mar 2019 22:24:54 +0000 (18:24 -0400)]
Merge pull request #97 from MatthewWilkes/master

Allow installation on Windows

6 years agoMerge remote-tracking branch 'ada/master' into jetson
Andy [Mon, 25 Mar 2019 22:04:38 +0000 (15:04 -0700)]
Merge remote-tracking branch 'ada/master' into jetson

6 years agoadded jetson nano
Andy [Mon, 25 Mar 2019 21:56:04 +0000 (14:56 -0700)]
added jetson nano

6 years agoLimit sysv_ipc to non-Windows installs
Matthew Wilkes [Mon, 25 Mar 2019 19:53:20 +0000 (19:53 +0000)]
Limit sysv_ipc to non-Windows installs

This dependency is compatible with "most (all?) Unixes", Windows support
is unofficial and only under Cygwin. Cygwin and WSL Python installs have
values of `platform.system()` other than Windows, therefore this prevents
installlation of `sysv_ipc` under standard Windows. This will cause `PulseIn`
to generate import errors on Windows, but as there is no Windows driver this
is likely not a problem. It will, however, allow for dependency resolution
and packaging to work on Windows.

6 years agoMerge pull request #95 from ladyada/master 1.2.7
Limor "Ladyada" Fried [Fri, 22 Mar 2019 16:45:44 +0000 (12:45 -0400)]
Merge pull request #95 from ladyada/master

add I2C and SPI singletons for some drivers

6 years agoadd I2C and SPI singletons for some drivers
ladyada [Fri, 22 Mar 2019 16:42:59 +0000 (12:42 -0400)]
add I2C and SPI singletons for some drivers

6 years agoMerge pull request #92 from cpforbes/cpf-91 1.2.6
Limor "Ladyada" Fried [Mon, 18 Mar 2019 18:48:14 +0000 (14:48 -0400)]
Merge pull request #92 from cpforbes/cpf-91

Include adafruit_blinka.microcontroller.bcm283x.pulseio in package

6 years agoAdd package_data to install libgpiod_pulsein.
Craig Forbes [Mon, 18 Mar 2019 17:09:06 +0000 (12:09 -0500)]
Add package_data to install libgpiod_pulsein.

Clarified why py_modules is needed.

6 years agoAdd __init__.py for adafruit_blinka.microcontroller.bcm283x.pulseio package
Craig Forbes [Mon, 18 Mar 2019 17:05:57 +0000 (12:05 -0500)]
Add __init__.py for adafruit_blinka.microcontroller.bcm283x.pulseio package

6 years agoUpdate README.rst
Limor "Ladyada" Fried [Fri, 15 Mar 2019 15:49:05 +0000 (11:49 -0400)]
Update README.rst

6 years agoMerge pull request #88 from NVIDIA-AI-IOT-private/jetson 1.2.5
Limor "Ladyada" Fried [Thu, 14 Mar 2019 18:23:29 +0000 (14:23 -0400)]
Merge pull request #88 from NVIDIA-AI-IOT-private/jetson

Jetson Integration

6 years agomerge t210 chip defs into one
Andy [Thu, 14 Mar 2019 18:02:52 +0000 (11:02 -0700)]
merge t210 chip defs into one

6 years agoRemove unused board import
Andy [Wed, 13 Mar 2019 22:21:34 +0000 (15:21 -0700)]
Remove unused board import

6 years agoCleanup whitespace
Andy [Wed, 13 Mar 2019 21:58:42 +0000 (14:58 -0700)]
Cleanup whitespace

6 years agoUpdated chip definitions
Andy [Wed, 13 Mar 2019 01:07:05 +0000 (18:07 -0700)]
Updated chip definitions

6 years agoAdded individual jetson board and tegra chip integration
Andy [Tue, 12 Mar 2019 21:25:31 +0000 (14:25 -0700)]
Added individual jetson board and tegra chip integration

6 years agoadded i2c
Andy [Wed, 27 Feb 2019 01:00:36 +0000 (17:00 -0800)]
added i2c

6 years agoMerge pull request #85 from gbrown128/write_value_support 1.2.4
Limor "Ladyada" Fried [Mon, 25 Feb 2019 19:29:34 +0000 (14:29 -0500)]
Merge pull request #85 from gbrown128/write_value_support

Ensure that the write_value passed into readinto is actually used

6 years agoEnsure that the write_value passed into readinto is actually used, at least in busio.
George Brown [Mon, 25 Feb 2019 19:14:50 +0000 (19:14 +0000)]
Ensure that the write_value passed into readinto is actually used, at least in busio.

6 years agofix cleanup fcn
Andy [Fri, 22 Feb 2019 19:23:23 +0000 (11:23 -0800)]
fix cleanup fcn

6 years agojetson integration
Andy [Thu, 21 Feb 2019 23:34:44 +0000 (15:34 -0800)]
jetson integration

6 years agoUpdate README.rst
Limor "Ladyada" Fried [Wed, 30 Jan 2019 04:59:57 +0000 (23:59 -0500)]
Update README.rst

fix travis url

6 years agoMerge pull request #83 from ladyada/master 1.2.3
Carter Nelson [Tue, 29 Jan 2019 20:37:51 +0000 (12:37 -0800)]
Merge pull request #83 from ladyada/master

fix for first pi's

6 years agofix for first pi's
ladyada [Tue, 29 Jan 2019 17:44:14 +0000 (12:44 -0500)]
fix for first pi's

6 years agoMerge pull request #78 from adafruit/libgpiod_deps_pulseio 1.2.1
Brennen Bearnes [Wed, 16 Jan 2019 23:48:27 +0000 (16:48 -0700)]
Merge pull request #78 from adafruit/libgpiod_deps_pulseio

working libgpiod_pulsein on pi: add sysv_ipc; add pulseio to py_modules

6 years agoworking libgpiod_pulsein on pi: add sysv_ipc dep; add pulseio to py_modules
Brennen Bearnes [Tue, 15 Jan 2019 21:44:54 +0000 (14:44 -0700)]
working libgpiod_pulsein on pi: add sysv_ipc dep; add pulseio to py_modules

The included libgpiod_pulsein binary wasn't being used on the Pi,
specifically with Adafruit_CircuitPython_DHT.  It turns out that
`pulseio` was missing from the list of modules to install, we weren't
installing `sysv_ipc` as a dependency, and `libgpiod_pulsein` itself
wasn't marked as executable.

This is now tested and working on a Pi 3B+ with a DHT22.

6 years agoMerge pull request #76 from Groboards/master 1.2.0
Limor "Ladyada" Fried [Mon, 7 Jan 2019 20:53:51 +0000 (15:53 -0500)]
Merge pull request #76 from Groboards/master

Add support for Giant Board

6 years agoAdd support for Giant Board
Christopher Alessandro [Mon, 7 Jan 2019 16:18:17 +0000 (09:18 -0700)]
Add support for Giant Board

6 years agoMerge pull request #75 from caternuson/iss74
Limor "Ladyada" Fried [Thu, 3 Jan 2019 15:02:32 +0000 (07:02 -0800)]
Merge pull request #75 from caternuson/iss74

Add linux detect to busio.UART

6 years agoupdate message
caternuson [Thu, 3 Jan 2019 06:42:49 +0000 (22:42 -0800)]
update message

6 years agoadd linux detect to busio.UART
caternuson [Thu, 3 Jan 2019 05:15:04 +0000 (21:15 -0800)]
add linux detect to busio.UART

6 years agoMerge pull request #73 from ladyada/master
Brennen Bearnes [Mon, 31 Dec 2018 18:01:18 +0000 (11:01 -0700)]
Merge pull request #73 from ladyada/master

spidev only on linux (where it exists)

6 years agospidev only on linux (where it exists)
ladyada [Tue, 25 Dec 2018 07:22:11 +0000 (02:22 -0500)]
spidev only on linux (where it exists)

6 years agoMerge pull request #67 from adafruit/p1_pins 1.1.0
Limor "Ladyada" Fried [Sun, 30 Dec 2018 00:51:48 +0000 (16:51 -0800)]
Merge pull request #67 from adafruit/p1_pins

pi 1 pin definitions

6 years agoMerge pull request #68 from adafruit/depend_pureio
Limor "Ladyada" Fried [Fri, 28 Dec 2018 20:46:45 +0000 (12:46 -0800)]
Merge pull request #68 from adafruit/depend_pureio

add Adafruit-PureIO requirement

6 years agoadd Adafruit-PureIO requirement
Brennen Bearnes [Fri, 28 Dec 2018 20:40:38 +0000 (13:40 -0700)]
add Adafruit-PureIO requirement

6 years agoadd raspi_1b_rev2 pins; module docstrings for board definitions
Brennen Bearnes [Fri, 28 Dec 2018 19:16:08 +0000 (12:16 -0700)]
add raspi_1b_rev2 pins; module docstrings for board definitions

6 years agofirst pass at raspi_1b_rev1 pin definitions
Brennen Bearnes [Mon, 24 Dec 2018 17:04:33 +0000 (10:04 -0700)]
first pass at raspi_1b_rev1 pin definitions

6 years agoMerge pull request #63 from Tonymac32/master 1.0.2
Limor "Ladyada" Fried [Fri, 21 Dec 2018 17:53:36 +0000 (09:53 -0800)]
Merge pull request #63 from Tonymac32/master

Add board support files for Tritium H3

6 years agoMerge pull request #64 from adafruit/platformdetect
Brennen Bearnes [Fri, 21 Dec 2018 17:50:19 +0000 (10:50 -0700)]
Merge pull request #64 from adafruit/platformdetect

Use PlatformDetect for Board / Chip Detection

6 years agopylint: tweak import order in microcontroller, microcontroller.pin
Brennen Bearnes [Fri, 21 Dec 2018 17:32:51 +0000 (10:32 -0700)]
pylint: tweak import order in microcontroller, microcontroller.pin

6 years agoMerge branch 'platformdetect' of github.com:adafruit/Adafruit_Blinka into platformdetect
Brennen Bearnes [Fri, 21 Dec 2018 17:27:38 +0000 (10:27 -0700)]
Merge branch 'platformdetect' of github.com:adafruit/Adafruit_Blinka into platformdetect

6 years agoadd requirements.txt install to .travis.yml
Brennen Bearnes [Fri, 21 Dec 2018 17:27:27 +0000 (10:27 -0700)]
add requirements.txt install to .travis.yml

...see if this works.

6 years agotypo fix, tested on pi 3b
ladyada [Fri, 21 Dec 2018 06:14:38 +0000 (01:14 -0500)]
typo fix, tested on pi 3b

6 years agoraspi_23.py -> raspi_40pin.py
Brennen Bearnes [Fri, 21 Dec 2018 00:25:32 +0000 (17:25 -0700)]
raspi_23.py -> raspi_40pin.py

6 years agouse detector.any_raspberry_pi_40_pin property for 40 pin pis
Brennen Bearnes [Fri, 21 Dec 2018 00:14:28 +0000 (17:14 -0700)]
use detector.any_raspberry_pi_40_pin property for 40 pin pis

6 years agos/any_linux/any_embedded_linux/
Brennen Bearnes [Thu, 20 Dec 2018 23:39:05 +0000 (16:39 -0700)]
s/any_linux/any_embedded_linux/

6 years agodigitalio: detect chip instead of board
Brennen Bearnes [Thu, 20 Dec 2018 22:54:24 +0000 (15:54 -0700)]
digitalio: detect chip instead of board

6 years agomove EMBEDDED_LINUX_BOARDS to platformdetect
Brennen Bearnes [Thu, 20 Dec 2018 22:54:04 +0000 (15:54 -0700)]
move EMBEDDED_LINUX_BOARDS to platformdetect

6 years agouse generic pi / 40pin pi
Brennen Bearnes [Thu, 20 Dec 2018 19:56:31 +0000 (12:56 -0700)]
use generic pi / 40pin pi

6 years agoadd spidev to requirements
Brennen Bearnes [Tue, 18 Dec 2018 05:47:18 +0000 (22:47 -0700)]
add spidev to requirements

6 years agocorrect orange pi constant names
Brennen Bearnes [Tue, 18 Dec 2018 05:42:10 +0000 (22:42 -0700)]
correct orange pi constant names

6 years agoremove Adafruit-GPIO requirement
Brennen Bearnes [Tue, 18 Dec 2018 05:41:33 +0000 (22:41 -0700)]
remove Adafruit-GPIO requirement

6 years agorequirements.txt: add Adafruit-PlatformDetect
Brennen Bearnes [Fri, 14 Dec 2018 18:19:01 +0000 (11:19 -0700)]
requirements.txt: add Adafruit-PlatformDetect

6 years agolatest platformdetect api; clean up some pylint complaints & minor bugs
Brennen Bearnes [Fri, 14 Dec 2018 18:13:56 +0000 (11:13 -0700)]
latest platformdetect api; clean up some pylint complaints & minor bugs

6 years agos/SUPPORTED_BOARDS/EMBEDDED_LINUX_BOARDS/
Brennen Bearnes [Mon, 10 Dec 2018 23:26:26 +0000 (16:26 -0700)]
s/SUPPORTED_BOARDS/EMBEDDED_LINUX_BOARDS/

...but really this should live in PlatformDetect itself, will move it there.

6 years agorename microcontroller.{beaglebone_black,raspi_23} to {am335x,bcm283x}
Brennen Bearnes [Mon, 10 Dec 2018 23:04:26 +0000 (16:04 -0700)]
rename microcontroller.{beaglebone_black,raspi_23} to {am335x,bcm283x}

These should be named after the chips rather than the boards.

6 years agosome initial work on adding platformdetect
Brennen Bearnes [Mon, 10 Dec 2018 05:15:48 +0000 (22:15 -0700)]
some initial work on adding platformdetect

This commit _definitely_ represents broken state.

6 years agoUpdate pin.py
Tony [Sat, 8 Dec 2018 06:59:43 +0000 (01:59 -0500)]
Update pin.py

remove the extra UART from the ports list until the enumeration is understood

6 years agoAdd pins supporting Tritium H3 boards
Tony [Sat, 8 Dec 2018 06:31:17 +0000 (01:31 -0500)]
Add pins supporting Tritium H3 boards

Consider removing port definitions from this file, unless being declared a port here does not impact the ability to use it as dumb I/O.  Each board exposes a different organization of these ports, for instance Tritium has UART0,1,2,3 all available on headers, as well as SPI0 and 1.

6 years agoCreate tritium-h3.py
Tony [Sat, 8 Dec 2018 06:12:13 +0000 (01:12 -0500)]
Create tritium-h3.py

Should be the correct pinmap.  Note, why don't we add labels for the spi2 and I2C2, and any additional UARTS/etc?

6 years agoMerge pull request #59 from ladyada/orangepipc 0.4.0
Limor "Ladyada" Fried [Mon, 3 Dec 2018 21:15:13 +0000 (13:15 -0800)]
Merge pull request #59 from ladyada/orangepipc

libgpiod & orangepipc support

6 years agogood suggestion by brennen!
ladyada [Mon, 3 Dec 2018 17:04:40 +0000 (12:04 -0500)]
good suggestion by brennen!

6 years agoMerge pull request #58 from ladyada/master
Scott Shawcroft [Mon, 3 Dec 2018 07:01:00 +0000 (23:01 -0800)]
Merge pull request #58 from ladyada/master

RGBW support for NeoPixels

6 years agotypo fix
ladyada [Sun, 2 Dec 2018 05:32:56 +0000 (00:32 -0500)]
typo fix

6 years agoall gpio, i2c, and SPI tested
ladyada [Sun, 2 Dec 2018 04:59:14 +0000 (23:59 -0500)]
all gpio, i2c, and SPI tested

6 years agoorange pi GPIO led blinky
ladyada [Sat, 1 Dec 2018 20:27:42 +0000 (15:27 -0500)]
orange pi GPIO led blinky

6 years agoadd RGBW support
ladyada [Sat, 1 Dec 2018 06:39:15 +0000 (01:39 -0500)]
add RGBW support

6 years agokinder neopixel error
ladyada [Sat, 1 Dec 2018 06:23:33 +0000 (01:23 -0500)]
kinder neopixel error

6 years agoMerge pull request #55 from adafruit/require-rpi-gpio
Dan Halbert [Thu, 29 Nov 2018 22:58:09 +0000 (17:58 -0500)]
Merge pull request #55 from adafruit/require-rpi-gpio

add RPi.GPIO to requirements

6 years agoplatform_machine comparison: s/1/l
Brennen Bearnes [Thu, 29 Nov 2018 21:55:13 +0000 (14:55 -0700)]
platform_machine comparison: s/1/l

6 years agoinstall RPi.GPIO & rpi_ws281x for armv7l or armv6l (probably fixes #45)
Brennen Bearnes [Thu, 29 Nov 2018 21:51:53 +0000 (14:51 -0700)]
install RPi.GPIO & rpi_ws281x for armv7l or armv6l (probably fixes #45)

6 years agoadd RPi.GPIO to requirements
Brennen Bearnes [Wed, 28 Nov 2018 18:34:57 +0000 (11:34 -0700)]
add RPi.GPIO to requirements

I know we're looking to dispense with this eventually, but in the meantime
I think it's breaking a fair number of installs.

6 years agoMerge pull request #48 from ladyada/libgpiod_pulsein
Scott Shawcroft [Tue, 27 Nov 2018 19:22:06 +0000 (11:22 -0800)]
Merge pull request #48 from ladyada/libgpiod_pulsein

Libgpiod pulsein prelim support

6 years agoMerge pull request #52 from ladyada/master 0.3.2
Limor "Ladyada" Fried [Mon, 26 Nov 2018 20:56:45 +0000 (12:56 -0800)]
Merge pull request #52 from ladyada/master

add blank but required init file so it gets included

6 years agoadd blank but required init file so it gets included
ladyada [Mon, 26 Nov 2018 20:23:41 +0000 (15:23 -0500)]
add blank but required init file so it gets included

6 years agoMerge pull request #51 from ladyada/master 0.3.1
Limor "Ladyada" Fried [Mon, 26 Nov 2018 18:21:55 +0000 (10:21 -0800)]
Merge pull request #51 from ladyada/master

renamed spi/i2c to generic linux since they're not platform specific

6 years agorenamed spi/i2c to generic linux since they're not platform specific
Your Name [Mon, 26 Nov 2018 17:17:48 +0000 (17:17 +0000)]
renamed spi/i2c to generic linux since they're not platform specific
and updated busio to include it when possible

6 years agowoops cleanup
ladyada [Mon, 26 Nov 2018 05:14:57 +0000 (00:14 -0500)]
woops cleanup

6 years agoadd static linked exec and update path
ladyada [Mon, 26 Nov 2018 05:06:34 +0000 (00:06 -0500)]
add static linked exec and update path

6 years agoadd paused, maxlen properties, getitem, and docstrings
ladyada [Mon, 26 Nov 2018 04:59:36 +0000 (23:59 -0500)]
add paused, maxlen properties, getitem, and docstrings

6 years agoMerge pull request #47 from ladyada/master
Scott Shawcroft [Mon, 26 Nov 2018 01:43:59 +0000 (17:43 -0800)]
Merge pull request #47 from ladyada/master

add RGBW support by counting # of bytes in buffer

6 years agoproper deiniting
ladyada [Sun, 25 Nov 2018 07:58:11 +0000 (02:58 -0500)]
proper deiniting

6 years agoklunky but working with DHT tests
ladyada [Sun, 25 Nov 2018 07:48:41 +0000 (02:48 -0500)]
klunky but working with DHT tests

6 years agoadd RGBW support by counting # of bytes in buffer
ladyada [Fri, 23 Nov 2018 02:34:32 +0000 (21:34 -0500)]
add RGBW support by counting # of bytes in buffer

6 years agoMerge pull request #46 from pdp7/master 0.3.0
Drew Fustini [Thu, 22 Nov 2018 20:43:11 +0000 (14:43 -0600)]
Merge pull request #46 from pdp7/master

Add preliminary SPI support for BeagleBone Black

6 years agoadd SPI1 pins for BeagleBone Black
Drew Fustini [Thu, 22 Nov 2018 07:01:23 +0000 (07:01 +0000)]
add SPI1 pins for BeagleBone Black

Refer to:
http://beagleboard.org/static/images/cape-headers-spi.png

CE1 P9.28 SPI1_CS0
MISO_1 P9.29 SPI1_D0
MOSI_1 P9.30 SPI1_D1
SCLK_1 P9.31 SPI_SCLK

SPI1 conflicts with HDMI Audio (McASP)

Refer to:
https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays

To Disable HDMI AUDIO, uncomment this line in /boot/uEnv.txt:
disable_uboot_overlay_audio=1

Set pin modes for SPI1 with:

config-pin p9.28 spi_cs
config-pin p9.29 spi
config-pin p9.30 spi
config-pin p9.31 spi_sclk