-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when compiling any of the examples #104
Comments
Confirm. |
I'm getting the error too with that commit. Looks like the linker is trying to put too much stuff into iram and not irom - which is odd, the linker script has not changed. |
I tried moving libm.a to the irom section and it appears to work:
libm seems to have a lot of the mathy functions (log, sin, etc), though, so it may not be the best choice to move out of iram. |
good idea have changed it |
* esp8266: (21 commits) HardwareSerial: add other configs than 8N1 Delete jre-8u31.zip.sha Fix Windows build Add boot loader compatible speed of 74880 to serial. update SDK to esp_iot_sdk_v1.0.1_15_04_24 include stdlib_noniso.h in Arduino.h see #110 strnlen implementation missing strn program space wrappers uart_interrupt_handler is now in ram move libm to flash (.irom0.text) saves 3544 Byte in ram see #104 Revert c_types.h fix bug #98 add INPUT_PULLDOWN support add prototypes for ets_vsnprintf and ets_vprintf fix some compiler warnings update SDK to 1.0.1_b2_15_04_10 + SSL Patch update SDK to 1.0.1_b1_15_04_02 add files to ignore (use hardlink) to get git hardware in arduino dir Add method to configure softAP IP address test for #86 add to ESP class: getChipId getSDKversion getBootVersion getBootMode getCPUfreqMHz ...
fixed in abdbdb1 |
Hello, since the last commit on the repo (ad74bee) I have the following error with all my sketches using the ESP8266:
/Users/marco/Downloads/Arduino/build/macosx/work/Arduino.app/Contents/Java/hardware/tools/esp8266/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /var/folders/cy/_hsnm_s10gz1lkx2yyrlmg4w0000gn/T/build6868186071784743931.tmp/HelloServer.cpp.elf section
.text' will not fit in region
iram1_0_seg'collect2: error: ld returned 1 exit status
Error compiling.
Anybody else has that?
The text was updated successfully, but these errors were encountered: