]>
Repositories - Adafruit_Blinka-hackapet.git/log
Limor "Ladyada" Fried [Sat, 19 Oct 2019 15:51:46 +0000 (11:51 -0400)]
Merge pull request #167 from makermelissa/master
Always pass on set_no_cs()
Melissa LeBlanc-Williams [Sat, 19 Oct 2019 15:36:58 +0000 (08:36 -0700)]
Always pass on set_no_cs()
Melissa LeBlanc-Williams [Sat, 19 Oct 2019 15:31:21 +0000 (08:31 -0700)]
Merge pull request #166 from lichttag/master
Fix missing attribute exception catch for 'SPI.chip' on RPi
lichttag [Sat, 19 Oct 2019 15:21:54 +0000 (17:21 +0200)]
Fix missing attribute exception on RPi
Limor "Ladyada" Fried [Fri, 11 Oct 2019 01:14:08 +0000 (21:14 -0400)]
Merge pull request #164 from caternuson/spi_freq
Add SPI frequency property
caternuson [Fri, 11 Oct 2019 00:43:13 +0000 (17:43 -0700)]
add SPI frequency property
Limor "Ladyada" Fried [Sat, 5 Oct 2019 01:17:20 +0000 (21:17 -0400)]
Merge pull request #162 from makermelissa/master
Fixes issue with SPI on Orange Pi Zero and R1
Melissa LeBlanc-Williams [Sat, 5 Oct 2019 01:11:31 +0000 (18:11 -0700)]
Fixes issue with SPI on Orange Pi Zero and R1
Limor "Ladyada" Fried [Sat, 28 Sep 2019 03:23:48 +0000 (23:23 -0400)]
Update spi.py
Limor "Ladyada" Fried [Thu, 26 Sep 2019 18:01:14 +0000 (14:01 -0400)]
Merge pull request #160 from caternuson/ft232h_chunky_spi_write
Chunkify FT232H SPI write
caternuson [Thu, 26 Sep 2019 17:49:33 +0000 (10:49 -0700)]
chunkify ft232h spi write
Limor "Ladyada" Fried [Sat, 21 Sep 2019 02:56:58 +0000 (22:56 -0400)]
Merge pull request #158 from caternuson/ft232h
Add basic FT232H support.
caternuson [Sat, 21 Sep 2019 02:54:14 +0000 (19:54 -0700)]
requirements update windows
caternuson [Sat, 21 Sep 2019 02:38:40 +0000 (19:38 -0700)]
add i2c scan
caternuson [Fri, 20 Sep 2019 17:46:41 +0000 (10:46 -0700)]
add pyftdi to requirements
caternuson [Fri, 20 Sep 2019 15:02:11 +0000 (08:02 -0700)]
doc strings and misc cosmetic
caternuson [Fri, 20 Sep 2019 01:35:41 +0000 (18:35 -0700)]
initial working ft232h i2c/spi/gpio
Limor "Ladyada" Fried [Wed, 11 Sep 2019 23:58:26 +0000 (19:58 -0400)]
Merge pull request #155 from makermelissa/master
Adds Raspberry Pi 1 Model A
Melissa LeBlanc-Williams [Wed, 11 Sep 2019 22:13:04 +0000 (15:13 -0700)]
This should get the Pi 1 Model A working
Melissa LeBlanc-Williams [Fri, 6 Sep 2019 18:34:16 +0000 (11:34 -0700)]
Merge branch 'master' of https://github.com/adafruit/Adafruit_Blinka
Melissa LeBlanc-Williams [Fri, 6 Sep 2019 18:25:26 +0000 (11:25 -0700)]
Merge pull request #152 from hansoostendorp/orangepizero
Orangepizero
Melissa LeBlanc-Williams [Fri, 6 Sep 2019 17:20:51 +0000 (10:20 -0700)]
Merge branch 'orangepizero' of https://github.com/hansoostendorp/Adafruit_Blinka
Hans Oostendorp [Fri, 6 Sep 2019 08:41:10 +0000 (10:41 +0200)]
The AllWinner H2 SoC has the same pinout as the AllWinner H3 SoC, let the Orange Pi Zero board use that microcontroller to keep it more simple
Hans Oostendorp [Fri, 6 Sep 2019 08:26:25 +0000 (10:26 +0200)]
add SPI support for Orange Pi Zero
Melissa LeBlanc-Williams [Thu, 5 Sep 2019 21:32:54 +0000 (14:32 -0700)]
Merge pull request #151 from swarren/board-dependencies
setup.py: Runtime dependency determination
Hans Oostendorp [Thu, 5 Sep 2019 19:55:15 +0000 (21:55 +0200)]
add support for Orange Pi Zero board
Stephen Warren [Mon, 26 Aug 2019 18:53:29 +0000 (12:53 -0600)]
setup.py: Runtime dependency determination
setup.py currently assumes that all ARMv6/7 platforms are an RPi, and all
AArch64 systems are a Jetson. This is untrue, since:
a) All recent ARM Linux systems are one of those types, and Blinka
supports plenty of Linux systems besides the Pi and Jetson.
b) Recent Pis are quite capable of running an AArch64 user-space, and
Jetson could run an ARMv7 user-spcae.
Solve this by enhancing setup.py to detect which specific system it's
running on, using the device tree compatible value. (Other mechanisms
could be used for other types of system in the future if required.) The
active dependency list is calculated based on this information.
There have been some bugs reported[1] that could only have occurred if
the previous platform limitations in setup.py's install_requires were not
correctly implemented, or people were running non-default user-space.
This change will ensure only the expected libraries are installed in
those cases.
[1]
https://github.com/NVIDIA/jetson-gpio/issues/19
https://github.com/adafruit/Adafruit_Blinka/issues/149
I have tested this on one Jetson system. I have not tested it on a Pi,
nor other systems supported by Blinka. However, I have confirmed the Pi
compatible values match those used by:
- The upstream Linux kernel.
- The latest Pi Foundation kernel.
- Pi Foundation kernel 4.8, from around Jan 2017.
4.7 used different compatible values.
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
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
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.
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.
Stephen Warren [Thu, 15 Aug 2019 15:56:17 +0000 (09:56 -0600)]
Jetson TX2: Add missing D7 pin definition
Melissa LeBlanc-Williams [Tue, 6 Aug 2019 23:03:45 +0000 (16:03 -0700)]
Merge pull request #146 from paulcrawford/master
Adding Odroid N2
Melissa LeBlanc-Williams [Tue, 6 Aug 2019 22:47:48 +0000 (15:47 -0700)]
PR Changes, organized mc, removed duplicates
Melissa LeBlanc-Williams [Mon, 5 Aug 2019 21:04:47 +0000 (14:04 -0700)]
Shorted version number just in case ;)
Melissa LeBlanc-Williams [Mon, 5 Aug 2019 16:30:17 +0000 (09:30 -0700)]
Undo previous commit, just changed requirements
Melissa LeBlanc-Williams [Mon, 5 Aug 2019 16:15:18 +0000 (09:15 -0700)]
Use writebytes as fallback if we have an older spidev
paulcrawford [Mon, 5 Aug 2019 14:56:11 +0000 (10:56 -0400)]
Update pin.py
paulcrawford [Mon, 5 Aug 2019 14:53:48 +0000 (10:53 -0400)]
Update __init__.py
paulcrawford [Mon, 5 Aug 2019 14:35:50 +0000 (10:35 -0400)]
Update odroidn2.py
paulcrawford [Mon, 5 Aug 2019 14:17:43 +0000 (10:17 -0400)]
Update odroidn2.py
paulcrawford [Mon, 5 Aug 2019 14:11:05 +0000 (10:11 -0400)]
Update pin.py
paulcrawford [Sun, 4 Aug 2019 21:06:24 +0000 (17:06 -0400)]
Update board.py
paulcrawford [Sun, 4 Aug 2019 20:55:05 +0000 (16:55 -0400)]
Update board.py
paulcrawford [Sun, 4 Aug 2019 20:35:09 +0000 (16:35 -0400)]
Update board.py
paulcrawford [Sun, 4 Aug 2019 17:19:53 +0000 (13:19 -0400)]
Update board.py
paulcrawford [Sun, 4 Aug 2019 17:03:16 +0000 (13:03 -0400)]
Update pin.py
paulcrawford [Sat, 3 Aug 2019 15:28:33 +0000 (11:28 -0400)]
Update board.py
paulcrawford [Sat, 3 Aug 2019 13:48:03 +0000 (09:48 -0400)]
Update board.py
paulcrawford [Sat, 3 Aug 2019 01:24:45 +0000 (21:24 -0400)]
Update odroidn2.py
paulcrawford [Fri, 2 Aug 2019 21:48:44 +0000 (17:48 -0400)]
Update board.py
paulcrawford [Fri, 2 Aug 2019 21:44:58 +0000 (17:44 -0400)]
Update board.py
paulcrawford [Fri, 2 Aug 2019 21:38:48 +0000 (17:38 -0400)]
Update board.py
paulcrawford [Fri, 2 Aug 2019 21:30:22 +0000 (17:30 -0400)]
Update board.py
paulcrawford [Fri, 2 Aug 2019 21:11:58 +0000 (17:11 -0400)]
Update digitalio.py
paulcrawford [Fri, 2 Aug 2019 21:08:33 +0000 (17:08 -0400)]
Update board.py
paulcrawford [Fri, 2 Aug 2019 21:04:40 +0000 (17:04 -0400)]
Update odroidn2.py
paulcrawford [Fri, 2 Aug 2019 19:56:16 +0000 (15:56 -0400)]
Update odroidn2.py
paulcrawford [Fri, 2 Aug 2019 19:40:23 +0000 (15:40 -0400)]
Create odroidn2.py
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
Melissa LeBlanc-Williams [Fri, 2 Aug 2019 18:13:50 +0000 (11:13 -0700)]
Update writebytes to writebytes2 for long buffers
paulcrawford [Wed, 31 Jul 2019 02:07:26 +0000 (22:07 -0400)]
Update pin.py
paulcrawford [Tue, 30 Jul 2019 21:59:10 +0000 (17:59 -0400)]
Update pin.py
paulcrawford [Tue, 30 Jul 2019 17:07:31 +0000 (13:07 -0400)]
Update pin.py
paulcrawford [Tue, 30 Jul 2019 16:16:16 +0000 (12:16 -0400)]
Update pin.py
paulcrawford [Tue, 30 Jul 2019 16:13:31 +0000 (12:13 -0400)]
Create __init__.py
paulcrawford [Tue, 30 Jul 2019 16:12:19 +0000 (12:12 -0400)]
Create pin.py
paulcrawford [Tue, 30 Jul 2019 16:11:37 +0000 (12:11 -0400)]
Delete s922x
paulcrawford [Tue, 30 Jul 2019 15:52:50 +0000 (11:52 -0400)]
Create s922x
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
Melissa LeBlanc-Williams [Fri, 19 Jul 2019 21:05:48 +0000 (14:05 -0700)]
Added Raspberry Pi Compute Module
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
Melissa LeBlanc-Williams [Wed, 26 Jun 2019 22:21:31 +0000 (15:21 -0700)]
Exposed both sets of I2C ports
Melissa LeBlanc-Williams [Wed, 26 Jun 2019 22:17:24 +0000 (15:17 -0700)]
Added some Pin-onyms
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
Melissa LeBlanc-Williams [Thu, 20 Jun 2019 23:11:03 +0000 (16:11 -0700)]
SPI fix for DragonBoard410c
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
Melissa LeBlanc-Williams [Thu, 20 Jun 2019 19:14:16 +0000 (12:14 -0700)]
Linted
Melissa LeBlanc-Williams [Thu, 20 Jun 2019 19:09:52 +0000 (12:09 -0700)]
Merge branch 'master' of https://github.com/adafruit/Adafruit_Blinka
Melissa LeBlanc-Williams [Thu, 20 Jun 2019 19:09:46 +0000 (12:09 -0700)]
Initial Dragonboard 410c Addition
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
Melissa LeBlanc-Williams [Wed, 12 Jun 2019 04:07:03 +0000 (21:07 -0700)]
SPI fixes for a couple boards
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
Melissa LeBlanc-Williams [Tue, 11 Jun 2019 01:23:55 +0000 (18:23 -0700)]
Added init file to amlogic folder
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
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.
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
Melissa LeBlanc-Williams [Thu, 6 Jun 2019 23:01:34 +0000 (16:01 -0700)]
Removed Odroid C2 from pulseio
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