Replies: 2 comments 11 replies
-
Unfortunately the only two options are exactly what you wrote: use older versions of the library, or change the hardware. I would strongly suggest not using ATmega328/32u4 anymore, both of these designs are 16 years old at this point (at least that's how far back the datasheet revisions go). With the next major release, I will most likely drop official support for these and remove them from the CI and readme. Also, this is not really an issue (and there's not much we can do about it), I will convert this thread to a discussion. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am running into the same problem as this discussion. In my case, I am trying to use RadioLib in an ATTINY3226 (with 32 KB Flash, 3 KB SRAM and 256B of EEPROM). ATtinys are a very nice hardware (2-series is also quite recent) and I think they are excellent companions to some LoRa modules. It is quite a pity that RadioLib cannot be compiled in them. I have tried to define several Is there anything I can do manually to solve this? Such as removing manually some files and #includes or some functionality I would not use? Many thanks for making public this excellent piece of code. |
Beta Was this translation helpful? Give feedback.
-
Somewhere between version 4 and version 7 of RadioLib, the use of Program Memory expanded to such an extent that the examples no longer compile for AVR 32u4 or 328 (or at least, the examples for RTTY, APRS, and Hellschrieber). Are there any options besides replacing hardware or using old versions of the lib?
Sketch uses 33536 bytes (116%) of program storage space. Maximum is 28672 bytes. Global variables use 2503 bytes of dynamic memory. Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it. text section exceeds available space in board
Compilation error: text section exceeds available space in board
Thanks,
Rob KI4MCW
Beta Was this translation helpful? Give feedback.
All reactions