[ISSUE] Unable to local Compile

Hi,

I’ve been struggling to get a local compile working for Xeon devices.
Here is the output with no code just the Setup & Loop function defined.

Creating /Users/…/…/Developer/Particle/BLEGPS/BLEGPS/target/1.5.2/xenon/platform_user_ram.ld …
/Users/…/.particle/toolchains/gcc-arm/5.3.1/bin/…/lib/gcc/arm-none-eabi/5.3.1/…/…/…/…/arm-none-eabi/bin/ld: …/…/…/build/target/nrf5_sdk/platform-14-m//libnrf5_sdk.a(nrfx_usbd.o): bad reloc symbol index (0x79732e >= 0x27b) for offset 0x84c in section `.debug_frame’
…/…/…/build/target/nrf5_sdk/platform-14-m//libnrf5_sdk.a(nrfx_usbd.o): error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [/Users/…/…/Developer/Particle/BLEGPS/BLEGPS/target/1.5.2/xenon/BLEGPS.elf] Error 1
make[1]: *** [modules/xenon/user-part] Error 2
make: *** [compile-user] Error 2
The terminal process terminated with exit code: 2

Can you try cleaning the project?

Open the command palette: CMD+SHIFT+P

image

Try Clean application for debug (local)

1 Like

hi @Rio sorry for the bumps :pray: - here’s the info we need to help troubleshoot:

2 Likes

Thanks, that was much easier than expected!

Cleaning fixed it.

2 Likes