Adding the powf() function I get the error message a.text will not fit in iram1_0_seg
How do I work out what uses all of the memory?
Or, how can I increase the size of the segment?
I am using SDK 1.0.1, for some reason the HSPI doesn't work with the 1.1.0 version
Are there some good flags for the compiler that miraculously make things smaller? Running on windows 7.
I haven't even put the code in yet that I will need to use to post the calculated value to a server!
C:/projects/ESP/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Idriver -Iuser -Idriver/include -Iuser/include -Iinclude -IC:/Projects/ESP/esp_iot_sdk_v1.0.1/include -Os -Os -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -c user/i2c_master.c -o build/user/i2c_master.o
C:/projects/ESP/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Idriver -Iuser -Idriver/include -Iuser/include -Iinclude -IC:/Projects/ESP/esp_iot_sdk_v1.0.1/include -Os -Os -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -c user/spi.c -o build/user/spi.o
C:/projects/ESP/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Idriver -Iuser -Idriver/include -Iuser/include -Iinclude -IC:/Projects/ESP/esp_iot_sdk_v1.0.1/include -Os -Os -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -c user/user_main.c -o build/user/user_main.o
C:/projects/ESP/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Idriver -Iuser -Idriver/include -Iuser/include -Iinclude -IC:/Projects/ESP/esp_iot_sdk_v1.0.1/include -Os -Os -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -c user/ds3231.c -o build/user/ds3231.o
C:/projects/ESP/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar cru build/blink_app.a build/user/i2c_master.o build/user/spi.o build/user/user_main.o build/user/ds3231.o
C:/projects/ESP/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -LC:/Projects/ESP/esp_iot_sdk_v1.0.1/lib -TC:/Projects/ESP/esp_iot_sdk_v1.0.1/ld/eagle.app.v6.ld -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lm -lnet80211 -lphy -llwip -lpp -lc -lgcc -lwpa -lmain build/blink_app.a -Wl,--end-group -o build/blink.out
c:/projects/esp/esp8266/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: build/blink.out section `.text' will not fit in region `iram1_0_seg'
collect2.exe: error: ld returned 1 exit status
Makefile:120: recipe for target 'build/blink.out' failed
make: *** [build/blink.out] Error 1