I’m updating an old Particle Dev project and have hit some hurdles. I finally got Workbench installed and working (not easy when you have a space in your Windows account name – arg!!), and I can compile for 1.4.4 (cloud & local) with the following success report:
text data bss dec hex filename 130384 524 8836 139744 221e0 d:/Work/Spark/GameFrameV2_WiFi/target/1.4.4/photon/GameFrameV2_WiFi.elf
but compiling for 1.5.1 gives the errors:
c:/users/jeremy/.particle/toolchains/gcc-arm/5.3.1/bin/../lib/gcc/arm-none-eabi/5.3.1/../../../../arm-none-eabi/bin/ld.exe: d:/Work/Spark/GameFrameV2_WiFi/target/1.5.1/photon/GameFrameV2_WiFi.elf section `.data' will not fit in region `APP_FLASH' c:/users/jeremy/.particle/toolchains/gcc-arm/5.3.1/bin/../lib/gcc/arm-none-eabi/5.3.1/../../../../arm-none-eabi/bin/ld.exe: region `APP_FLASH' overflowed by 352 bytes
I also hit the flash limit when I started coding a new, small feature using 1.4.4. Am I really pushing up against the Flash limit? 130384 bytes isn’t anywhere near the 1MB limit, is it?