Use Bosch BME680 BSEC Arduino Library in Particle Workbench?

I managed to get the linker to use the library following this post: BSEC Sensor Library
However as soon as I do that, with a clean environment, the second time the platform_user_ram.ld file is generated, it includes format as a string, which breaks it:

> Executing task: make -f 'C:\Users\Kaeltis\.particle\toolchains\buildscripts\1.7.1\Makefile' compile-user -s <


Creating c:/Users/Kaeltis/Documents/Particle/bme680datalogger/target/1.4.0/argon/platform_user_ram.ld ...
Creating c:/Users/Kaeltis/Documents/Particle/bme680datalogger/target/1.4.0/argon/platform_user_ram.ld ...
c:/users/kaeltis/.particle/toolchains/gcc-arm/5.3.1/bin/../lib/gcc/arm-none-eabi/5.3.1/../../../../arm-none-eabi/bin/ld.exe:platform_user_ram.ld:1: syntax error
collect2.exe: error: ld returned 1 exit status
make[2]: *** [makefile:55: c:/Users/Kaeltis/Documents/Particle/bme680datalogger/target/1.4.0/argon/bme680datalogger_fi.elf] Error 1
make[1]: *** [../build/recurse.mk:12: modules/argon/user-part] Error 2
make: *** [C:\Users\Kaeltis\.particle\toolchains\buildscripts\1.7.1\Makefile:49: compile-user] Error 2
The terminal process terminated with exit code: 2

platform_user_ram.ld:

_user_part_static_ram_size = ( 0xformat + 0x00000970 + 16 );

@nrobinson2000 the Adafruit library doesn’t support all the proprietary features like temp/pressure compensation and calculating the IAQ level

1 Like