]>
Repositories - Adafruit_Blinka-hackapet.git/log
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
Christopher Alessandro [Mon, 7 Jan 2019 16:18:17 +0000 (09:18 -0700)]
Add support for Giant Board
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
caternuson [Thu, 3 Jan 2019 06:42:49 +0000 (22:42 -0800)]
update message
caternuson [Thu, 3 Jan 2019 05:15:04 +0000 (21:15 -0800)]
add linux detect to busio.UART
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)
ladyada [Tue, 25 Dec 2018 07:22:11 +0000 (02:22 -0500)]
spidev only on linux (where it exists)
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
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
Brennen Bearnes [Fri, 28 Dec 2018 20:40:38 +0000 (13:40 -0700)]
add Adafruit-PureIO requirement
Brennen Bearnes [Fri, 28 Dec 2018 19:16:08 +0000 (12:16 -0700)]
add raspi_1b_rev2 pins; module docstrings for board definitions
Brennen Bearnes [Mon, 24 Dec 2018 17:04:33 +0000 (10:04 -0700)]
first pass at raspi_1b_rev1 pin definitions
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
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
Brennen Bearnes [Fri, 21 Dec 2018 17:32:51 +0000 (10:32 -0700)]
pylint: tweak import order in microcontroller, microcontroller.pin
Brennen Bearnes [Fri, 21 Dec 2018 17:27:38 +0000 (10:27 -0700)]
Merge branch 'platformdetect' of github.com:adafruit/Adafruit_Blinka into platformdetect
Brennen Bearnes [Fri, 21 Dec 2018 17:27:27 +0000 (10:27 -0700)]
add requirements.txt install to .travis.yml
...see if this works.
ladyada [Fri, 21 Dec 2018 06:14:38 +0000 (01:14 -0500)]
typo fix, tested on pi 3b
Brennen Bearnes [Fri, 21 Dec 2018 00:25:32 +0000 (17:25 -0700)]
raspi_23.py -> raspi_40pin.py
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
Brennen Bearnes [Thu, 20 Dec 2018 23:39:05 +0000 (16:39 -0700)]
s/any_linux/any_embedded_linux/
Brennen Bearnes [Thu, 20 Dec 2018 22:54:24 +0000 (15:54 -0700)]
digitalio: detect chip instead of board
Brennen Bearnes [Thu, 20 Dec 2018 22:54:04 +0000 (15:54 -0700)]
move EMBEDDED_LINUX_BOARDS to platformdetect
Brennen Bearnes [Thu, 20 Dec 2018 19:56:31 +0000 (12:56 -0700)]
use generic pi / 40pin pi
Brennen Bearnes [Tue, 18 Dec 2018 05:47:18 +0000 (22:47 -0700)]
add spidev to requirements
Brennen Bearnes [Tue, 18 Dec 2018 05:42:10 +0000 (22:42 -0700)]
correct orange pi constant names
Brennen Bearnes [Tue, 18 Dec 2018 05:41:33 +0000 (22:41 -0700)]
remove Adafruit-GPIO requirement
Brennen Bearnes [Fri, 14 Dec 2018 18:19:01 +0000 (11:19 -0700)]
requirements.txt: add Adafruit-PlatformDetect
Brennen Bearnes [Fri, 14 Dec 2018 18:13:56 +0000 (11:13 -0700)]
latest platformdetect api; clean up some pylint complaints & minor bugs
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.
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.
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.
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
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.
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?
Limor "Ladyada" Fried [Mon, 3 Dec 2018 21:15:13 +0000 (13:15 -0800)]
Merge pull request #59 from ladyada/orangepipc
libgpiod & orangepipc support
ladyada [Mon, 3 Dec 2018 17:04:40 +0000 (12:04 -0500)]
good suggestion by brennen!
Scott Shawcroft [Mon, 3 Dec 2018 07:01:00 +0000 (23:01 -0800)]
Merge pull request #58 from ladyada/master
RGBW support for NeoPixels
ladyada [Sun, 2 Dec 2018 05:32:56 +0000 (00:32 -0500)]
typo fix
ladyada [Sun, 2 Dec 2018 04:59:14 +0000 (23:59 -0500)]
all gpio, i2c, and SPI tested
ladyada [Sat, 1 Dec 2018 20:27:42 +0000 (15:27 -0500)]
orange pi GPIO led blinky