]>
Repositories - Adafruit_Blinka-hackapet.git/log
Limor "Ladyada" Fried [Thu, 6 Jun 2019 21:16:23 +0000 (17:16 -0400)]
Merge pull request #128 from makermelissa/master
Added Odroid C2
Melissa LeBlanc-Williams [Thu, 6 Jun 2019 21:09:09 +0000 (14:09 -0700)]
linting
Melissa LeBlanc-Williams [Thu, 6 Jun 2019 21:03:16 +0000 (14:03 -0700)]
Added Odroid C2
Melissa LeBlanc-Williams [Thu, 6 Jun 2019 20:50:46 +0000 (13:50 -0700)]
Merge branch 'master' of https://github.com/adafruit/Adafruit_Blinka
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
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
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
Melissa LeBlanc-Williams [Tue, 4 Jun 2019 23:59:18 +0000 (16:59 -0700)]
Merge branch 'master' of https://github.com/adafruit/Adafruit_Blinka
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.
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
sommersoft [Mon, 3 Jun 2019 22:06:59 +0000 (17:06 -0500)]
keep from chaining ValueErrors
brentru [Mon, 3 Jun 2019 21:27:34 +0000 (17:27 -0400)]
add property to period methods
sommersoft [Mon, 3 Jun 2019 21:05:11 +0000 (16:05 -0500)]
add '_is_deinited()' to guard against reads/writes on an inactive pin.
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
Christopher Alessandro [Mon, 3 Jun 2019 17:31:04 +0000 (10:31 -0700)]
Add SAMA5 to set_no_cs
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.
Melissa LeBlanc-Williams [Sat, 1 Jun 2019 07:20:47 +0000 (00:20 -0700)]
Merge branch 'master' of https://github.com/adafruit/Adafruit_Blinka
sommersoft [Fri, 31 May 2019 23:20:31 +0000 (18:20 -0500)]
replace 'close()' with 'deinit()'
sommersoft [Fri, 31 May 2019 20:17:29 +0000 (15:17 -0500)]
add 'deinit()' function
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
Melissa LeBlanc-Williams [Thu, 23 May 2019 04:14:55 +0000 (21:14 -0700)]
Removed unnecessary file
Melissa LeBlanc-Williams [Thu, 23 May 2019 04:14:20 +0000 (21:14 -0700)]
Added second SPI port
Melissa LeBlanc-Williams [Thu, 23 May 2019 04:09:21 +0000 (21:09 -0700)]
Fixed Pins for Orange Pi R1
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
Martin Volek [Wed, 22 May 2019 04:30:36 +0000 (06:30 +0200)]
Add OrangePI R1 detetion
Martin Volek [Mon, 20 May 2019 04:44:02 +0000 (06:44 +0200)]
Add OrangePI R1 detetion
Christopher Alessandro [Sun, 19 May 2019 21:06:27 +0000 (14:06 -0700)]
This line also causes a similar write error
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
Martin Volek [Sun, 19 May 2019 18:55:32 +0000 (20:55 +0200)]
Add OrangePI R1 detetion
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.
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
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
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 .
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.
Christopher Alessandro [Sat, 18 May 2019 00:03:30 +0000 (17:03 -0700)]
Update Giant Board Alt Pins and add sysfs PWM support
Martin Volek [Thu, 16 May 2019 21:27:47 +0000 (23:27 +0200)]
Change PINs to OrangePI R1 spec
Martin Volek [Thu, 16 May 2019 21:18:10 +0000 (23:18 +0200)]
Change PINs to OrangePI R1 spec
Martin Volek [Thu, 16 May 2019 20:56:53 +0000 (22:56 +0200)]
Change PINs to OrangePI R1 spec
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
ladyada [Sun, 12 May 2019 22:06:16 +0000 (18:06 -0400)]
fix some sysfs complaints on init or freq change, and clean up when we close
Limor "Ladyada" Fried [Sun, 12 May 2019 20:57:13 +0000 (16:57 -0400)]
Merge pull request #112 from ladyada/master
add a periphery-based sysfs pwmout object - tested with LED and servo
ladyada [Sun, 12 May 2019 20:28:25 +0000 (16:28 -0400)]
add a periphery-based sysfs pwmout object - tested with LED and servo
Limor "Ladyada" Fried [Sun, 12 May 2019 17:16:52 +0000 (13:16 -0400)]
Merge pull request #111 from ladyada/master
Google Coral support for the i2c, spi, and GPIO pins.
ladyada [Sun, 12 May 2019 08:10:00 +0000 (04:10 -0400)]
Google Coral support for the i2c, spi, and GPIO pins. uart #3 not available and remaining pins are I2S or PWM
Limor "Ladyada" Fried [Sun, 14 Apr 2019 16:48:34 +0000 (12:48 -0400)]
Merge pull request #107 from pdp7/issue106
change SPI index for BeagleBone/PocketBeagle #106
Drew Fustini [Sun, 14 Apr 2019 10:17:47 +0000 (12:17 +0200)]
change SPI index for BeagleBone/PocketBeagle #106
Change SPI port index because SPI0 is /dev/spidev1.x and SPI1 is /dev/spidev2.x on both:
* the current recommended BeagleBoard.org Debian image: Debian 9.5 (Stretch) from 2018-10-07
* the newest Debian 9.8 (Strecth) snapshot from 2019-04-07
This change is to fix issue #106: inconsistent spidev index on AM335x-based boards like BeagleBone Black and PocketBeagle.
Drew Fustini [Fri, 12 Apr 2019 17:22:08 +0000 (19:22 +0200)]
Merge pull request #105 from pdp7/issue104
do not set SPI_NO_CS bit when chip is AM3358 #104
Drew Fustini [Fri, 12 Apr 2019 12:52:07 +0000 (12:52 +0000)]
remove debug output from SPI class
Drew Fustini [Fri, 12 Apr 2019 10:03:02 +0000 (10:03 +0000)]
do not set SPI_NO_CS bit when chip is AM3358 #104
Avoid trying to set SPI_NO_CS mode bit when the chip is AM3358 as this
will always fail as Linux kernel driver omap2_mcspi does not support it.
This applies to the BeagleBone Black and PocketBeagle.
For testing, BME280 was wired to SPI0 peripheral on BeagleBone Black.
Run these commands to make sure the pins are in the correct mode:
config-pin p9.13 gpio # GPIO used for CS
config-pin p9.18 spi # SPI0_D1 (MOSI)
config-pin p9.21 spi # SPI0_D0 (MISO)
config-pin p9.22 spi_sclk # SPI0_SCLK
SPI0 was accessed via /dev/spidev0.0
Drew Fustini [Tue, 2 Apr 2019 11:14:41 +0000 (12:14 +0100)]
Merge pull request #102 from s-light/PocketBeagle2
Pocket beagle2
s-light [Tue, 2 Apr 2019 09:05:53 +0000 (11:05 +0200)]
[busio] try fix SPI for all beagles*
s-light [Tue, 2 Apr 2019 00:59:26 +0000 (02:59 +0200)]
BBB refine pin namings
s-light [Tue, 2 Apr 2019 00:50:20 +0000 (02:50 +0200)]
refine pin namings
s-light [Tue, 2 Apr 2019 00:02:38 +0000 (02:02 +0200)]
[am335x/pin] added spiPorts
s-light [Mon, 1 Apr 2019 23:43:36 +0000 (01:43 +0200)]
[am335x/pin] added i2cPorts, spiPorts, uartPorts
s-light [Mon, 1 Apr 2019 22:33:58 +0000 (00:33 +0200)]
[board pocketbeagle] add SDA & SCL aliases
s-light [Mon, 1 Apr 2019 21:57:22 +0000 (23:57 +0200)]
add USB1 V_EN comment
s-light [Mon, 1 Apr 2019 21:53:01 +0000 (23:53 +0200)]
change comment names to be based on common.c
[common.c](https://github.com/adafruit/adafruit-beaglebone-io-python/blob/master/source/common.c#L73)
s-light [Mon, 1 Apr 2019 19:50:09 +0000 (21:50 +0200)]
added GPIO_n as comments
s-light [Mon, 1 Apr 2019 19:33:29 +0000 (21:33 +0200)]
[board/beagle*] added NonGPIO pins & GPIO_NN numbers as comments
s-light [Mon, 1 Apr 2019 19:00:11 +0000 (21:00 +0200)]
[examples] added python3 env
s-light [Mon, 1 Apr 2019 18:50:41 +0000 (20:50 +0200)]
[examples] make executable
s-light [Mon, 1 Apr 2019 10:03:45 +0000 (12:03 +0200)]
[am335x] added NonGPIO pins as comments
Drew Fustini [Sun, 31 Mar 2019 23:28:46 +0000 (00:28 +0100)]
Fix pylint error in PocketBeagle example
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!
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
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
s-light [Fri, 29 Mar 2019 19:18:57 +0000 (20:18 +0100)]
[board PocketBeagle] update pin assignments
s-light [Fri, 29 Mar 2019 19:06:29 +0000 (20:06 +0100)]
Merge branch 'BBB_pinFixes' into PocketBeagle
s-light [Fri, 29 Mar 2019 19:05:01 +0000 (20:05 +0100)]
[BBB] move special function pin-names to board definition file
s-light [Thu, 28 Mar 2019 22:52:27 +0000 (23:52 +0100)]
[am335x] tried to prepared pins
s-light [Thu, 28 Mar 2019 22:38:36 +0000 (23:38 +0100)]
[board] added pocketbeagle defaults
(based on beaglebone_black)
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
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
Andy [Mon, 25 Mar 2019 22:04:38 +0000 (15:04 -0700)]
Merge remote-tracking branch 'ada/master' into jetson
Andy [Mon, 25 Mar 2019 21:56:04 +0000 (14:56 -0700)]
added jetson nano
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.
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
ladyada [Fri, 22 Mar 2019 16:42:59 +0000 (12:42 -0400)]
add I2C and SPI singletons for some drivers
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
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.
Craig Forbes [Mon, 18 Mar 2019 17:05:57 +0000 (12:05 -0500)]
Add __init__.py for adafruit_blinka.microcontroller.bcm283x.pulseio package
Limor "Ladyada" Fried [Fri, 15 Mar 2019 15:49:05 +0000 (11:49 -0400)]
Update README.rst
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
Andy [Thu, 14 Mar 2019 18:02:52 +0000 (11:02 -0700)]
merge t210 chip defs into one
Andy [Wed, 13 Mar 2019 22:21:34 +0000 (15:21 -0700)]
Remove unused board import
Andy [Wed, 13 Mar 2019 21:58:42 +0000 (14:58 -0700)]
Cleanup whitespace
Andy [Wed, 13 Mar 2019 01:07:05 +0000 (18:07 -0700)]
Updated chip definitions
Andy [Tue, 12 Mar 2019 21:25:31 +0000 (14:25 -0700)]
Added individual jetson board and tegra chip integration
Andy [Wed, 27 Feb 2019 01:00:36 +0000 (17:00 -0800)]
added i2c
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
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.
Andy [Fri, 22 Feb 2019 19:23:23 +0000 (11:23 -0800)]
fix cleanup fcn
Andy [Thu, 21 Feb 2019 23:34:44 +0000 (15:34 -0800)]
jetson integration
Limor "Ladyada" Fried [Wed, 30 Jan 2019 04:59:57 +0000 (23:59 -0500)]
Update README.rst
fix travis url
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
ladyada [Tue, 29 Jan 2019 17:44:14 +0000 (12:44 -0500)]
fix for first pi's
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
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.
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