]> Repositories - Adafruit_Blinka-hackapet.git/log
Adafruit_Blinka-hackapet.git
16 months agolint
brentru [Thu, 16 May 2024 18:11:14 +0000 (14:11 -0400)]
lint

16 months agoremove fake_mcp2221 and all references of it, we're starting fresh!
brentru [Thu, 16 May 2024 18:02:06 +0000 (14:02 -0400)]
remove fake_mcp2221 and all references of it, we're starting fresh!

17 months agoMerge pull request #809 from makermelissa/main 8.39.1
Dan Halbert [Sat, 6 Apr 2024 01:13:36 +0000 (21:13 -0400)]
Merge pull request #809 from makermelissa/main

Fix PWMIO import bug

17 months agoFix PWMIO import bug
Melissa LeBlanc-Williams [Fri, 5 Apr 2024 22:31:15 +0000 (15:31 -0700)]
Fix PWMIO import bug

17 months agoMerge pull request #807 from brentru/force-mcp 8.39.0
Melissa LeBlanc-Williams [Fri, 5 Apr 2024 00:06:08 +0000 (17:06 -0700)]
Merge pull request #807 from brentru/force-mcp

Add support for "fake" MCP2221

17 months agoblacken
brentru [Thu, 4 Apr 2024 20:14:37 +0000 (16:14 -0400)]
blacken

17 months agofixes per review
brentru [Thu, 4 Apr 2024 20:10:11 +0000 (16:10 -0400)]
fixes per review

17 months agoblacken
brentru [Wed, 3 Apr 2024 15:26:11 +0000 (11:26 -0400)]
blacken

17 months agodecorator
brentru [Wed, 3 Apr 2024 14:59:35 +0000 (10:59 -0400)]
decorator

17 months agoadd staticmethod decorator
brentru [Wed, 3 Apr 2024 14:48:36 +0000 (10:48 -0400)]
add staticmethod decorator

17 months agofix no self use
brentru [Wed, 3 Apr 2024 14:44:59 +0000 (10:44 -0400)]
fix no self use

17 months agolint2
brentru [Tue, 2 Apr 2024 21:07:56 +0000 (17:07 -0400)]
lint2

17 months agopylint
brentru [Tue, 2 Apr 2024 21:04:39 +0000 (17:04 -0400)]
pylint

17 months agoblacken
brentru [Tue, 2 Apr 2024 20:47:34 +0000 (16:47 -0400)]
blacken

17 months agorm examples
brentru [Tue, 2 Apr 2024 20:43:11 +0000 (16:43 -0400)]
rm examples

17 months agoi2c scan and fake_mcp
brentru [Tue, 2 Apr 2024 20:30:37 +0000 (16:30 -0400)]
i2c scan and fake_mcp

17 months agofake i2c device scan, allow stimulus
brentru [Fri, 29 Mar 2024 15:18:48 +0000 (11:18 -0400)]
fake i2c device scan, allow stimulus

17 months agohook analogio
brentru [Fri, 29 Mar 2024 14:22:47 +0000 (10:22 -0400)]
hook analogio

17 months agotoggle
brentru [Fri, 29 Mar 2024 13:57:40 +0000 (09:57 -0400)]
toggle

17 months agodetecting
brentru [Fri, 29 Mar 2024 13:55:43 +0000 (09:55 -0400)]
detecting

17 months agoMerge pull request #803 from makermelissa/main 8.38.0
Melissa LeBlanc-Williams [Wed, 27 Mar 2024 21:56:52 +0000 (14:56 -0700)]
Merge pull request #803 from makermelissa/main

Add PWM Support for Jetson Nano

17 months agoMerge branch 'main' of https://github.com/adafruit/Adafruit_Blinka
Melissa LeBlanc-Williams [Mon, 25 Mar 2024 15:12:56 +0000 (08:12 -0700)]
Merge branch 'main' of https://github.com/adafruit/Adafruit_Blinka

17 months agoMerge pull request #801 from anonymouscowhead/add-quartz64
Melissa LeBlanc-Williams [Mon, 25 Mar 2024 15:12:19 +0000 (08:12 -0700)]
Merge pull request #801 from anonymouscowhead/add-quartz64

add quartz64a

17 months agomove pine64.py board under pine64 vendor dir
anonymouscowhead [Sat, 23 Mar 2024 01:01:23 +0000 (21:01 -0400)]
move pine64.py board under pine64 vendor dir

17 months agoAdd PWM Support for Jetson Nano
Melissa LeBlanc-Williams [Fri, 22 Mar 2024 19:47:41 +0000 (12:47 -0700)]
Add PWM Support for Jetson Nano

17 months agoadd quartz64
anonymouscowhead [Fri, 22 Mar 2024 02:20:27 +0000 (22:20 -0400)]
add quartz64

17 months agoMerge pull request #799 from makermelissa/rockpi-s-update 8.37.0
Melissa LeBlanc-Williams [Thu, 21 Mar 2024 16:59:30 +0000 (09:59 -0700)]
Merge pull request #799 from makermelissa/rockpi-s-update

Update Rockchip rk3308 to use libgpiod

17 months agoUpdate Rockchip rk3308 to use libgpiod
Melissa LeBlanc-Williams [Wed, 20 Mar 2024 18:57:50 +0000 (11:57 -0700)]
Update Rockchip rk3308 to use libgpiod

18 months agoMerge pull request #797 from makermelissa/main 8.36.0
Dan Halbert [Tue, 19 Mar 2024 17:20:34 +0000 (13:20 -0400)]
Merge pull request #797 from makermelissa/main

Update Blinka to use rpi-lgpio for PWM

18 months agoRun pre-commit
Melissa LeBlanc-Williams [Tue, 19 Mar 2024 17:11:26 +0000 (10:11 -0700)]
Run pre-commit

18 months agoUpdate Blinka to use rpi-lgpio for PWM
Melissa LeBlanc-Williams [Tue, 19 Mar 2024 17:08:16 +0000 (10:08 -0700)]
Update Blinka to use rpi-lgpio for PWM

18 months agoMerge pull request #790 from how2flow/odroid 8.35.0
Melissa LeBlanc-Williams [Tue, 12 Mar 2024 15:37:12 +0000 (08:37 -0700)]
Merge pull request #790 from how2flow/odroid

ODROID-M1/S: Fix that pwm1, pwm2 pins do not match with kernel dtbos

18 months agoMerge pull request #792 from shawnchainw/main 8.34.0
Melissa LeBlanc-Williams [Mon, 4 Mar 2024 16:59:13 +0000 (08:59 -0800)]
Merge pull request #792 from shawnchainw/main

Added support for RADXA ROCK 3C board

18 months agoAdded support for RADXA ROCK 3C board
shawnchainw [Thu, 29 Feb 2024 13:48:32 +0000 (21:48 +0800)]
Added support for RADXA ROCK 3C board

18 months agoMerge pull request #791 from shawnchainw/main 8.33.0
Melissa LeBlanc-Williams [Wed, 28 Feb 2024 16:39:13 +0000 (08:39 -0800)]
Merge pull request #791 from shawnchainw/main

Added support RADXA ROCK 4SE board

18 months agoAdded support RADXA ROCK board
shawnchainw [Wed, 28 Feb 2024 10:04:49 +0000 (18:04 +0800)]
Added support RADXA ROCK board

18 months agoODROID-M1/S: Fix that pwm1, pwm2 pins do not match with kernel dtbos
Steve Jeong [Wed, 28 Feb 2024 02:02:23 +0000 (02:02 +0000)]
ODROID-M1/S: Fix that pwm1, pwm2 pins do not match with kernel dtbos

Signed-off-by: Steve Jeong <steve@how2flow.net>
18 months agoMerge pull request #773 from casainho/main
Melissa LeBlanc-Williams [Mon, 26 Feb 2024 18:10:52 +0000 (10:10 -0800)]
Merge pull request #773 from casainho/main

Added board MilkV Duo

18 months agoMerge branch 'main' into main
Melissa LeBlanc-Williams [Mon, 26 Feb 2024 18:06:47 +0000 (10:06 -0800)]
Merge branch 'main' into main

19 months agoSmall changes after running pre-commit
casainho [Sat, 10 Feb 2024 21:21:50 +0000 (21:21 +0000)]
Small changes after running pre-commit

19 months agoMerge pull request #785 from makermelissa/main 8.32.0
Melissa LeBlanc-Williams [Thu, 8 Feb 2024 00:05:17 +0000 (16:05 -0800)]
Merge pull request #785 from makermelissa/main

Show NotImplementedError for pwmio on the Pi 5 for now

19 months agoShow NotImpplementedError for pwmio on the Pi 5 for now
Melissa LeBlanc-Williams [Thu, 8 Feb 2024 00:01:13 +0000 (16:01 -0800)]
Show NotImpplementedError for pwmio on the Pi 5 for now

19 months agoMerge pull request #784 from janvolck/main
Melissa LeBlanc-Williams [Tue, 6 Feb 2024 20:59:21 +0000 (12:59 -0800)]
Merge pull request #784 from janvolck/main

libgpio 2.x support for odroid c4

19 months agolibgpio 2.x support for odroid c4
Jan Volckaert [Sun, 4 Feb 2024 19:48:53 +0000 (20:48 +0100)]
libgpio 2.x support for odroid c4

19 months agoMerge pull request #779 from anonymouscowhead/add-licheepi4a 8.31.0
Melissa LeBlanc-Williams [Mon, 22 Jan 2024 16:53:23 +0000 (08:53 -0800)]
Merge pull request #779 from anonymouscowhead/add-licheepi4a

Add sipeed lichee pi 4a support

19 months agoreformatted to comply with Black style
anonymouscowhead [Sat, 20 Jan 2024 03:22:42 +0000 (03:22 +0000)]
reformatted to comply with Black style

19 months agoadded default UART
anonymouscowhead [Sat, 20 Jan 2024 03:08:16 +0000 (03:08 +0000)]
added default UART

19 months agocorrected SPI settings and added defaults
anonymouscowhead [Sat, 20 Jan 2024 02:33:43 +0000 (02:33 +0000)]
corrected SPI settings and added defaults

20 months agocorrected typo on SDA
anonymouscowhead [Mon, 15 Jan 2024 20:07:14 +0000 (20:07 +0000)]
corrected typo on SDA

20 months agoadded default I2C aliases
anonymouscowhead [Mon, 15 Jan 2024 20:02:57 +0000 (20:02 +0000)]
added default I2C aliases

20 months agocorrected spiPorts numbering
anonymouscowhead [Mon, 15 Jan 2024 14:20:27 +0000 (14:20 +0000)]
corrected spiPorts numbering

20 months agoAdded gpio for lichee pi 4a
anonymouscowhead [Mon, 15 Jan 2024 03:13:04 +0000 (03:13 +0000)]
Added gpio for lichee pi 4a

20 months agoMerge pull request #775 from ilario/libgpiod.sh 8.30.0
Melissa LeBlanc-Williams [Thu, 11 Jan 2024 16:30:46 +0000 (08:30 -0800)]
Merge pull request #775 from ilario/libgpiod.sh

Corrected URL of libgpiod install script

20 months agoCorrected URL of libgpiod install script
Ilario Gelmetti [Thu, 11 Jan 2024 12:08:19 +0000 (13:08 +0100)]
Corrected URL of libgpiod install script

20 months agoMerge pull request #774 from how2flow/odroid
Melissa LeBlanc-Williams [Wed, 10 Jan 2024 22:25:41 +0000 (14:25 -0800)]
Merge pull request #774 from how2flow/odroid

ODROID-C4: Fix 'pwmf' gpio pin

20 months agoMerge pull request #772 from mahenzon/feature/add-repka-pi
Melissa LeBlanc-Williams [Wed, 10 Jan 2024 22:19:05 +0000 (14:19 -0800)]
Merge pull request #772 from mahenzon/feature/add-repka-pi

Add support for Repka Pi-3 H5 and Pi-4 H6 boards

20 months agoMerge pull request #771 from mahenzon/feature/Fix-ODROID_M1-board-detection
Melissa LeBlanc-Williams [Wed, 10 Jan 2024 22:12:11 +0000 (14:12 -0800)]
Merge pull request #771 from mahenzon/feature/Fix-ODROID_M1-board-detection

Fix ODROID_M1 board detection

20 months agoODROID-C4: Fix 'pwmf' gpio pin
Steve Jeong [Tue, 9 Jan 2024 03:39:38 +0000 (03:39 +0000)]
ODROID-C4: Fix 'pwmf' gpio pin

Signed-off-by: Steve Jeong <steve@how2flow.net>
20 months agoAdded board MilkV Duo
casainho [Sun, 7 Jan 2024 19:12:21 +0000 (19:12 +0000)]
Added board MilkV Duo

20 months agoFix ODROID_M1 board detection
Suren Khorenyan [Sat, 6 Jan 2024 12:19:48 +0000 (15:19 +0300)]
Fix ODROID_M1 board detection

20 months agoAdd support for Repka Pi-3 H5 and Pi-4 H6 boards
Suren Khorenyan [Sat, 6 Jan 2024 12:17:50 +0000 (15:17 +0300)]
Add support for Repka Pi-3 H5 and Pi-4 H6 boards

20 months agoMerge pull request #769 from how2flow/odroid
Melissa LeBlanc-Williams [Fri, 5 Jan 2024 23:26:00 +0000 (15:26 -0800)]
Merge pull request #769 from how2flow/odroid

ODROID-COMMON: Change pin mapping to support new dtbo and to unify with other odroid boards

20 months agoODROID-N2/C4: Add uart pins
Steve Jeong [Fri, 5 Jan 2024 03:48:22 +0000 (03:48 +0000)]
ODROID-N2/C4: Add uart pins

Signed-off-by: Steve Jeong <steve@how2flow.net>
20 months agoODROID-N2/C4: Fix uart address typo
Steve Jeong [Fri, 5 Jan 2024 03:45:50 +0000 (03:45 +0000)]
ODROID-N2/C4: Fix uart address typo

Signed-off-by: Steve Jeong <steve@how2flow.net>
20 months agoODROID-COMMON: Add aliases for backward compatibility.
Steve Jeong [Fri, 5 Jan 2024 00:56:54 +0000 (00:56 +0000)]
ODROID-COMMON: Add aliases for backward compatibility.

Signed-off-by: Steve Jeong <steve@how2flow.net>
20 months agoODROID-COMMON: Add the pin name of the default chipselects
Steve Jeong [Thu, 4 Jan 2024 08:15:58 +0000 (08:15 +0000)]
ODROID-COMMON: Add the pin name of the default chipselects

to support new dtbo and to unify with other odroid boards

Signed-off-by: Steve Jeong <steve@how2flow.net>
20 months agoODROID-COMMON: Add the pin name of the default PWM
Steve Jeong [Thu, 4 Jan 2024 08:05:04 +0000 (08:05 +0000)]
ODROID-COMMON: Add the pin name of the default PWM

to support new dtbo and to unify with other odroid boards

Signed-off-by: Steve Jeong <steve@how2flow.net>
20 months agoODROID-M1/S: Fix the i2c and serial pins
Steve Jeong [Wed, 3 Jan 2024 06:42:41 +0000 (06:42 +0000)]
ODROID-M1/S: Fix the i2c and serial pins

to support new dtbo and to unify with other odroid boards

Signed-off-by: Steve Jeong <steve@how2flow.net>
20 months agoODROID-N2/C4: Support PWMOuts
Steve Jeong [Wed, 3 Jan 2024 09:42:54 +0000 (09:42 +0000)]
ODROID-N2/C4: Support PWMOuts

Signed-off-by: Steve Jeong <steve@how2flow.net>
20 months agoODROID-N2/Plus: Change pin mapping.
Steve Jeong [Thu, 4 Jan 2024 00:58:12 +0000 (00:58 +0000)]
ODROID-N2/Plus: Change pin mapping.

to support new dtbo and to unify with other odroid boards

Signed-off-by: Steve Jeong <steve@how2flow.net>
20 months agoMerge pull request #764 from makermelissa/main 8.29.0
Melissa LeBlanc-Williams [Fri, 29 Dec 2023 16:30:28 +0000 (08:30 -0800)]
Merge pull request #764 from makermelissa/main

Fix pulsein for the Pi 5 and make lockable silent

20 months agoMerge pull request #765 from how2flow/odroid-adc
Melissa LeBlanc-Williams [Fri, 29 Dec 2023 16:29:49 +0000 (08:29 -0800)]
Merge pull request #765 from how2flow/odroid-adc

ODROID-COMMON: Support ADC pins

20 months agoODROID-COMMON: Support ADC pins
Steve Jeong [Mon, 11 Dec 2023 08:20:53 +0000 (08:20 +0000)]
ODROID-COMMON: Support ADC pins

e.g.

```
import time
import board
from analogio import AnalogIn

analog_in = AnalogIn(board.A0) # support A0 and A1.

def get_voltage(pin):
    return (pin.value * 1.8) / 1024

while True:
    print((get_voltage(analog_in),))
    time.sleep(0.1)
```

Signed-off-by: Steve Jeong <steve@how2flow.net>
20 months agoFix pulsein for the Pi 5 and make lockable silent
Melissa LeBlanc-Williams [Wed, 27 Dec 2023 21:01:47 +0000 (13:01 -0800)]
Fix pulsein for the Pi 5 and make lockable silent

20 months agoMerge pull request #763 from how2flow/fixups
Melissa LeBlanc-Williams [Tue, 26 Dec 2023 16:18:03 +0000 (08:18 -0800)]
Merge pull request #763 from how2flow/fixups

microcontroller/rk: alias: Shorten the import statements to a single …

20 months agomicrocontroller/rk: alias: Shorten the import statements to a single line
Steve Jeong [Tue, 26 Dec 2023 01:50:40 +0000 (01:50 +0000)]
microcontroller/rk: alias: Shorten the import statements to a single line

Signed-off-by: Steve Jeong <steve@how2flow.net>
20 months agoMerge pull request #761 from how2flow/odroid 8.28.1
Melissa LeBlanc-Williams [Fri, 22 Dec 2023 17:26:33 +0000 (09:26 -0800)]
Merge pull request #761 from how2flow/odroid

ODROID-COMMON: Fix error of importing board

20 months agoODROID-COMMON: Fix error of invalid literal for int() with base 10: 'I'
Steve Jeong [Wed, 20 Dec 2023 08:58:04 +0000 (08:58 +0000)]
ODROID-COMMON: Fix error of invalid literal for int() with base 10: 'I'

Character parsing index error.
Uart serial is aliased as SERIAL'X'
At the same time as fixing the error, I changed all the indexing to unify the format.

Signed-off-by: Steve Jeong <steve@how2flow.net>
20 months agoMerge pull request #758 from how2flow/amlogic 8.28.0
Melissa LeBlanc-Williams [Tue, 19 Dec 2023 16:21:01 +0000 (08:21 -0800)]
Merge pull request #758 from how2flow/amlogic

amlogic/a311d: Import get_dts_alias and eliminate duplicate function

20 months agoMerge pull request #757 from makermelissa/main
Melissa LeBlanc-Williams [Tue, 19 Dec 2023 16:18:22 +0000 (08:18 -0800)]
Merge pull request #757 from makermelissa/main

This adds support for libgpiod 2.x without breaking support for 1.x

20 months agoMerge pull request #760 from shawnferry/rp2040_uart
Melissa LeBlanc-Williams [Tue, 19 Dec 2023 16:18:04 +0000 (08:18 -0800)]
Merge pull request #760 from shawnferry/rp2040_uart

Add missing UART definitions from RP2040 datasheet (a6fe703-clean)

21 months agoAdd missing UART definitions from RP2040 datasheet (a6fe703-clean)
Shawn Ferry [Mon, 18 Dec 2023 21:08:29 +0000 (16:08 -0500)]
Add missing UART definitions from RP2040 datasheet (a6fe703-clean)

21 months agoamlogic/a311d: Import get_dts_alias and eliminate duplicate function
Steve Jeong [Mon, 18 Dec 2023 05:46:49 +0000 (05:46 +0000)]
amlogic/a311d: Import get_dts_alias and eliminate duplicate function

Signed-off-by: Steve Jeong <steve@how2flow.net>
21 months agoMerge branch 'main' of https://github.com/adafruit/Adafruit_Blinka
Melissa LeBlanc-Williams [Sat, 16 Dec 2023 00:40:02 +0000 (16:40 -0800)]
Merge branch 'main' of https://github.com/adafruit/Adafruit_Blinka

21 months agoMerge pull request #756 from how2flow/generic-linux
Melissa LeBlanc-Williams [Sat, 16 Dec 2023 00:39:56 +0000 (16:39 -0800)]
Merge pull request #756 from how2flow/generic-linux

generic_linux: pwmout: Remove duty-cycle reset in deinit flow

21 months agoAdd support for libgpiod 2.x
Melissa LeBlanc-Williams [Sat, 16 Dec 2023 00:38:23 +0000 (16:38 -0800)]
Add support for libgpiod 2.x

21 months agogeneric_linux: pwmout: Remove duty-cycle reset in deinit flow
Steve Jeong [Fri, 15 Dec 2023 01:45:11 +0000 (01:45 +0000)]
generic_linux: pwmout: Remove duty-cycle reset in deinit flow

The 'deinit' function is called each time a property value is read and written.
However, the duty cycle continues to reset, so the sysfs PWM does not work properly.

Signed-off-by: Steve Jeong <steve@how2flow.net>
21 months agoMerge pull request #751 from how2flow/odroid
Melissa LeBlanc-Williams [Thu, 14 Dec 2023 22:42:19 +0000 (14:42 -0800)]
Merge pull request #751 from how2flow/odroid

To support pwm on ODROIDs

21 months agoRun pre-commit
Melissa LeBlanc-Williams [Thu, 14 Dec 2023 22:39:24 +0000 (14:39 -0800)]
Run pre-commit

21 months agoODROID-COMMON: Support pwm
Steve Jeong [Tue, 28 Nov 2023 02:14:44 +0000 (02:14 +0000)]
ODROID-COMMON: Support pwm

Signed-off-by: Steve Jeong <steve@how2flow.net>
21 months agomicrocontroller/alias: Add function for getting pwm chip id.
Steve Jeong [Thu, 7 Dec 2023 06:44:15 +0000 (06:44 +0000)]
microcontroller/alias: Add function for getting pwm chip id.

Signed-off-by: Steve Jeong <steve@how2flow.net>
21 months agoMerge pull request #743 from KingPharoo/main 8.27.0
Melissa LeBlanc-Williams [Fri, 8 Dec 2023 00:32:12 +0000 (16:32 -0800)]
Merge pull request #743 from KingPharoo/main

Added support for Olimex A20-LIME2-EMMC Board

21 months agoMerge branch 'main' of https://github.com/KingPharoo/Adafruit_Blinka
Melissa LeBlanc-Williams [Fri, 8 Dec 2023 00:28:50 +0000 (16:28 -0800)]
Merge branch 'main' of https://github.com/KingPharoo/Adafruit_Blinka

21 months agoMerge pull request #750 from how2flow/odroid
Melissa LeBlanc-Williams [Fri, 8 Dec 2023 00:23:44 +0000 (16:23 -0800)]
Merge pull request #750 from how2flow/odroid

ODROIDs: Support aliased alt functions

21 months agoAdded missing module docstring and ran pre-commit
Melissa LeBlanc-Williams [Fri, 8 Dec 2023 00:20:56 +0000 (16:20 -0800)]
Added missing module docstring and ran pre-commit

21 months agoMerge branch 'adafruit:main' into main
KingPharoo [Thu, 7 Dec 2023 23:39:52 +0000 (10:09 +1030)]
Merge branch 'adafruit:main' into main

21 months agoODROID-COMMON: Support aliased alt functions
Steve Jeong [Tue, 28 Nov 2023 09:18:13 +0000 (09:18 +0000)]
ODROID-COMMON: Support aliased alt functions

Signed-off-by: Steve Jeong <steve@how2flow.net>
21 months agomicrocontroller/alias: Add new script for link aliased devices.
Steve Jeong [Thu, 7 Dec 2023 02:53:15 +0000 (02:53 +0000)]
microcontroller/alias: Add new script for link aliased devices.

Signed-off-by: Steve Jeong <steve@how2flow.net>
21 months agoCorrected board name from LIME2.py TO OLIMEX_LIME2.py
KingPharoo [Sat, 2 Dec 2023 23:13:32 +0000 (23:13 +0000)]
Corrected board name from LIME2.py TO OLIMEX_LIME2.py

21 months agoUpdate to sync up with the changes made to Platform_detect after review 1
KingPharoo [Sat, 2 Dec 2023 07:12:09 +0000 (07:12 +0000)]
Update to sync up with the changes made to Platform_detect after review 1