-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
RP2040 longint support #4044
RP2040 longint support #4044
Conversation
Update from adafruit main
Merge from adafruit main for RP2040
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! It might have just been an oversight. Will merge after a good build.
Can you enable it at the port level instead of board? We should be able to assume we can fit it since they always use external flash. |
@tannewt Could you smoke-test this when the build finishes? Thanks. |
I moved the setting to mpconfigport.mk |
tested on hardware
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print(0x1000000)
16777216
print(0x10000000000)
1099511627776
print(0x10000000000000000000000)
309485009821345068724781056
Memory is sufficient on the RP2040 for longint support. My build for the raspberry_pi_pico went from 499040 bytes to 512380 bytes used, leaving 536196 free.