07-16-2020 11:01 AM
Hello everyone,
I'm working to get the IAQ values from BME680 using ESP32, I've read the (BTS-BME680-Integration-Guide-AN008-47) and I followed the (BSEC Step-by-step Example) page 11
In page 15 it mentioned that the linker should be modified at (hardware\esp8266\2.3.0\tools\sdk\ld\eagle.app.v6.common.ld)
I can't find the (eagle.app.v6.common.ld) sense I'm using ESP32 and not ESP8266.
Is there a solution to get the IAQ form BM3680 using the ESP32 board?
Thanks for your replay
Solved! Go to Solution.
07-16-2020 12:23 PM
The current latest version of the BSEC Arduino Library wrapper can be found in its own GitHub repository now.
Instructions to edit the 'eagle.app.v6.common.ld
' file is only needed for the ESP8266 core, no need to do that for the ESP32.
On the other hand, modifying the platform.txt file to introduce the compiler.libraries.ldflags
flag is still mandatory for the latest Arduino ESP32 core package (careful, this flag has changed named in newer Arduino releases!). The latest release of the Arduino ESP32 core package I could find is v1.0.4, and for reference I have attached my already modified platform.txt file for this version, found under "C:\Users\user\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4" by default.
07-16-2020 04:25 PM - edited 07-16-2020 04:26 PM
07-16-2020 05:19 PM
Unfortunately we would need more information to help out, for example the version of each tool (IDE, ESP32 Boards package, BSEC Arduino library), or especially the full console log with verbose enabled (you can enable it from File->Preferences->Show verbose output during: and check 'compilation').
On my setup I have Arduino v1.8.13, ESP32 Boards v1.0.4 (with the platform.txt file attached above), and BSEC Software Library v1.5.1474 (located at "C:\Users\user\Documents\Arduino\libraries\BSEC_Software_Library").
Since the default board you have selected, "ESP32 Dev Module", misses a LED_BUILTIN definition, adding "#define LED_BUILTIN 2" on line 2 makes the basic example compile successfully in my setup.
07-16-2020 06:03 PM - edited 07-16-2020 06:05 PM