Current Lua downloadable firmware will be posted here

User avatar
By Markus Gritsch
#12091 Hi,

when I try to compile the current nodemcu dev branch, I get the following linker error:

e:/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: .output/eagle/debug/image/eagle.app.v6.out section `.text' will not fit in region `iram1_0_seg'

The integer version works fine using: make EXTRA_CCFLAGS="-DLUA_NUMBER_INTEGRAL"

The strange thing is that the automated travis-ci builds seem to work fine, also for the float version.

Any hints?
User avatar
By zeroday
#12181 lib/function not from the source code, like printf/strcat and most standard lib func. goes into iram1_0_seg section, which can not be expanded.
maybe the toolchain have a diff standard lib in your situation.
try to remove some api/module. for example, some function in math module.