Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BSEC - Arduino - ESP32 (v1.0.6)

    BSEC - Arduino - ESP32 (v1.0.6)

    gcharlto
    Member

    Hi, 

    I have used the BSEC library using v1.0.4 and changing the platform.txt file to the attached. This has worked well. The library is great btw so thankyou! 

    Since updating to ESP v1.0.6 and re-updating my platform.txt files (if you dont do this you get the same error as v1.0.4) I can no longer comile  and I get the following error below when attempting to compile. I can repeat this with the basic script that comes with the library however my actual firmware requires some of the new features that come with v1.0.6. I looked through the forum and couldnt find anyone having this problem with v1.0.6. 

    Loading configuration...
    Initializing packages...
    Preparing boards...
    Verifying...
    c:/users/XXXX/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot open linker script file esp32.common.ld: No such file or directory
    collect2.exe: error: ld returned 1 exit status
    Multiple libraries were found for "WiFi.h"
     Used: C:\Users\glenc\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WiFi
    Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
    exit status 1
    IntelliSense configuration already up to date. To manually rebuild your IntelliSense configuration run "Ctrl+Alt+I"
     
    Any help would be greatly appeciated. 
    5 REPLIES 5

    BSTRobin
    Community Moderator
    Community Moderator

    Hello gcharlto,

    ESP8266 platform has been supported in BSEC package: https://www.bosch-sensortec.com/media/boschsensortec/downloads/bsec/bsec1_binary_size_information.pd...

    There was guide to modify the platform.txt file, could you refer it and try it again?
    https://github.com/BoschSensortec/BSEC-Arduino-library/blob/master/README.md

    Hi BSTRobin, 

    As per my message above, I am using the ESP32 rather than ESP8266 have followed the steps to modify the platform.txt using v1.0.4 (released october 2019) of the espressifs arduino-esp32 core when I update to v1.0.6 (released March 2021) the process no longer works and I get the error when comiling from my original message. Other libraries etc. have no problem with the newer esp32 core and there is some features within the later core that can aid in reducing power consumption which is critical for my application. 

    Any advice on getting the BSEC library to compile with the arduino-esp32 core(v1.0.6) would be much appreciated. 

    Kind Regards,

    Glen 

    BSTRobin
    Community Moderator
    Community Moderator

    Hello gcharlto,

    Judging from your compilation information, there is an error in the WiFi part, and haven't see the error message from BSEC.

    Hi BSTRobin, 

    Yes, there is an error in the WiFi part when using the same modified platform.txt file which works with previous versions. 

    I guess the simple question is: have you got the BSEC library to work with ESP v1.0.6? Is it possible to get the steps to use the BSEC libary with this verison as I am only able to get it to work with v1.04. 

    Thank you in advance for your help.

    Glen 

     

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist