You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I'm trying to compile a program with RF24, RF24Network and RF24Mesh for Atmega8. It is larger that its memory and I get ld.exe: region `text' overflowed by 90 bytes message.
But if I compile for attiny85 (using https://github.com/SpenceKonde/ATTinyCore), the firmware fits totally fine and I get Sketch uses 6318 bytes (77%) of program storage space. Maximum is 8192 message.
Can I get the same size for Atmega8?
I've noticed that RF24 uses special SPI code for Attiny's (which seems to be software bitbanging) while Megas use generic SPI library. Is this the only cause for size increase? Can I tweak defines to use ttiny's software SPI in atmega?
The text was updated successfully, but these errors were encountered:
Hello. I'm trying to compile a program with RF24, RF24Network and RF24Mesh for Atmega8. It is larger that its memory and I get
ld.exe: region `text' overflowed by 90 bytes message.
But if I compile for attiny85 (using https://github.com/SpenceKonde/ATTinyCore), the firmware fits totally fine and I get
Sketch uses 6318 bytes (77%) of program storage space. Maximum is 8192
message.Can I get the same size for Atmega8?
I've noticed that RF24 uses special SPI code for Attiny's (which seems to be software bitbanging) while Megas use generic SPI library. Is this the only cause for size increase? Can I tweak defines to use ttiny's software SPI in atmega?
The text was updated successfully, but these errors were encountered: