arduino-libraries / MKRWAN

An Arduino library for sending and receiving data using LoRaWAN protocol and LoRa® radios.
https://www.arduino.cc
GNU Lesser General Public License v3.0
88 stars 60 forks source link

Firmware update does not compile #34

Closed sslupsky closed 6 years ago

sslupsky commented 6 years ago

I pulled the 1.1.8 version today and attempted to upgrade the firmware. I received the following error during the verify (compile) phase:

Verifying... /Users/stevenslupsky/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: MKRWANFWUpdate_standalone.ino.elf section.data' will not fit in region RAM' /Users/stevenslupsky/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: region RAM overflowed with stack /Users/stevenslupsky/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: regionRAM' overflowed by 46632 bytes collect2: error: ld returned 1 exit status exit status 1 [Error] Exit with code=1`

facchinm commented 6 years ago

Hi @sslupsky , my fault, I didn't push the last commit, doing it now with https://github.com/arduino-libraries/MKRWAN/commit/f0238b873bbbc86dd2949729ae687bb2910e21c4 . Thanks for pointing it out!

sslupsky commented 6 years ago

That fixed it. Thank you! 👍