-
-
Notifications
You must be signed in to change notification settings - Fork 213
Fix pico.upload.maximum_size #481
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
Conversation
Even though the RP2040 supports up to 16 MiB of flash, the Pi Pico only has 2 MiB installed.
Memory usage change @ cddbeb0
Click for full report table
Click for full report CSV
|
Hi @tttapa , |
Related to this issue, it seems that some sections (e.g. Line 104 in 2d4c307
recipe.size.regex=^(?:\.data|\.text|\.rodata)\S*?\s+([0-9]+).*
I doubt I can claim any rights to the number 2097152 :) If that's okay, I would prefer not to share my private GitHub profile data with cla-assistent.io, but I do agree to the CLA. |
Both patches applied, thank you! |
Even though the RP2040 supports up to 16 MiB of flash, the Pi Pico only has 2 MiB installed. (https://www.raspberrypi.com/products/raspberry-pi-pico/specifications)
This change also fixes the percentage of program storage space in use reported by the builder/IDE.
The linker file does specify the correct size:
ArduinoCore-mbed/variants/RASPBERRY_PI_PICO/linker_script.ld
Line 3 in 8d5510a