]>
Repositories - Adafruit_Blinka-hackapet.git/log
Lady Ada [Wed, 27 Nov 2019 20:37:45 +0000 (15:37 -0500)]
fix mixed up idle state polarity, and extra first-pulse from idle
Melissa LeBlanc-Williams [Tue, 26 Nov 2019 16:58:38 +0000 (08:58 -0800)]
Merge pull request #183 from theacodes/master
Add stubs for micropython.natve, viper, and asm_thumb
Thea Flowers [Tue, 26 Nov 2019 02:07:14 +0000 (18:07 -0800)]
Add stubs for micropython.natve, viper, and asm_thumb
Melissa LeBlanc-Williams [Tue, 26 Nov 2019 00:45:32 +0000 (16:45 -0800)]
Merge pull request #182 from makermelissa/master
Added spidev >= 3.4 in setup.py
Melissa LeBlanc-Williams [Mon, 25 Nov 2019 23:34:07 +0000 (15:34 -0800)]
Added spidev >= 3.4 in setup.py
Melissa LeBlanc-Williams [Mon, 25 Nov 2019 22:42:33 +0000 (14:42 -0800)]
Merge pull request #170 from hamishmb/fix-thread-safety
Add a lock for thread safety when the I2C class is used in a with statement
Melissa LeBlanc-Williams [Mon, 25 Nov 2019 22:38:58 +0000 (14:38 -0800)]
Merge pull request #181 from adafruit/revert-175-patch-3
Revert "Update jetson_nano.py"
Melissa LeBlanc-Williams [Mon, 25 Nov 2019 22:36:48 +0000 (14:36 -0800)]
Revert "Update jetson_nano.py"
Melissa LeBlanc-Williams [Mon, 25 Nov 2019 22:36:28 +0000 (14:36 -0800)]
Merge pull request #180 from adafruit/revert-176-patch-2
Revert "Update pin.py"
Melissa LeBlanc-Williams [Mon, 25 Nov 2019 22:33:57 +0000 (14:33 -0800)]
Revert "Update pin.py"
Melissa LeBlanc-Williams [Mon, 25 Nov 2019 22:30:43 +0000 (14:30 -0800)]
Merge pull request #175 from tb5874/patch-3
Update jetson_nano.py
Melissa LeBlanc-Williams [Mon, 25 Nov 2019 22:30:37 +0000 (14:30 -0800)]
Merge pull request #176 from tb5874/patch-2
Update pin.py
tb5874 [Fri, 22 Nov 2019 05:19:33 +0000 (14:19 +0900)]
Update jetson_nano.py
started by modify https://github.com/adafruit/Adafruit_Blinka/blob/master/src/adafruit_blinka/microcontroller/tegra/t210/pin.py
tb5874 [Fri, 22 Nov 2019 05:09:04 +0000 (14:09 +0900)]
Update pin.py
https://www.jetsonhacks.com/nvidia-jetson-nano-j41-header-pinout/
https://docs.google.com/spreadsheets/d/1LsgtB-vEs6yJQ9URbp_P2XIVghCy400udUMC0MHWm5w/edit#gid=
1812645714
SDA SCL 0 and SDA SCL 1 order modify
Limor "Ladyada" Fried [Thu, 14 Nov 2019 18:52:29 +0000 (13:52 -0500)]
Merge pull request #173 from caternuson/iss172
Add SPI phase check to FT232H
caternuson [Thu, 14 Nov 2019 18:13:33 +0000 (10:13 -0800)]
add SPI phase check to FT232H
Melissa LeBlanc-Williams [Fri, 1 Nov 2019 16:36:37 +0000 (09:36 -0700)]
Merge pull request #168 from pdp7/master
Add PWMOut for PocketBeagle
Hamish McIntyre-Bhatty [Thu, 31 Oct 2019 14:38:40 +0000 (14:38 +0000)]
Add a lock for thread safety when the I2C class is used in a with statement
Melissa LeBlanc-Williams [Tue, 29 Oct 2019 23:06:30 +0000 (16:06 -0700)]
Merge pull request #169 from makermelissa/master
Changed error to more appropriate type
Melissa LeBlanc-Williams [Tue, 29 Oct 2019 17:04:24 +0000 (10:04 -0700)]
Changed error to more appropriate type
Drew Fustini [Sat, 26 Oct 2019 19:03:09 +0000 (21:03 +0200)]
Add PWMOut for PocketBeagle #159
Add PWMOut for PocketBeagle which has the AM3358 SoC.
Note that the generic linux PWMOut implementation will
not work as BeagleBoard.org kernel has a patch to allow
udev to be able to set the ownership and permissions
in /sys/class/pwm when channels are exported. However,
this naming scheme is different than what is used in the
mainline kernel.
The PocketBeagle has these PWM outputs:
/sys/class/pwm/pwmchip0/pwm-0:0/period
/sys/class/pwm/pwmchip0/pwm-0:1/period
/sys/class/pwm/pwmchip2/pwm-2:0/period
/sys/class/pwm/pwmchip2/pwm-2:1/period
/sys/class/pwm/pwmchip4/pwm-4:0/period
/sys/class/pwm/pwmchip4/pwm-4:1/period
Here is the kernel patch that is being used:
https://github.com/RobertCNelson/bb-kernel/blob/am33x-v4.11/patches/drivers/pwm/0001-pwm-Create-device-class-for-pwm-channels.p$
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