First time participating in a forum.
I have a sketch that compiles and loads just fine using the cloud and the program does exactly what I want. But when I copy the code and paste it in the windows IDE it has an overflow error and won't compile.
c:/users/pamti/appdata/local/arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\pamti\AppData\Local\arduino\sketches\A3BB21187BE359EBF341C206C46F6BA1/DS18B20Email.ino.elf section .text' will not fit in region FLASH'
c:/users/pamti/appdata/local/arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH' overflowed by 46564 bytes
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
There must be something not set up quite right in the windows IDE? Version 2.3.7
I am using a UNO R4 Wifi.
Would really like to get the windows IDE working same as the cloud.
Any help / ideas woud be greatly appreciated!
Thanks.
The RA4M1 has 256kb of memory, but is seems your compiled code requires another 46kb for some reason. It must be using a very large library or data structure.
Can you provide a link to your code in the cloud (is this Arduino cloud?) if possible so that we can see how it is set up and what it includes? We can't see your code so its difficult to guess at what might the issue might be.
Could it be that the cloud setup does not does not respect or flag up the physical memory boundary of the RA4M1?
Also, if you are copying and pasting from a website, there is a possibility of inadvertently copying more than was expected due to the way that HTML works. If possible, use the download tool provided by the cloud resource that you have your project set up in. However, it does look like the code may have compiled as the error comes from the linker so a bit odd.
Thank you for your reply. Yes I believe I got the link here -
https://app.arduino.cc/sketches/705ed2e8-727b-41bd-bdb7-0aa9d26be871?view-mode=preview
I am copying from the Cloud IDE and pasting into my windows IDE and am constantly getting an overflow during compile. My Cloud compile shows 92% full, but runs great and does exactly what I want it to.
Thanks so much for your help!