]> Repositories - Adafruit_Blinka-hackapet.git/log
Adafruit_Blinka-hackapet.git
6 years agoMerge pull request #145 from makermelissa/master 2.3.2
Melissa LeBlanc-Williams [Fri, 23 Aug 2019 18:08:17 +0000 (11:08 -0700)]
Merge pull request #145 from makermelissa/master

Update requirements for SpiDev >= 3.4

6 years agoMerge pull request #148 from swarren/jetson-spi 2.3.1
Melissa LeBlanc-Williams [Thu, 15 Aug 2019 16:43:46 +0000 (09:43 -0700)]
Merge pull request #148 from swarren/jetson-spi

Jetson SPI support and Jetson.GPIO requirement

6 years agoRequire Jetson.GPIO on aarch64
Stephen Warren [Thu, 15 Aug 2019 16:12:11 +0000 (10:12 -0600)]
Require Jetson.GPIO on aarch64

The Tegra pin.py files depend on the Jetson.GPIO library. Currently, they
assume the library is installed in /opt/nvidia/jetson-gpio and hard-code
this path. This doesn't work well when someone has installed an upgraded
version, e.g. via PYTHONPATH or pip. To solve this, remove the
hard-coding of Jetson.GPIO's installation path, and update setup.py and
requirements.txt to ensure that Jetson.GPIO is available. Note that
Jetson.GPIO is now available via PyPi, but may not have been when initial
Jetson support was added to Blinka.

6 years agoAdd SPI controller support for Jetson boards
Stephen Warren [Thu, 15 Aug 2019 15:51:40 +0000 (09:51 -0600)]
Add SPI controller support for Jetson boards

Add spiPorts[] to each Tegra's pin.py, and add SPI pin names to each
Jetson's board definition file.

Every Jetson board supports the regular SPI port on the 40-pin GPIO
expansion connector. Jetson Nano also supports a second SPI port.

Note: The user must still take manual action to:

1) Reprogram Jetson's pinmux to route the SPI signals to the 40-pin GPIO
expansion connector; by default these pins are configured as GPIO.
Documentation on this topic is available on the Jetson download site.

2) Instantiate an spidev device in device tree, which will then trigger
the creation of the /dev/spidevN.0 device node file. Future versions of
L4T will do this by default.

3) Set permissions on the /dev/spidevN.0 device node file to allow
regular users to access the file. The udev rules file in the latest
version of Jetson.GPIO includes rules for this purpose.

Without taking these actions, SPI functionality will not work.

6 years agoJetson TX2: Add missing D7 pin definition
Stephen Warren [Thu, 15 Aug 2019 15:56:17 +0000 (09:56 -0600)]
Jetson TX2: Add missing D7 pin definition

6 years agoMerge pull request #146 from paulcrawford/master 2.3.0
Melissa LeBlanc-Williams [Tue, 6 Aug 2019 23:03:45 +0000 (16:03 -0700)]
Merge pull request #146 from paulcrawford/master

Adding Odroid N2

6 years agoPR Changes, organized mc, removed duplicates
Melissa LeBlanc-Williams [Tue, 6 Aug 2019 22:47:48 +0000 (15:47 -0700)]
PR Changes, organized mc, removed duplicates

6 years agoShorted version number just in case ;)
Melissa LeBlanc-Williams [Mon, 5 Aug 2019 21:04:47 +0000 (14:04 -0700)]
Shorted version number just in case ;)

6 years agoUndo previous commit, just changed requirements
Melissa LeBlanc-Williams [Mon, 5 Aug 2019 16:30:17 +0000 (09:30 -0700)]
Undo previous commit, just changed requirements

6 years agoUse writebytes as fallback if we have an older spidev
Melissa LeBlanc-Williams [Mon, 5 Aug 2019 16:15:18 +0000 (09:15 -0700)]
Use writebytes as fallback if we have an older spidev

6 years agoUpdate pin.py
paulcrawford [Mon, 5 Aug 2019 14:56:11 +0000 (10:56 -0400)]
Update pin.py

6 years agoUpdate __init__.py
paulcrawford [Mon, 5 Aug 2019 14:53:48 +0000 (10:53 -0400)]
Update __init__.py

6 years agoUpdate odroidn2.py
paulcrawford [Mon, 5 Aug 2019 14:35:50 +0000 (10:35 -0400)]
Update odroidn2.py

6 years agoUpdate odroidn2.py
paulcrawford [Mon, 5 Aug 2019 14:17:43 +0000 (10:17 -0400)]
Update odroidn2.py

6 years agoUpdate pin.py
paulcrawford [Mon, 5 Aug 2019 14:11:05 +0000 (10:11 -0400)]
Update pin.py

6 years agoUpdate board.py
paulcrawford [Sun, 4 Aug 2019 21:06:24 +0000 (17:06 -0400)]
Update board.py

6 years agoUpdate board.py
paulcrawford [Sun, 4 Aug 2019 20:55:05 +0000 (16:55 -0400)]
Update board.py

6 years agoUpdate board.py
paulcrawford [Sun, 4 Aug 2019 20:35:09 +0000 (16:35 -0400)]
Update board.py

6 years agoUpdate board.py
paulcrawford [Sun, 4 Aug 2019 17:19:53 +0000 (13:19 -0400)]
Update board.py

6 years agoUpdate pin.py
paulcrawford [Sun, 4 Aug 2019 17:03:16 +0000 (13:03 -0400)]
Update pin.py

6 years agoUpdate board.py
paulcrawford [Sat, 3 Aug 2019 15:28:33 +0000 (11:28 -0400)]
Update board.py

6 years agoUpdate board.py
paulcrawford [Sat, 3 Aug 2019 13:48:03 +0000 (09:48 -0400)]
Update board.py

6 years agoUpdate odroidn2.py
paulcrawford [Sat, 3 Aug 2019 01:24:45 +0000 (21:24 -0400)]
Update odroidn2.py

6 years agoUpdate board.py
paulcrawford [Fri, 2 Aug 2019 21:48:44 +0000 (17:48 -0400)]
Update board.py

6 years agoUpdate board.py
paulcrawford [Fri, 2 Aug 2019 21:44:58 +0000 (17:44 -0400)]
Update board.py

6 years agoUpdate board.py
paulcrawford [Fri, 2 Aug 2019 21:38:48 +0000 (17:38 -0400)]
Update board.py

6 years agoUpdate board.py
paulcrawford [Fri, 2 Aug 2019 21:30:22 +0000 (17:30 -0400)]
Update board.py

6 years agoUpdate digitalio.py
paulcrawford [Fri, 2 Aug 2019 21:11:58 +0000 (17:11 -0400)]
Update digitalio.py

6 years agoUpdate board.py
paulcrawford [Fri, 2 Aug 2019 21:08:33 +0000 (17:08 -0400)]
Update board.py

6 years agoUpdate odroidn2.py
paulcrawford [Fri, 2 Aug 2019 21:04:40 +0000 (17:04 -0400)]
Update odroidn2.py

6 years agoUpdate odroidn2.py
paulcrawford [Fri, 2 Aug 2019 19:56:16 +0000 (15:56 -0400)]
Update odroidn2.py

6 years agoCreate odroidn2.py
paulcrawford [Fri, 2 Aug 2019 19:40:23 +0000 (15:40 -0400)]
Create odroidn2.py

6 years agoMerge pull request #142 from makermelissa/master 2.2.1
Melissa LeBlanc-Williams [Fri, 2 Aug 2019 18:27:54 +0000 (11:27 -0700)]
Merge pull request #142 from makermelissa/master

Update writebytes to writebytes2 for long buffers

6 years agoUpdate writebytes to writebytes2 for long buffers
Melissa LeBlanc-Williams [Fri, 2 Aug 2019 18:13:50 +0000 (11:13 -0700)]
Update writebytes to writebytes2 for long buffers

6 years agoUpdate pin.py
paulcrawford [Wed, 31 Jul 2019 02:07:26 +0000 (22:07 -0400)]
Update pin.py

6 years agoUpdate pin.py
paulcrawford [Tue, 30 Jul 2019 21:59:10 +0000 (17:59 -0400)]
Update pin.py

6 years agoUpdate pin.py
paulcrawford [Tue, 30 Jul 2019 17:07:31 +0000 (13:07 -0400)]
Update pin.py

6 years agoUpdate pin.py
paulcrawford [Tue, 30 Jul 2019 16:16:16 +0000 (12:16 -0400)]
Update pin.py

6 years agoCreate __init__.py
paulcrawford [Tue, 30 Jul 2019 16:13:31 +0000 (12:13 -0400)]
Create __init__.py

6 years agoCreate pin.py
paulcrawford [Tue, 30 Jul 2019 16:12:19 +0000 (12:12 -0400)]
Create pin.py

6 years agoDelete s922x
paulcrawford [Tue, 30 Jul 2019 16:11:37 +0000 (12:11 -0400)]
Delete s922x

6 years agoCreate s922x
paulcrawford [Tue, 30 Jul 2019 15:52:50 +0000 (11:52 -0400)]
Create s922x

6 years agoMerge pull request #139 from makermelissa/master 2.2.0
Melissa LeBlanc-Williams [Fri, 19 Jul 2019 21:15:44 +0000 (14:15 -0700)]
Merge pull request #139 from makermelissa/master

Added Raspberry Pi Compute Module Support

6 years agoAdded Raspberry Pi Compute Module
Melissa LeBlanc-Williams [Fri, 19 Jul 2019 21:05:48 +0000 (14:05 -0700)]
Added Raspberry Pi Compute Module

6 years agoMerge pull request #137 from makermelissa/master 2.1.6
Melissa LeBlanc-Williams [Wed, 26 Jun 2019 22:22:59 +0000 (15:22 -0700)]
Merge pull request #137 from makermelissa/master

Added some Pin-onyms

6 years agoExposed both sets of I2C ports
Melissa LeBlanc-Williams [Wed, 26 Jun 2019 22:21:31 +0000 (15:21 -0700)]
Exposed both sets of I2C ports

6 years agoAdded some Pin-onyms
Melissa LeBlanc-Williams [Wed, 26 Jun 2019 22:17:24 +0000 (15:17 -0700)]
Added some Pin-onyms

6 years agoMerge pull request #136 from makermelissa/master 2.1.5
Limor "Ladyada" Fried [Fri, 21 Jun 2019 06:18:39 +0000 (02:18 -0400)]
Merge pull request #136 from makermelissa/master

SPI fix for DragonBoard410c

6 years agoSPI fix for DragonBoard410c
Melissa LeBlanc-Williams [Thu, 20 Jun 2019 23:11:03 +0000 (16:11 -0700)]
SPI fix for DragonBoard410c

6 years agoMerge pull request #135 from makermelissa/master
Limor "Ladyada" Fried [Thu, 20 Jun 2019 22:13:23 +0000 (18:13 -0400)]
Merge pull request #135 from makermelissa/master

 Initial Dragonboard 410c Addition to Blinka

6 years agoLinted
Melissa LeBlanc-Williams [Thu, 20 Jun 2019 19:14:16 +0000 (12:14 -0700)]
Linted

6 years agoMerge branch 'master' of https://github.com/adafruit/Adafruit_Blinka
Melissa LeBlanc-Williams [Thu, 20 Jun 2019 19:09:52 +0000 (12:09 -0700)]
Merge branch 'master' of https://github.com/adafruit/Adafruit_Blinka

6 years agoInitial Dragonboard 410c Addition
Melissa LeBlanc-Williams [Thu, 20 Jun 2019 19:09:46 +0000 (12:09 -0700)]
Initial Dragonboard 410c Addition

6 years agoMerge pull request #133 from makermelissa/master 2.1.4
Limor "Ladyada" Fried [Wed, 12 Jun 2019 05:38:43 +0000 (01:38 -0400)]
Merge pull request #133 from makermelissa/master

SPI fixes for a couple boards

6 years agoSPI fixes for a couple boards
Melissa LeBlanc-Williams [Wed, 12 Jun 2019 04:07:03 +0000 (21:07 -0700)]
SPI fixes for a couple boards

6 years agoMerge pull request #132 from makermelissa/master 2.1.3
Limor "Ladyada" Fried [Tue, 11 Jun 2019 02:04:46 +0000 (22:04 -0400)]
Merge pull request #132 from makermelissa/master

Added init file to amlogic folder

6 years agoAdded init file to amlogic folder
Melissa LeBlanc-Williams [Tue, 11 Jun 2019 01:23:55 +0000 (18:23 -0700)]
Added init file to amlogic folder

6 years agoMerge pull request #131 from satmandu/patch-1 2.1.2
Melissa LeBlanc-Williams [Mon, 10 Jun 2019 02:50:17 +0000 (19:50 -0700)]
Merge pull request #131 from satmandu/patch-1

Allows Raspberry Pi boards on arm64 to work w/ BLINKA_FORCEBOARD

6 years agoAllows Raspberry Pi boards on arm64 to work w/ BLINKA_FORCEBOARD
satmandu [Sat, 8 Jun 2019 01:39:42 +0000 (21:39 -0400)]
Allows Raspberry Pi boards on arm64 to work w/ BLINKA_FORCEBOARD

Fixes issue in https://github.com/adafruit/Adafruit_Blinka/issues/130 for RPI boards running ubuntu/arm64 if using, for instance BLINKA_FORCEBOARD=RASPBERRY_PI_3B_PLUS and BLINKA_FORCECHIP=BCM2XXX to bypass board detection failure.

6 years agoMerge pull request #129 from makermelissa/master 2.1.1
Melissa LeBlanc-Williams [Thu, 6 Jun 2019 23:36:00 +0000 (16:36 -0700)]
Merge pull request #129 from makermelissa/master

Removed Odroid C2 from pulseio

6 years agoRemoved Odroid C2 from pulseio
Melissa LeBlanc-Williams [Thu, 6 Jun 2019 23:01:34 +0000 (16:01 -0700)]
Removed Odroid C2 from pulseio

6 years agoMerge pull request #128 from makermelissa/master 2.1.0
Limor "Ladyada" Fried [Thu, 6 Jun 2019 21:16:23 +0000 (17:16 -0400)]
Merge pull request #128 from makermelissa/master

Added Odroid C2

6 years agolinting
Melissa LeBlanc-Williams [Thu, 6 Jun 2019 21:09:09 +0000 (14:09 -0700)]
linting

6 years agoAdded Odroid C2
Melissa LeBlanc-Williams [Thu, 6 Jun 2019 21:03:16 +0000 (14:03 -0700)]
Added Odroid C2

6 years agoMerge branch 'master' of https://github.com/adafruit/Adafruit_Blinka
Melissa LeBlanc-Williams [Thu, 6 Jun 2019 20:50:46 +0000 (13:50 -0700)]
Merge branch 'master' of https://github.com/adafruit/Adafruit_Blinka

6 years agoMerge pull request #126 from brentru/fix-period-property 2.0.2
Melissa LeBlanc-Williams [Thu, 6 Jun 2019 20:47:40 +0000 (13:47 -0700)]
Merge pull request #126 from brentru/fix-period-property

Add property to period method

6 years agoMerge pull request #127 from Groboards/master 2.0.1
Melissa LeBlanc-Williams [Thu, 6 Jun 2019 20:39:44 +0000 (13:39 -0700)]
Merge pull request #127 from Groboards/master

Fix PB7 Linux pin number for SAMA5

6 years agoFix PB7/PWM3 pin number
Christopher Alessandro [Thu, 6 Jun 2019 20:17:09 +0000 (13:17 -0700)]
Fix PB7/PWM3 pin number

Pin PB7 is linux pin number 39 not 38

6 years agoMerge branch 'master' of https://github.com/adafruit/Adafruit_Blinka
Melissa LeBlanc-Williams [Tue, 4 Jun 2019 23:59:18 +0000 (16:59 -0700)]
Merge branch 'master' of https://github.com/adafruit/Adafruit_Blinka

6 years agoMerge pull request #124 from Groboards/master 2.0.0
brentrubell [Tue, 4 Jun 2019 19:17:17 +0000 (15:17 -0400)]
Merge pull request #124 from Groboards/master

Add SAMA5 to set_no_cs to allow SPI device to setup.

6 years agoMerge pull request #121 from sommersoft/pwmout_deinit 1.3.4
brentrubell [Mon, 3 Jun 2019 22:12:56 +0000 (18:12 -0400)]
Merge pull request #121 from sommersoft/pwmout_deinit

Add 'deinit()' Function To PWMOut

6 years agokeep from chaining ValueErrors
sommersoft [Mon, 3 Jun 2019 22:06:59 +0000 (17:06 -0500)]
keep from chaining ValueErrors

6 years agoadd property to period methods
brentru [Mon, 3 Jun 2019 21:27:34 +0000 (17:27 -0400)]
add property to period methods

6 years agoadd '_is_deinited()' to guard against reads/writes on an inactive pin.
sommersoft [Mon, 3 Jun 2019 21:05:11 +0000 (16:05 -0500)]
add '_is_deinited()' to guard against reads/writes on an inactive pin.

6 years agoMerge branch 'master' of https://github.com/adafruit/Adafruit_Blinka into pwmout_deinit
sommersoft [Mon, 3 Jun 2019 20:28:37 +0000 (15:28 -0500)]
Merge branch 'master' of https://github.com/adafruit/Adafruit_Blinka into pwmout_deinit

6 years agoAdd SAMA5 to set_no_cs
Christopher Alessandro [Mon, 3 Jun 2019 17:31:04 +0000 (10:31 -0700)]
Add SAMA5 to set_no_cs

6 years agoMerge pull request #117 from Groboards/master
brentrubell [Mon, 3 Jun 2019 15:59:15 +0000 (11:59 -0400)]
Merge pull request #117 from Groboards/master

Fix for sysfs PWM `Invalid argument` write error when trying to setup the device.

6 years agoMerge branch 'master' of https://github.com/adafruit/Adafruit_Blinka
Melissa LeBlanc-Williams [Sat, 1 Jun 2019 07:20:47 +0000 (00:20 -0700)]
Merge branch 'master' of https://github.com/adafruit/Adafruit_Blinka

6 years agoreplace 'close()' with 'deinit()'
sommersoft [Fri, 31 May 2019 23:20:31 +0000 (18:20 -0500)]
replace 'close()' with 'deinit()'

6 years agoadd 'deinit()' function
sommersoft [Fri, 31 May 2019 20:17:29 +0000 (15:17 -0500)]
add 'deinit()' function

6 years agoMerge pull request #115 from kouliss/orangepi_r1 1.3.3
Melissa LeBlanc-Williams [Thu, 23 May 2019 04:17:38 +0000 (21:17 -0700)]
Merge pull request #115 from kouliss/orangepi_r1

Change PINs to OrangePI R1 spec

6 years agoRemoved unnecessary file
Melissa LeBlanc-Williams [Thu, 23 May 2019 04:14:55 +0000 (21:14 -0700)]
Removed unnecessary file

6 years agoAdded second SPI port
Melissa LeBlanc-Williams [Thu, 23 May 2019 04:14:20 +0000 (21:14 -0700)]
Added second SPI port

6 years agoFixed Pins for Orange Pi R1
Melissa LeBlanc-Williams [Thu, 23 May 2019 04:09:21 +0000 (21:09 -0700)]
Fixed Pins for Orange Pi R1

6 years agoMerge branch 'orangepi_r1' of https://github.com/kouliss/Adafruit_Blinka
Melissa LeBlanc-Williams [Wed, 22 May 2019 04:34:05 +0000 (21:34 -0700)]
Merge branch 'orangepi_r1' of https://github.com/kouliss/Adafruit_Blinka

6 years agoAdd OrangePI R1 detetion
Martin Volek [Wed, 22 May 2019 04:30:36 +0000 (06:30 +0200)]
Add OrangePI R1 detetion

6 years agoAdd OrangePI R1 detetion
Martin Volek [Mon, 20 May 2019 04:44:02 +0000 (06:44 +0200)]
Add OrangePI R1 detetion

6 years agoThis line also causes a similar write error
Christopher Alessandro [Sun, 19 May 2019 21:06:27 +0000 (14:06 -0700)]
This line also causes a similar write error

6 years agoMerge branch 'orangepi_r1' of https://github.com/kouliss/Adafruit_Blinka
Melissa LeBlanc-Williams [Sun, 19 May 2019 20:37:02 +0000 (13:37 -0700)]
Merge branch 'orangepi_r1' of https://github.com/kouliss/Adafruit_Blinka

6 years agoAdd OrangePI R1 detetion
Martin Volek [Sun, 19 May 2019 18:55:32 +0000 (20:55 +0200)]
Add OrangePI R1 detetion

6 years agoThis line causes a write error when setting up the sysfs device.
Christopher Alessandro [Sun, 19 May 2019 14:11:26 +0000 (07:11 -0700)]
This line causes a write error when setting up the sysfs device.

6 years agoMerge branch 'orangepi_r1' of https://github.com/kouliss/Adafruit_Blinka
Melissa LeBlanc-Williams [Sun, 19 May 2019 05:51:00 +0000 (22:51 -0700)]
Merge branch 'orangepi_r1' of https://github.com/kouliss/Adafruit_Blinka

6 years agoMerge pull request #116 from Groboards/master
Limor "Ladyada" Fried [Sun, 19 May 2019 02:16:18 +0000 (22:16 -0400)]
Merge pull request #116 from Groboards/master

Update Giant Board alt pins names and add sysfs pwm support

6 years agoRevert "Commenting these out gets rid of errors and allows the pwm to export."
Christopher Alessandro [Sun, 19 May 2019 02:00:20 +0000 (19:00 -0700)]
Revert "Commenting these out gets rid of errors and allows the pwm to export."

This reverts commit f599d177e9baa31e507c6633681dcfc65b73c759.

6 years agoCommenting these out gets rid of errors and allows the pwm to export.
Christopher Alessandro [Sat, 18 May 2019 00:13:31 +0000 (17:13 -0700)]
Commenting these out gets rid of errors and allows the pwm to export.

Commenting out these lines seems to fix my import errors and I'm now able to successfully use pusleio.

6 years agoUpdate Giant Board Alt Pins and add sysfs PWM support
Christopher Alessandro [Sat, 18 May 2019 00:03:30 +0000 (17:03 -0700)]
Update Giant Board Alt Pins and add sysfs PWM support

6 years agoChange PINs to OrangePI R1 spec
Martin Volek [Thu, 16 May 2019 21:27:47 +0000 (23:27 +0200)]
Change PINs to OrangePI R1 spec

6 years agoChange PINs to OrangePI R1 spec
Martin Volek [Thu, 16 May 2019 21:18:10 +0000 (23:18 +0200)]
Change PINs to OrangePI R1 spec

6 years agoChange PINs to OrangePI R1 spec
Martin Volek [Thu, 16 May 2019 20:56:53 +0000 (22:56 +0200)]
Change PINs to OrangePI R1 spec

6 years agoMerge pull request #113 from ladyada/master 1.3.2
Limor "Ladyada" Fried [Sun, 12 May 2019 22:15:05 +0000 (18:15 -0400)]
Merge pull request #113 from ladyada/master

fix some sysfs complaints on init or freq change