OPEnSLab-OSU / SSLClient

🔒Add SSL/TLS functionality to any Arduino library
https://openslab-osu.github.io/SSLClient/index.html
GNU General Public License v3.0
151 stars 46 forks source link

Wont compile (windows 10 ??) #84

Open tripoyi opened 1 year ago

tripoyi commented 1 year ago

Hello there! been experimenting with SSLClient for a little bit...

Just came up with a strange issue, because it won't compile for Arduino Zero (native port) on Arduino 1.8.16, 1.8.19 or 2.0.3 (windows 10) with folloging errors:

`c:/users/xxx/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\xxx\AppData\Local\Temp\arduino_build_431664/mqtt_ssl.ino.elf section `.bss' will not fit in region `RAM'
c:/users/xxx/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 RAM overflowed with stack
c:/users/xxx/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 `RAM' overflowed by 12384 bytes
collect2.exe: error: ld returned 1 exit status`

I went back to my previous PC (windows 7, Arduino 1.8.16) and it compiles correctly Testing was done with following examples: EthernetMQTT and EthernetHTTPS Also tested with EthernetLarge and modified Ethernet 2.0.1