Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added PyRuler as a separate board type #276

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bitbank2
Copy link

The PyRuler is a Trinket-M0+ with some extra LEDs and touch inputs. I created a new board type to make it easier for Arduino (native code) access to these features. Circuit Python already supports it, but I work in native code.

The one wrinkle is that the cap touch button 0 is not connected to the PTC (peripheral touch controller) and is just an analog input with a resistor. Still, hopefully this change will help people make use of this board from Arduino.

Copy link
Member

@ladyada ladyada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hiya - getting around to some older PRs. looks good, added some fixes & please:
remove variants/pyruler/.DS_Store
remove variants/pyruler/debug_scripts/variant.gdb

@@ -1601,7 +1647,7 @@ adafruit_matrixportal_m4.menu.debug.on.build.flags.debug=-g
# ------------------------------
adafruit_blm_badge.name=Adafruit BLM Badge
adafruit_blm_badge.vid.0=0x239A
adafruit_blm_badge.pid.0=0x80BF
adafruit_blm_badge.pid.0=0x0x80BF
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please revert

# ------------------------------
adafruit_pyruler.name=Adafruit PyRuler
adafruit_pyruler.vid.0=0x239A
adafruit_pyruler.pid.0=0x801E
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be 0x804B

adafruit_pyruler.vid.0=0x239A
adafruit_pyruler.pid.0=0x801E
adafruit_pyruler.vid.1=0x239A
adafruit_pyruler.pid.1=0x001E
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x004B

adafruit_pyruler.build.variant=pyruler
adafruit_pyruler.build.variant_system_lib=
adafruit_pyruler.build.vid=0x239A
adafruit_pyruler.build.pid=0x801E
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x804B

@bitbank2
Copy link
Author

bitbank2 commented Feb 6, 2021

Thanks for working on this. I removed the excess files.

@bitbank2 bitbank2 requested a review from ladyada February 6, 2021 20:35
@leo60228
Copy link

leo60228 commented Oct 5, 2021

@ladyada Are you sure about the PID changes? Mine enumerates as 239a:001e in the bootloader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants