]>
Repositories - Adafruit_Blinka-hackapet.git/log
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
ladyada [Sat, 1 Dec 2018 06:39:15 +0000 (01:39 -0500)]
add RGBW support
ladyada [Sat, 1 Dec 2018 06:23:33 +0000 (01:23 -0500)]
kinder neopixel error
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
Brennen Bearnes [Thu, 29 Nov 2018 21:55:13 +0000 (14:55 -0700)]
platform_machine comparison: s/1/l
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)
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.
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
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
ladyada [Mon, 26 Nov 2018 20:23:41 +0000 (15:23 -0500)]
add blank but required init file so it gets included
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
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
ladyada [Mon, 26 Nov 2018 05:14:57 +0000 (00:14 -0500)]
woops cleanup
ladyada [Mon, 26 Nov 2018 05:06:34 +0000 (00:06 -0500)]
add static linked exec and update path
ladyada [Mon, 26 Nov 2018 04:59:36 +0000 (23:59 -0500)]
add paused, maxlen properties, getitem, and docstrings
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
ladyada [Sun, 25 Nov 2018 07:58:11 +0000 (02:58 -0500)]
proper deiniting
ladyada [Sun, 25 Nov 2018 07:48:41 +0000 (02:48 -0500)]
klunky but working with DHT tests
ladyada [Fri, 23 Nov 2018 02:34:32 +0000 (21:34 -0500)]
add RGBW support by counting # of bytes in buffer
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
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