Particle Dev Suddenly Fails to Build

Particle Dev has suddenly started failing to build for me. Even for previously good versions of my application. It reports: “build didn’t produce…” It appears I am overflowing the region ‘APP_FLASH’.

This exact application compiled fine on April 23rd.

I have seen this before, but never figured it out. It would just go away. Suggestions would be very welcome.

Thanks,
Doug

build didn't produce binary Error: Command failed: 32+0 records in
32+0 records out
32 bytes (32 B) copied, 7.6531e-05 s, 418 kB/s
4+0 records in
4+0 records out
4 bytes (4 B) copied, 0.0491178 s, 0.1 kB/s
In file included from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApi.h:18:0,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApiParticle.h:14,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkParticle.h:16,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.cpp:1:
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkProtocolDefs.h:88:0: warning: "htons" redefined [enabled by default]
         #define htons(x) ( ((x)<<8) | (((x)>>8)&0xFF) )
 ^
In file included from ../hal/src/core/platform_headers.h:23:0,
                 from ./inc/application.h:32,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/Measurement.h:3,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/Display.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:7,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.cpp:1:
../platform/NET/CC3000/CC3000_Host_Driver/socket.h:188:0: note: this is the location of the previous definition
 #define htons(A)     ((((UINT32)(A) & 0xff00) >> 8) | \
 ^
In file included from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApi.h:18:0,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApiParticle.h:14,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkParticle.h:16,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.cpp:1:
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkProtocolDefs.h:89:0: warning: "htonl" redefined [enabled by default]
         #define htonl(x) ( ((x)<<24 & 0xFF000000UL) | \
 ^
In file included from ../hal/src/core/platform_headers.h:23:0,
                 from ./inc/application.h:32,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/Measurement.h:3,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/Display.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:7,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.cpp:1:
../platform/NET/CC3000/CC3000_Host_Driver/socket.h:180:0: note: this is the location of the previous definition
 #define htonl(A)    ((((UINT32)(A) & 0xff000000) >> 24) | \
 ^
In file included from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApi.h:18:0,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApiParticle.h:14,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkParticle.h:16,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.cpp:1:
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkProtocolDefs.h:93:0: warning: "ntohs" redefined [enabled by default]
         #define ntohs(x) htons(x)
 ^
In file included from ../hal/src/core/platform_headers.h:23:0,
                 from ./inc/application.h:32,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/Measurement.h:3,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/Display.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:7,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.cpp:1:
../platform/NET/CC3000/CC3000_Host_Driver/socket.h:192:0: note: this is the location of the previous definition
 #define ntohs                   htons
 ^
In file included from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApi.h:18:0,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApiParticle.h:14,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkParticle.h:16,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.cpp:1:
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkProtocolDefs.h:94:0: warning: "ntohl" redefined [enabled by default]
         #define ntohl(x) htonl(x)
 ^
In file included from ../hal/src/core/platform_headers.h:23:0,
                 from ./inc/application.h:32,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/Measurement.h:3,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/Display.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:7,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.cpp:1:
../platform/NET/CC3000/CC3000_Host_Driver/socket.h:185:0: note: this is the location of the previous definition
 #define ntohl                   htonl
 ^
In file included from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkParticle.h:16:0,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.cpp:1:
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApiParticle.h:87:6: warning: #warning "analogInputToDigitalPin not defined => Named analog pins will not work" [-Wcpp]
     #warning "analogInputToDigitalPin not defined => Named analog pins will not work"
      ^
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/NtpTime.cpp: In constructor 'NtpTime::NtpTime()':
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/NtpTime.cpp:33:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   init(UDPClient, "pool.ntp.org");
                                 ^
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/NtpTime.cpp: In constructor 'NtpTime::NtpTime(UDP*)':
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/NtpTime.cpp:37:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
   init(_UDPClient, "pool.ntp.org");
                                  ^
In file included from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApi.h:18:0,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApiParticle.h:14,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkParticle.h:16,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp:4:
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkProtocolDefs.h:88:0: warning: "htons" redefined [enabled by default]
         #define htons(x) ( ((x)<<8) | (((x)>>8)&0xFF) )
 ^
In file included from ../hal/src/core/platform_headers.h:23:0,
                 from ./inc/application.h:32,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp:3:
../platform/NET/CC3000/CC3000_Host_Driver/socket.h:188:0: note: this is the location of the previous definition
 #define htons(A)     ((((UINT32)(A) & 0xff00) >> 8) | \
 ^
In file included from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApi.h:18:0,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApiParticle.h:14,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkParticle.h:16,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp:4:
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkProtocolDefs.h:89:0: warning: "htonl" redefined [enabled by default]
         #define htonl(x) ( ((x)<<24 & 0xFF000000UL) | \
 ^
In file included from ../hal/src/core/platform_headers.h:23:0,
                 from ./inc/application.h:32,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp:3:
../platform/NET/CC3000/CC3000_Host_Driver/socket.h:180:0: note: this is the location of the previous definition
 #define htonl(A)    ((((UINT32)(A) & 0xff000000) >> 24) | \
 ^
In file included from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApi.h:18:0,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApiParticle.h:14,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkParticle.h:16,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp:4:
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkProtocolDefs.h:93:0: warning: "ntohs" redefined [enabled by default]
         #define ntohs(x) htons(x)
 ^
In file included from ../hal/src/core/platform_headers.h:23:0,
                 from ./inc/application.h:32,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp:3:
../platform/NET/CC3000/CC3000_Host_Driver/socket.h:192:0: note: this is the location of the previous definition
 #define ntohs                   htons
 ^
In file included from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApi.h:18:0,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApiParticle.h:14,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkParticle.h:16,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp:4:
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkProtocolDefs.h:94:0: warning: "ntohl" redefined [enabled by default]
         #define ntohl(x) htonl(x)
 ^
In file included from ../hal/src/core/platform_headers.h:23:0,
                 from ./inc/application.h:32,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp:3:
../platform/NET/CC3000/CC3000_Host_Driver/socket.h:185:0: note: this is the location of the previous definition
 #define ntohl                   htonl
 ^
In file included from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkParticle.h:16:0,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkDisplay.h:8,
                 from /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp:4:
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/BlynkApiParticle.h:87:6: warning: #warning "analogInputToDigitalPin not defined => Named analog pins will not work" [-Wcpp]
     #warning "analogInputToDigitalPin not defined => Named analog pins will not work"
      ^
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp: In function 'bool isDST(long unsigned int)':
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp:226:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   int endMonth = 11; //November
                           ^
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp:233:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   // Return true if we are between the start and end of DST.
                         ^
/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/WeatherSmallDisplay.cpp:219:7: warning: unused variable 'endSeconds' [-Wunused-variable]
  */
       ^
/usr/local/gcc-arm-embedded-gcc-arm-none-eabi-4_8-2014q2-20140609-linux-tar-bz2/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: /spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3.elf section `.data' will not fit in region `APP_FLASH'
/usr/local/gcc-arm-embedded-gcc-arm-none-eabi-4_8-2014q2-20140609-linux-tar-bz2/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: region `APP_FLASH' overflowed by 592 bytes
collect2: error: ld returned 1 exit status
make[1]: *** [/spark/compile_service/shared/workspace/0_core_28_2/firmware/main/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3/d98243a95fcf7ffb1ca7840019dae1a0bda85e65348fdb9a05e5016fade3.elf] Error 1
make: *** [main] Error 2

Just to confirm, you are building for a Spark Core?

Nope. A Photon.
– Doug

Then I’d guess you have selected a wrong target device or none at all.

Most error messages have a reference to the Core.

Insert a long, loud string of bad words. It was happening because I didn’t have a device selected. That wasn’t obvious. Thanks for the help. – Doug

Dev usually tells you in the status bar “(!) No device selected” and it should even gray out the build button.

Yeah. The status bar showed “No device selected”, but the build bar was not grayed out. I couldn’t have had the error if it had.

But on a semi related topic, I’ve got the JavaBean off line tool chain loaded and kind-of working. I’ve successfully built the firmware.

But I am struggling with the includes to build an application. They seem to be spread out all over the place.

Here are the ones I am using, but it has to be simpler than this. In some cases, there are multiple versions of the same .h file in different directories and I don’t know which is correct. In particular, I am getting errors about “nullptr” not declared in wiring/inc/spark_wiring_time.h

Thanks again.

C:/Particle/firmware/user/inc/;
C:/Particle/firmware/system/inc;
C:/Particle/firmware/wiring/inc;
C:/Particle/firmware/hal/inc;
C:/Particle/firmware/platform/shared/inc;
C:/Particle/firmware/services/inc;
C:/Particle/firmware/hal/shared;
C:/Particle/firmware/communication/src;
C:/Particle/firmware/hal/src/photon/include;
C:/Particle/firmware/hal/src/newhal

To build with local toolchain you’d need to have a look here
https://github.com/spark/firmware/blob/develop/docs/build.md

and use the make files provided, if you don’t want to do it all by hand

Im have the same problem but with a core? does this mean my micro does not have enough Flash memory to handle the code I have written?

@Wandi, more information on your compilation results would be helpful.