Skip to content

Reduce pin object size by removing the QSTR#1082

Merged
dhalbert merged 2 commits into
adafruit:masterfrom
tannewt:no_pin_qstr
Aug 2, 2018
Merged

Reduce pin object size by removing the QSTR#1082
dhalbert merged 2 commits into
adafruit:masterfrom
tannewt:no_pin_qstr

Conversation

@tannewt
Copy link
Copy Markdown
Member

@tannewt tannewt commented Aug 2, 2018

We also now use the version from the peripherals library. It renames the pin number field from pin to number.

tannewt added 2 commits August 2, 2018 13:59
Its slimmed down by removing the qstr and bit packing TCC info.

The trinket m0 build actually grows by 20 bytes. The arduino zero
build shrinks by 188 bytes.
Copy link
Copy Markdown
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Oh man, I like this! pin->pin was always hard to read. And now printing pins, etc. Great! Will merge after travis.

@dhalbert dhalbert merged commit 88ae7a9 into adafruit:master Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants