As the title says... Chat on...

User avatar
By alonewolfx2
#9624 maybe can be usefull. something like this.
one brunch for base binary,one brunch for ws2812 and prebuild binary for every brunch.
i say this because some chip specific modules can't build with other modules. for ex: i am trying to build nodemcu with pcd8544 and i have this issue. it seems pcd8544 with nodemcu to big for irom0.
make[2]: Leaving directory `/c/Espressif/examples/nodemcu-firmware/app/spiffs'
xtensa-lx106-elf-gcc -L../lib -nostdlib -T../ld/eagle.app.v6.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lc -lgcc -lhal -lphy -lpp -lnet80211 -lwpa -lmain -ljson -lsmartconfig -lssl user/.output/eagle/debug/lib/libuser.a driver/.output/eagle/debug/lib/libdriver.a lwip/.output/eagle/debug/lib/liblwip.a json/.output/eagle/debug/lib/libjson.a upgrade/.output/eagle/debug/lib/libupgrade.a platform/.output/eagle/debug/lib/libplatform.a libc/.output/eagle/debug/lib/liblibc.a lua/.output/eagle/debug/lib/liblua.a mqtt/.output/eagle/debug/lib/mqtt.a smart/.output/eagle/debug/lib/smart.a wofs/.output/eagle/debug/lib/wofs.a spiffs/.output/eagle/debug/lib/spiffs.a modules/.output/eagle/debug/lib/libmodules.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out
c:/espressif/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 `.irom0.text' will not fit in region `irom0_0_seg'
collect2.exe: error: ld returned 1 exit status
make[1]: Leaving directory `/c/Espressif/examples/nodemcu-firmware/app'
make[1]: *** [.output/eagle/debug/image/eagle.app.v6.out] Error 1
make: *** [.subdirs] Error 2
User avatar
By zeroday
#9627 in file ld/eagle.app.v6.ld
Code: Select allMEMORY
{
  dport0_0_seg :                         org = 0x3FF00000, len = 0x10
  dram0_0_seg :                          org = 0x3FFE8000, len = 0x14000
  iram1_0_seg :                          org = 0x40100000, len = 0x8000
  irom0_0_seg :                          org = 0x40210000, len = 0x54000
}


0x54000 --> 0x58000 or more