Code too big to fit?? #574
Replies: 6 comments 9 replies
-
Arduino 1.8.19, megatinycore 2.5.2
Once I add the following line to setup(), I get the above error. printf() as minimal, default or full - no difference. |
Beta Was this translation helpful? Give feedback.
-
Fuck! No, it means I screwed up and my testing wasn't sufficient, and I have to change and reissue emergency fixes for DxCore and megaTinyCore. |
Beta Was this translation helpful? Give feedback.
-
This is now available in the board manager release |
Beta Was this translation helpful? Give feedback.
-
It should be sorted out by 2.5.4?
…____________
Spence Konde
Azzy’S Electronics
New products! Check them out at tindie.com/stores/DrAzzy
GitHub: github.com/SpenceKonde
ATTinyCore: Arduino support for almost every ATTiny microcontroller
Contact: ***@***.***
On Thu, Dec 23, 2021, 02:21 swevedg ***@***.***> wrote:
I discovered this problem the day before yesterday. I found many
references to the error message and eventually found two references that
explained the cause and a fix and which seemed reasonable to me:
Cause: https://www.stix.id.au/wiki/AVR_relocation_truncations_workaround
Fix:
https://forum.arduino.cc/t/how-to-add-compile-options-to-arduino-ide-1-8-13/692640/2
I was about to try and figure out how to apply the fix when I saw this
thread. I am not to confident as to my ability to fiddle with the inner
workings of the IDE but I may eventually have to try.
—
Reply to this email directly, view it on GitHub
<#574 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTXEW75REHJYHQXU23WY7TUSLEY5ANCNFSM5KRAABTQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Yeah, I was testing flash size with ifdefs in a block of inline assembly,
because I figured out that I needed to use jmp not rjmp on things with more
than 8k of flash but had 0x in front of the size in the test x_x
…____________
Spence Konde
Azzy’S Electronics
New products! Check them out at tindie.com/stores/DrAzzy
GitHub: github.com/SpenceKonde
ATTinyCore: Arduino support for almost every ATTiny microcontroller
Contact: ***@***.***
On Thu, Dec 23, 2021, 09:38 swevedg ***@***.***> wrote:
Yes, it looks like it is sorted out. My code now builds with all of the
serial port calls included again. I now have another, probably unrelated,
problem which I need to investigate.
As a matter of interest, was the problem in any way related to the
RCALL/RJMP problem?
—
Reply to this email directly, view it on GitHub
<#574 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTXEW25NEO7XSV4FA4CQYTUSMX6DANCNFSM5KRAABTQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I'm trying to decipher this. Does it mean my code is being truncated to fit in the flash memory?
Beta Was this translation helpful? Give feedback.
All reactions