8000 Don't define unused pins on boards with limited flash · Issue #840 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

Don't define unused pins on boards with limited flash #840

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

Closed
rhooper opened this issue May 15, 2018 · 2 comments
Closed

Don't define unused pins on boards with limited flash #840

rhooper opened this issue May 15, 2018 · 2 comments

Comments

@rhooper
Copy link
rhooper commented May 15, 2018

Trinket_m0 has very limited flash, making it difficult to add features to circuitpython. One place we can save flash is by not defining all the pins in samd21_pins.c and microcontroller/init.c

rhooper added a commit to rhooper/circuitpython that referenced this issue May 15, 2018
@rhooper
Copy link
Author
rhooper commented May 15, 2018

Before the above commit:

-36 bytes free in flash out of 188416 bytes ( 184.0 kb ).
4092 bytes free in ram for stack out of 32768 bytes ( 32.0 kb ).

After:

548 bytes free in flash out of 188416 bytes ( 184.0 kb ).
4092 bytes free in ram for stack out of 32768 bytes ( 32.0 kb ).

@tannewt
Copy link
Member
tannewt commented May 17, 2018

Done in #838

6283

@tannewt tannewt closed this as completed May 17, 2018
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

No branches or pull requests

2 participants
0