-
Notifications
You must be signed in to change notification settings - Fork 88
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
LGT8F328P program size #295
Comments
Your program size (30224 bytes) Suggestion: Reduce your program size. LGT8F328P has reserved FLASH spaces for emulating EEPROM (2048 bytes) and for bootloader (1024 bytes). |
You ran out of flash space, maybe some library was updated and it is bulkier? By the way, 2 kb of flash are reserved for eeprom, so you could claim that. More here: #261 (comment) |
Thanks for your answers! |
The link I posted is to a specific comment, there's what you need to do (basically upload via ISP and ignore warning. Or modify the available flash in boards.txt if the error blocks uploading) |
Thanks - I'll check this post again ... But now I have a different problem with LGT8F in pio.
platformio.ini
... I think about swapping to pottery :( |
you should be aware you are using v1.0.6 of this repo from 2020 and the latest is 2.0.7. The latest version is not supported in pio. |
I'm working on a private LoRa project using LGT8F328P (miniEVB) and RFM95W modules.
Compiling and uploading the code worked fine until today when the following problem occurred:
Linking .pio\build\LGT8F328P\firmware.elf Checking size .pio\build\LGT8F328P\firmware.elf Building .pio\build\LGT8F328P\firmware.hex Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" **Error: The program size (30224 bytes) is greater than maximum allowed (29696 bytes)** RAM: [======= ] 65.5% (used 1342 bytes from 2048 bytes) Flash: [==========] **101.8%** (used 30224 bytes from 29696 bytes) *** [checkprogsize] Explicit exit, status 1 =========================================== [FAILED] Took 13.91 seconds ===========================================
But I only changed the pin assignment.
"PlatformIO Home > Project Inspect" results in an other error:
Any ideas?
The text was updated successfully, but these errors were encountered: