Makerfabs / Lora-Soil-Moisture-Sensor

Lora Soil Moisture Sensor
53 stars 23 forks source link

Sketch too large #15

Open lhvu85 opened 2 months ago

lhvu85 commented 2 months ago

I'm having issues compiling Moisture_LowPower_RadioLib_v2.1.ino. After correcting SX127X and setting ERR_NONE to 0, it says "Sketch uses 33434 bytes (108%) of program storage space. Maximum is 30720 bytes." (sketch is too big). I tried removing all the comments like someone else mentioned, but it wasn't enough.

Also which board are we suppose to use? Is it Arduino Pro or Pro Mini and choose ATmega328p 3.3V? Does someone have a working .ino file you can share? Thanks!

ljteam commented 1 month ago

Same issue here, very frustrating :(

ljteam commented 1 month ago

Replying to myself if this can help you @lhvu85 : I managed to compile the sketch by selecting an older verson of the Radiolib library (I guess it was smaller before)

lhvu85 commented 1 month ago

Thanks for the update! I also did the same thing of using the older version of Radiolib and got it working last week; forgot to update here.

cHeeSaW commented 2 weeks ago

can anyone of you tell me which version you used? :)

ljteam commented 2 weeks ago

Yep, I used Radiolib v6.4.2 Capture d’écran 2024-11-04 à 17 01 10

cHeeSaW commented 2 weeks ago

Thank you!