]>
Repositories - Adafruit_Blinka-hackapet.git/log
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
Drew Fustini [Wed, 21 Nov 2018 19:20:34 +0000 (19:20 +0000)]
add more plumbing for SPI on BeagleBone
reuse the Raspberry Pi SPI class as both are
Linux boards using spidev. The main difference
is the pins numbers are different.
Testing with Adafruit_CircuitPython_BME280 in SPI mode.
TODO: wire up the board to the BeagleBone Black
Current output:
debian@beaglebone:~/Adafruit_CircuitPython_BME280$ sudo python3 examples/bme280_simpletest.py
SPI(): __init()
SPI(): beaglebone_black: from adafruit_blinka.microcontroller.raspi_23.spi import SPI as _SPI
spiPorts: ((0, P9_22, P9_18, P9_21), (1, P9_22, P9_18, P9_21))
for:
0 P9_22 P9_18 P9_21
Line 91
<class 'adafruit_blinka.microcontroller.raspi_23.spi.SPI'>
<adafruit_blinka.microcontroller.raspi_23.spi.SPI object at 0xb6b3c890>
Traceback (most recent call last):
File "examples/bme280_simpletest.py", line 15, in <module>
bme280 = adafruit_bme280.Adafruit_BME280_SPI(spi, bme_cs)
File "/usr/local/lib/python3.5/dist-packages/adafruit_circuitpython_bme280-2.1.1.dev3+g1416d93-py3.5.egg/adafruit_bme280.py", line 247, in __init__
File "/usr/local/lib/python3.5/dist-packages/adafruit_circuitpython_bme280-2.1.1.dev3+g1416d93-py3.5.egg/adafruit_bme280.py", line 78, in __init__
RuntimeError: Failed to find BME280! Chip ID 0x0
Drew Fustini [Wed, 21 Nov 2018 18:46:31 +0000 (18:46 +0000)]
Add SPI pins for BeagleBone Black
Refer to header default pin modes
http://beagleboard.org/static/images/cape-headers.png
P9_17 (SPI0_CSO => CE0) enables peripheral device
P9_18 (SPI0_D1 => MOSI) outputs data to peripheral device
P9_21 (SPIO_DO => MISO) receives data from peripheral device
P9_22 (SPI0_SCLK => SCLK) outputs clock signal
Use config-pin to set pin mode for SPI pins
https://github.com/beagleboard/bb.org-overlays/tree/master/tools/beaglebone-universal-io
config-pin p9.17 spi_cs
config-pin p9.18 spi
config-pin p9.21 spi
config-pin p9.22 spi_sclk
Drew Fustini [Tue, 20 Nov 2018 06:27:02 +0000 (00:27 -0600)]
Merge pull request #42 from pdp7/master
add preliminary I2C bus support for the BeagleBone Black
Drew Fustini [Mon, 29 Oct 2018 21:27:27 +0000 (21:27 +0000)]
Use busnum 2 for I2C on BeagleBone Black
Change i2cPorts to use bus num 2 by default on the
BeagleBone Black. This is needed for I2C device
wired up to P9.19 (I2C2_SCL) and P9.20 (I2C2_SDA).
for reference, pin diagram including default i2c pins:
http://beagleboard.org/static/images/cape-headers.png
Drew Fustini [Mon, 22 Oct 2018 18:15:20 +0000 (18:15 +0000)]
remove debug print statement
Drew Fustini [Mon, 22 Oct 2018 17:48:17 +0000 (17:48 +0000)]
add I2C bus support for the BeagleBone Black
Limor "Ladyada" Fried [Thu, 18 Oct 2018 16:40:16 +0000 (09:40 -0700)]
Merge pull request #40 from pdp7/master
Add example to blink LED on BeagleBone
Drew Fustini [Thu, 18 Oct 2018 16:14:13 +0000 (16:14 +0000)]
fix style issues in BeagleBone example
Drew Fustini [Thu, 18 Oct 2018 15:56:50 +0000 (15:56 +0000)]
Add example to blink LED on BeagleBone
Limor "Ladyada" Fried [Fri, 21 Sep 2018 03:59:39 +0000 (20:59 -0700)]
Merge pull request #38 from pdp7/master
Add GPIO pins for the BeagleBone Black
Drew Fustini [Thu, 20 Sep 2018 23:18:16 +0000 (18:18 -0500)]
Adding GPIO pins for the BeagleBone Black
Add all the possible GPIO pins on the P8 and P9 headers
of the BeagleBone Black.
Source of GPIO pins numbers is:
https://github.com/adafruit/adafruit-beaglebone-io-python/blob/master/source/common.c
GPIO pins on BeagleBone Black:
P8_3
P8_4
P8_5
P8_6
P8_7
P8_8
P8_9
P8_10
P8_11
P8_12
P8_13
P8_14
P8_15
P8_16
P8_17
P8_18
P8_19
P8_20
P8_21
P8_22
P8_23
P8_24
P8_25
P8_26
P8_27
P8_28
P8_29
P8_30
P8_31
P8_32
P8_33
P8_34
P8_35
P8_36
P8_37
P8_38
P8_39
P8_40
P8_41
P8_42
P8_43
P8_44
P8_45
P8_46
P9_11
P9_12
P9_13
P9_14
P9_15
P9_16
P9_17
P9_18
P9_19
P9_20
P9_21
P9_22
P9_23
P9_24
P9_25
P9_26
P9_27
P9_28
P9_29
P9_30
P9_31
P9_41
P9_42
Limor "Ladyada" Fried [Thu, 13 Sep 2018 19:51:42 +0000 (12:51 -0700)]
Merge pull request #36 from ladyada/master
first BBB digitalio blinking
ladyada [Thu, 13 Sep 2018 18:51:16 +0000 (14:51 -0400)]
let there be BLINK
ladyada [Thu, 13 Sep 2018 18:04:46 +0000 (14:04 -0400)]
not quite gpio'in yet but getting closer...
ladyada [Thu, 13 Sep 2018 17:55:47 +0000 (13:55 -0400)]
detect BBB
Dan Halbert [Sun, 9 Sep 2018 02:46:57 +0000 (22:46 -0400)]
Merge pull request #35 from ladyada/master
more conditionals for raspi
ladyada [Sun, 9 Sep 2018 02:42:25 +0000 (22:42 -0400)]
more conditionals for raspi
Dan Halbert [Sat, 8 Sep 2018 20:57:34 +0000 (16:57 -0400)]
Merge pull request #34 from ladyada/master
only install on raspi?
ladyada [Sat, 8 Sep 2018 20:39:38 +0000 (16:39 -0400)]
only install on raspi?
Limor "Ladyada" Fried [Fri, 31 Aug 2018 19:52:34 +0000 (12:52 -0700)]
Merge pull request #32 from ladyada/master
add missing module
ladyada [Fri, 31 Aug 2018 19:37:44 +0000 (15:37 -0400)]
add dependancy
ladyada [Fri, 31 Aug 2018 19:33:31 +0000 (15:33 -0400)]
add missing module
Scott Shawcroft [Fri, 31 Aug 2018 18:17:50 +0000 (11:17 -0700)]
Merge pull request #30 from ladyada/master
initial commit, working code
ladyada [Fri, 31 Aug 2018 18:15:49 +0000 (14:15 -0400)]
autodoc additions
ladyada [Fri, 31 Aug 2018 18:12:08 +0000 (14:12 -0400)]
remove non-pi-breaking deps
ladyada [Fri, 31 Aug 2018 18:06:28 +0000 (14:06 -0400)]
less paranoid
ladyada [Fri, 31 Aug 2018 18:05:34 +0000 (14:05 -0400)]
less cute pixel splitting
ladyada [Thu, 30 Aug 2018 21:45:28 +0000 (17:45 -0400)]
initial commit, working code
Dan Halbert [Wed, 22 Aug 2018 15:37:04 +0000 (11:37 -0400)]
Merge pull request #29 from ladyada/master
add support for second SPI - tested!
ladyada [Wed, 22 Aug 2018 15:25:54 +0000 (11:25 -0400)]
add support for second SPI - tested!
Dan Halbert [Sun, 19 Aug 2018 19:45:05 +0000 (15:45 -0400)]
Merge pull request #28 from ladyada/master
specifically name arguments now that we require it
ladyada [Sat, 18 Aug 2018 03:35:06 +0000 (23:35 -0400)]
specifically name arguments now that we require it
Limor "Ladyada" Fried [Fri, 17 Aug 2018 22:03:21 +0000 (15:03 -0700)]
Merge pull request #27 from adafruit/raspi_spi_class_vars
fix raspi spi access of mode constants (was missing a "self")
Brennen Bearnes [Fri, 17 Aug 2018 21:45:31 +0000 (15:45 -0600)]
fix raspi spi access of mode constants (was missing a "self")
Found this while testing the MAX31865.