]> Repositories - Adafruit_Blinka-hackapet.git/log
Adafruit_Blinka-hackapet.git
4 years agoMerge pull request #400 from luxarf/fix/rockpis-pins 5.13.1
Melissa LeBlanc-Williams [Wed, 27 Jan 2021 16:00:06 +0000 (08:00 -0800)]
Merge pull request #400 from luxarf/fix/rockpis-pins

Fix/rockpis pins

4 years agofix copy paste error
luxarf [Wed, 27 Jan 2021 15:00:40 +0000 (16:00 +0100)]
fix copy paste error

4 years agofix the erronous pin declarations
luxarf [Wed, 27 Jan 2021 14:55:57 +0000 (15:55 +0100)]
fix the erronous pin declarations

4 years agoMerge pull request #398 from makermelissa/master 5.13.0
Limor "Ladyada" Fried [Wed, 20 Jan 2021 22:56:57 +0000 (17:56 -0500)]
Merge pull request #398 from makermelissa/master

Added NanoPi NEO Air Support

4 years agoGet I2C and SPI working
Melissa LeBlanc-Williams [Wed, 20 Jan 2021 22:54:17 +0000 (14:54 -0800)]
Get I2C and SPI working

4 years agoAdded NanoPi NEO Air support
Melissa LeBlanc-Williams [Wed, 20 Jan 2021 22:07:11 +0000 (14:07 -0800)]
Added NanoPi NEO Air support

4 years agoMerge pull request #397 from makermelissa/master 5.12.0
Melissa LeBlanc-Williams [Wed, 20 Jan 2021 20:19:51 +0000 (12:19 -0800)]
Merge pull request #397 from makermelissa/master

Add BeagleBone AI Support

4 years agoAdd BeagleBone AI Support
Melissa LeBlanc-Williams [Wed, 20 Jan 2021 18:48:14 +0000 (10:48 -0800)]
Add BeagleBone AI Support

4 years agoMerge pull request #395 from flyleaf91/master 5.11.0
Melissa LeBlanc-Williams [Fri, 15 Jan 2021 16:46:37 +0000 (09:46 -0700)]
Merge pull request #395 from flyleaf91/master

Add support for LubanCat i.MX6ULL board

4 years agofix for black check
flyleaf [Fri, 15 Jan 2021 14:19:02 +0000 (22:19 +0800)]
fix for black check

4 years agoAdd analog in example
flyleaf [Fri, 15 Jan 2021 11:36:54 +0000 (19:36 +0800)]
Add analog in example

4 years agoAdd analogio support for LubanCat i.MX6ULL
flyleaf [Fri, 15 Jan 2021 11:36:30 +0000 (19:36 +0800)]
Add analogio support for LubanCat i.MX6ULL

4 years agoAdd busio,pulseio support for LubanCat i.MX6ULL
flyleaf [Fri, 15 Jan 2021 11:36:08 +0000 (19:36 +0800)]
Add busio,pulseio support for LubanCat i.MX6ULL

4 years agoadd digital IO support for lubancat i.MX6ULL
flyleaf [Fri, 15 Jan 2021 11:34:16 +0000 (19:34 +0800)]
add digital IO support for lubancat i.MX6ULL

4 years agoMerge pull request #394 from caternuson/iss391
Carter Nelson [Fri, 15 Jan 2021 03:43:28 +0000 (19:43 -0800)]
Merge pull request #394 from caternuson/iss391

Privitize `i2c_configure` in MCP2221 class

4 years agoprivitize i2c_configure
caternuson [Fri, 15 Jan 2021 00:53:22 +0000 (16:53 -0800)]
privitize i2c_configure

4 years agoMerge pull request #393 from caternuson/i2c_clock
Carter Nelson [Thu, 14 Jan 2021 22:10:04 +0000 (14:10 -0800)]
Merge pull request #393 from caternuson/i2c_clock

Change default I2C clock frequency

4 years agochange default i2c freq
caternuson [Thu, 14 Jan 2021 19:27:32 +0000 (11:27 -0800)]
change default i2c freq

4 years agoMerge pull request #392 from twa127/master 5.10.0
Melissa LeBlanc-Williams [Thu, 14 Jan 2021 16:26:58 +0000 (09:26 -0700)]
Merge pull request #392 from twa127/master

Add Support For Orange Pi Zero Plus Board

4 years agoUpdate __init__.py
twa127 [Thu, 14 Jan 2021 08:55:15 +0000 (08:55 +0000)]
Update __init__.py

4 years agoCreate orangepizeroplus.py
twa127 [Thu, 14 Jan 2021 08:33:40 +0000 (08:33 +0000)]
Create orangepizeroplus.py

4 years agoUpdate board.py
twa127 [Thu, 14 Jan 2021 08:29:44 +0000 (08:29 +0000)]
Update board.py

4 years agoMerge pull request #3 from adafruit/master
twa127 [Thu, 14 Jan 2021 08:26:09 +0000 (08:26 +0000)]
Merge pull request #3 from adafruit/master

Merge pull request #385 from twa127/master

4 years agoMerge pull request #385 from twa127/master
Melissa LeBlanc-Williams [Mon, 4 Jan 2021 16:57:39 +0000 (09:57 -0700)]
Merge pull request #385 from twa127/master

Support for Orange Pi Zero Plus2 H5

4 years agoUpdate digitalio.py
twa127 [Fri, 1 Jan 2021 09:26:09 +0000 (09:26 +0000)]
Update digitalio.py

4 years agoUpdate digitalio.py
twa127 [Fri, 1 Jan 2021 08:22:01 +0000 (08:22 +0000)]
Update digitalio.py

4 years agoUpdate board.py
twa127 [Thu, 31 Dec 2020 18:09:13 +0000 (18:09 +0000)]
Update board.py

4 years agoMerge pull request #2 from adafruit/master
twa127 [Thu, 31 Dec 2020 17:57:55 +0000 (17:57 +0000)]
Merge pull request #2 from adafruit/master

Merge

4 years agoMerge pull request #383 from jamesrusso/deinit-when-pixel-count-changes 5.9.2
Melissa LeBlanc-Williams [Wed, 23 Dec 2020 17:19:06 +0000 (10:19 -0700)]
Merge pull request #383 from jamesrusso/deinit-when-pixel-count-changes

re-initalize the underlying ws2811 module if the lenght of the buffer…

4 years agoUpdate neopixel.py
Melissa LeBlanc-Williams [Wed, 23 Dec 2020 17:15:54 +0000 (09:15 -0800)]
Update neopixel.py

Fix line too long.

4 years agoUpdate neopixel.py
Melissa LeBlanc-Williams [Wed, 23 Dec 2020 17:13:12 +0000 (09:13 -0800)]
Update neopixel.py

4 years agoMerge pull request #384 from twa127/master
Melissa LeBlanc-Williams [Tue, 22 Dec 2020 01:01:39 +0000 (18:01 -0700)]
Merge pull request #384 from twa127/master

Board Definition file for Banana Pi

4 years agoCreate __init__.py
twa127 [Sat, 19 Dec 2020 20:22:03 +0000 (20:22 +0000)]
Create __init__.py

4 years agoMerge pull request #1 from adafruit/master
twa127 [Sat, 19 Dec 2020 20:16:06 +0000 (20:16 +0000)]
Merge pull request #1 from adafruit/master

Merge

4 years agore-initalize the underlying ws2811 module if the lenght of the buffer changes.
James Russo [Thu, 17 Dec 2020 00:56:47 +0000 (00:56 +0000)]
re-initalize the underlying ws2811 module if the lenght of the buffer changes.

4 years agoMerge pull request #377 from scottamain/mini 5.9.1
Melissa LeBlanc-Williams [Wed, 9 Dec 2020 20:01:34 +0000 (13:01 -0700)]
Merge pull request #377 from scottamain/mini

Support pin names in RPI style for Coral boards

4 years agoreformat with 'black'
Scott Main [Tue, 8 Dec 2020 18:45:38 +0000 (10:45 -0800)]
reformat with 'black'

4 years agoSupport pin names in RPI style for Coral boards
Scott Main [Tue, 8 Dec 2020 02:04:52 +0000 (18:04 -0800)]
Support pin names in RPI style for Coral boards

This should allow code compatibility across boards when using the
"D#" names, as per the Raspberry Pi header.

This also renames several pin names for the Mini so they actually match
the datasheet pin names. (Previously, I mistakenly used pin names
from the original Dev Board.) These renames are safe at this point
because the Dev Board Mini has not shipped yet.

4 years agoMerge pull request #3 from scottamain/master
Scott Main [Tue, 8 Dec 2020 00:42:09 +0000 (16:42 -0800)]
Merge pull request #3 from scottamain/master

Sync to master

4 years agoMerge pull request #2 from adafruit/master
Scott Main [Tue, 8 Dec 2020 00:40:10 +0000 (16:40 -0800)]
Merge pull request #2 from adafruit/master

Sync to Blinka master

4 years agoMerge pull request #374 from scottamain/mini 5.9.0
Melissa LeBlanc-Williams [Mon, 7 Dec 2020 17:53:57 +0000 (10:53 -0700)]
Merge pull request #374 from scottamain/mini

Add Coral Dev Board Mini support (MT8167)

4 years agoMerge pull request #373 from scottamain/docs
Melissa LeBlanc-Williams [Mon, 7 Dec 2020 17:51:23 +0000 (10:51 -0700)]
Merge pull request #373 from scottamain/docs

Add missing modules to API docs build.

4 years agoMerge pull request #376 from mcauser/patch-1 5.8.2
Melissa LeBlanc-Williams [Mon, 7 Dec 2020 17:33:02 +0000 (10:33 -0700)]
Merge pull request #376 from mcauser/patch-1

Fix expired Discord link

4 years agoFix expired Discord link
Mike Causer [Mon, 7 Dec 2020 14:24:11 +0000 (01:24 +1100)]
Fix expired Discord link

4 years agoFix formatting with 'black'
Scott Main [Sun, 6 Dec 2020 20:58:06 +0000 (12:58 -0800)]
Fix formatting with 'black'

4 years agofix pylint warning for 'sys' import
Scott Main [Sun, 6 Dec 2020 06:46:42 +0000 (22:46 -0800)]
fix pylint warning for 'sys' import

4 years agoAdd missing modules to API docs build.
Scott Main [Sun, 6 Dec 2020 06:17:17 +0000 (22:17 -0800)]
Add missing modules to API docs build.

Includes tweaks to Sphinx config and module files to help the docs build.

Reviewed the docs build with:
sphinx-build -E -W -b html . _build/html

4 years agoAdd missing modules to API docs build.
Scott Main [Sun, 6 Dec 2020 06:17:17 +0000 (22:17 -0800)]
Add missing modules to API docs build.

Includes tweaks to Sphinx config and module files to help the docs build.

Reviewed the docs build with:
sphinx-build -E -W -b html . _build/html

4 years agoAdd missing modules to API docs build.
Scott Main [Sun, 6 Dec 2020 06:17:17 +0000 (22:17 -0800)]
Add missing modules to API docs build.

Includes tweaks to Sphinx config and module files to help the docs build.

4 years agoAdd Coral Dev Board Mini support (MT8167).
Scott Main [Mon, 30 Nov 2020 01:33:35 +0000 (17:33 -0800)]
Add Coral Dev Board Mini support (MT8167).

Also rename the other Coral board pin module for consistency.

4 years agoMerge pull request #1 from scottamain/pwmbug
Scott Main [Fri, 4 Dec 2020 22:58:03 +0000 (14:58 -0800)]
Merge pull request #1 from scottamain/pwmbug

Merge pwmbug changes

4 years agoMerge pull request #372 from scottamain/pwmbug 5.8.1
Melissa LeBlanc-Williams [Fri, 4 Dec 2020 22:48:39 +0000 (15:48 -0700)]
Merge pull request #372 from scottamain/pwmbug

Add timout loop after exporting the PWM pin.

4 years agoAdd timout loop after exporting the PWM pin.
Scott Main [Fri, 4 Dec 2020 20:09:22 +0000 (12:09 -0800)]
Add timout loop after exporting the PWM pin.

This gives udev time to respond to the device event. Without this,
the subsequent attempts to modify pin properties will fail when
depending on udev rules to apply new user permissions.

This code is essentially copied from python-periphery, as was most
of this file (both MIT licenced). Although it appears sergeev added
this loop recently, compared to when this code was originally cloned.

4 years agoAdd timout loop after exporting the PWM pin.
Scott Main [Fri, 4 Dec 2020 20:09:22 +0000 (12:09 -0800)]
Add timout loop after exporting the PWM pin.

This gives udev time to respond to the device event. Without this,
the subsequent attempts to modify pin properties will fail when
depending on udev rules to apply new user permissions.

This code is essentially copied from python-periphery, as was most
of this file (both MIT licenced). Although it appears sergeev added
this loop recently, compared to when this code was originally cloned.

4 years agoAdd timout loop after exporting the PWM pin.
Scott Main [Fri, 4 Dec 2020 20:09:22 +0000 (12:09 -0800)]
Add timout loop after exporting the PWM pin.

This gives udev time to respond to the device event. Without this,
the subsequent attempts to modify pin properties will fail when
depending on udev rules to apply new user permissions.

This code is essentially copied from python-periphery, as was most
of this file (both MIT licenced). Although it appears sergeev added
this loop recently, compared to when this code was originally cloned.

4 years agoAdd timout loop after exporting the PWM pin.
Scott Main [Fri, 4 Dec 2020 20:09:22 +0000 (12:09 -0800)]
Add timout loop after exporting the PWM pin.

This gives udev time to respond to the device event. Without this,
the subsequent attempts to modify pin properties will fail when
depending on udev rules to apply new user permissions.

This code is essentially copied from python-periphery, as was most
of this file (both MIT licenced). Although it appears sergeev added
this loop recently, compared to when this code was originally cloned.

4 years agoAdd timout loop after exporting the PWM pin.
Scott Main [Fri, 4 Dec 2020 20:09:22 +0000 (12:09 -0800)]
Add timout loop after exporting the PWM pin.

This gives udev time to respond to the device event. Without this,
the subsequent attempts to modify pin properties will fail when
depending on udev rules to apply new user permissions.

This code is essentially copied from python-periphery, as was most
of this file (both MIT licenced). Although it appears sergeev added
this loop recently, compared to when this code was originally cloned.

4 years agoMerge pull request #366 from SecT0uch/master 5.8.0
Melissa LeBlanc-Williams [Wed, 18 Nov 2020 16:08:58 +0000 (09:08 -0700)]
Merge pull request #366 from SecT0uch/master

Added SoPine compatibility

4 years agoPycodeStyle: black pass
Jordan ERNST [Wed, 18 Nov 2020 09:04:33 +0000 (10:04 +0100)]
PycodeStyle: black pass

4 years agoAdded SoPine compatibility
Jordan ERNST [Tue, 17 Nov 2020 09:56:43 +0000 (10:56 +0100)]
Added SoPine compatibility

4 years agoMerge pull request #360 from twa127/master 5.7.0
Melissa LeBlanc-Williams [Mon, 2 Nov 2020 15:46:02 +0000 (08:46 -0700)]
Merge pull request #360 from twa127/master

Support for Orange Pi Zero Plus2 H5

4 years agoUpdate bpim2zero.py
twa127 [Mon, 2 Nov 2020 14:42:08 +0000 (14:42 +0000)]
Update bpim2zero.py

Support for pins PL2 and PL4

4 years agoUpdate pin.py
twa127 [Mon, 2 Nov 2020 14:29:07 +0000 (14:29 +0000)]
Update pin.py

Add support for Banana Pi M2 Zero pins PL2 and PL4

4 years agoMerge pull request #322 from dmanla/master
Melissa LeBlanc-Williams [Sun, 1 Nov 2020 17:49:03 +0000 (10:49 -0700)]
Merge pull request #322 from dmanla/master

Adding PineH64 SBC support

4 years agoMerge pull request #359 from michaellass/remove_malicious_timeout
Melissa LeBlanc-Williams [Sun, 1 Nov 2020 17:47:38 +0000 (10:47 -0700)]
Merge pull request #359 from michaellass/remove_malicious_timeout

Do not prematurely stop waiting for an answer from the message queue

4 years agoAdd files via upload
twa127 [Sat, 31 Oct 2020 21:31:08 +0000 (21:31 +0000)]
Add files via upload

4 years agoAdd files via upload
twa127 [Sat, 31 Oct 2020 21:30:20 +0000 (21:30 +0000)]
Add files via upload

4 years agoMerge pull request #358 from twa127/master 5.6.0
Melissa LeBlanc-Williams [Sat, 31 Oct 2020 15:33:04 +0000 (09:33 -0600)]
Merge pull request #358 from twa127/master

Add Support for Banana Pi M2 Zero

4 years agoDelete bpim2zero.cpython-37.pyc
twa127 [Sat, 31 Oct 2020 08:35:22 +0000 (08:35 +0000)]
Delete bpim2zero.cpython-37.pyc

4 years agoDo not prematurely stop waiting for an answer from the message queue
Michael Lass [Fri, 30 Oct 2020 22:57:10 +0000 (23:57 +0100)]
Do not prematurely stop waiting for an answer from the message queue

When requesting data from libgpiod_pulsein via the message queue, we
always expect an answer. Prematurely stopping to wait for an answer can
only do harm. If we do not read the expected answer from the mq, it will
stay there and be read (falsely) as an answer to the following request.

Example:

* We request a pulse length by sending '^'.
* Due to high system load, libgpiod_pulsein does not send a response in
  time.
* We timeout with a RuntimeError. This is verly likely ignored by the
  calling code since RuntimeErrors are thrown with every invalid
  reading such that the calling code _has to_ ignore these errors.
* We trigger a new sensor reading (pause-clean-resume).
* We request the length of the pulse buffer by sending 'l'.
* We read from the message queue. The response we get now is the
  response to our original '^' request. Let this response be 100.
* We now assume 100 elements in the pulse buffer. This is of course
  wrong and will lead to all sorts of errors.

The only reason to timeout on an expected answer is probably during
initialization when we are not sure if the communication via message
queue has been successfully set up. In all other cases we should just
block and never timeout.

4 years agoUpdate board.py
twa127 [Fri, 30 Oct 2020 17:49:41 +0000 (17:49 +0000)]
Update board.py

4 years agoAdd files via upload
twa127 [Fri, 30 Oct 2020 16:13:12 +0000 (16:13 +0000)]
Add files via upload

4 years agoUpdate board.py
twa127 [Fri, 30 Oct 2020 16:09:27 +0000 (16:09 +0000)]
Update board.py

4 years agoMerge pull request #356 from carsonmcdonald/expose_mcp2221_retry_failure 5.5.4
Melissa LeBlanc-Williams [Mon, 19 Oct 2020 14:25:43 +0000 (08:25 -0600)]
Merge pull request #356 from carsonmcdonald/expose_mcp2221_retry_failure

If the number of retries is exceeded raise an error

4 years agoIf the number of retries is exceeded raise an error
Carson McDonald [Sun, 18 Oct 2020 13:30:37 +0000 (09:30 -0400)]
If the number of retries is exceeded raise an error

4 years agoMerge pull request #354 from makermelissa/master
Limor "Ladyada" Fried [Sat, 17 Oct 2020 16:28:08 +0000 (12:28 -0400)]
Merge pull request #354 from makermelissa/master

Update requirements for latest version of PureIO

4 years agoUpdate requirements for latest version of PureIO
Melissa LeBlanc-Williams [Sat, 17 Oct 2020 04:44:30 +0000 (22:44 -0600)]
Update requirements for latest version of PureIO

4 years agoFixed missing asterisk
Daniel Manla [Wed, 14 Oct 2020 19:27:30 +0000 (15:27 -0400)]
Fixed missing asterisk

4 years agoMerge pull request #353 from makermelissa/master 5.5.3
Melissa LeBlanc-Williams [Tue, 13 Oct 2020 16:19:58 +0000 (10:19 -0600)]
Merge pull request #353 from makermelissa/master

Updated required PlatformDetect to latest

4 years agoUpdated required PlatformDetect to latest
Melissa LeBlanc-Williams [Tue, 13 Oct 2020 14:41:10 +0000 (08:41 -0600)]
Updated required PlatformDetect to latest

4 years agoMerge pull request #352 from eteq/add-skip-reset 5.5.2
Melissa LeBlanc-Williams [Mon, 12 Oct 2020 14:39:51 +0000 (08:39 -0600)]
Merge pull request #352 from eteq/add-skip-reset

add option to skip reset on MCP2221

4 years agoadd option to skip reset on MCP2221
Erik Tollerud [Mon, 12 Oct 2020 05:07:09 +0000 (01:07 -0400)]
add option to skip reset on MCP2221

4 years agoMerge pull request #349 from simallaire/multiple_mcp 5.5.1
Melissa LeBlanc-Williams [Thu, 8 Oct 2020 14:27:06 +0000 (08:27 -0600)]
Merge pull request #349 from simallaire/multiple_mcp

Enable support for multiple mcp2221

4 years agoDisable too-few-public-method checks
Simon-Pierre Allaire [Wed, 7 Oct 2020 18:54:03 +0000 (14:54 -0400)]
Disable too-few-public-method checks

4 years agoReorganize imports
Simon-Pierre Allaire [Wed, 7 Oct 2020 18:40:56 +0000 (14:40 -0400)]
Reorganize imports

4 years agoAdd & Remove spaces to clean the syntax
Simon-Pierre Allaire [Wed, 7 Oct 2020 18:37:20 +0000 (14:37 -0400)]
Add & Remove spaces to clean the syntax

4 years agoCreate and use mcp-i2c devices
Simon-Pierre Allaire [Mon, 5 Oct 2020 16:15:33 +0000 (12:15 -0400)]
Create and use mcp-i2c devices

4 years agoUpdate requirements to latest PlatformDetect 5.5.0
Melissa LeBlanc-Williams [Wed, 7 Oct 2020 00:09:04 +0000 (18:09 -0600)]
Update requirements to latest PlatformDetect

4 years agoMerge pull request #348 from swarren/clara-agx-xavier
Melissa LeBlanc-Williams [Wed, 7 Oct 2020 00:07:04 +0000 (18:07 -0600)]
Merge pull request #348 from swarren/clara-agx-xavier

Add support for NVIDIA Clara AGX Xavier

4 years agoAdd support for NVIDIA Clara AGX Xavier
Stephen Warren [Mon, 5 Oct 2020 17:49:03 +0000 (11:49 -0600)]
Add support for NVIDIA Clara AGX Xavier

4 years agoAdd redefined classes
Simon-Pierre Allaire [Mon, 5 Oct 2020 16:14:32 +0000 (12:14 -0400)]
Add redefined classes

4 years agoDuplicate pi_busio_i2c as starting point
Simon-Pierre Allaire [Mon, 5 Oct 2020 15:48:26 +0000 (11:48 -0400)]
Duplicate pi_busio_i2c as starting point

4 years agoMerge pull request #345 from makermelissa/master 5.4.1
Melissa LeBlanc-Williams [Wed, 30 Sep 2020 16:54:35 +0000 (10:54 -0600)]
Merge pull request #345 from makermelissa/master

Updated requirements to use latest PureIO

4 years agoUpdated requirements to use latest PureIO
Melissa LeBlanc-Williams [Wed, 30 Sep 2020 16:49:08 +0000 (10:49 -0600)]
Updated requirements to use latest PureIO

5 years agoMerge pull request #343 from makermelissa/stm32mp1 5.4.0
Melissa LeBlanc-Williams [Fri, 11 Sep 2020 03:59:52 +0000 (20:59 -0700)]
Merge pull request #343 from makermelissa/stm32mp1

Initial STM32MP1 GPIO work

5 years agoMerge pull request #342 from makermelissa/master
Melissa LeBlanc-Williams [Fri, 11 Sep 2020 03:59:33 +0000 (20:59 -0700)]
Merge pull request #342 from makermelissa/master

Allow latest release of black to run

5 years agoMerge branch 'master' into stm32mp1
Melissa LeBlanc-Williams [Fri, 11 Sep 2020 00:01:08 +0000 (17:01 -0700)]
Merge branch 'master' into stm32mp1

5 years agoAllow latest release of black to run
Melissa LeBlanc-Williams [Thu, 10 Sep 2020 23:53:49 +0000 (16:53 -0700)]
Allow latest release of black to run

5 years agoAllow latest release of black to run
Melissa LeBlanc-Williams [Thu, 10 Sep 2020 23:51:20 +0000 (16:51 -0700)]
Allow latest release of black to run

5 years agoBlack formatted
Melissa LeBlanc-Williams [Thu, 10 Sep 2020 23:45:11 +0000 (16:45 -0700)]
Black formatted