Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    (RAK4631) nRF52840 + BME680 on Arduino IDE BSEC Library error

    mcmchris
    New Poster

    (RAK4631) nRF52840 + BME680 on Arduino IDE BSEC Library error

    Hi, I am working with the BME680 environment sensor, I tested the code with ESP32, ESP8266 and it compiles but with the nRF52840.

    The board package platform.txt file already has the modifications by default some articles suggested. I am using 1.8.16 IDE version, and my microcontroller is an LPWAN dedicated module developed by RAKwireless that has the nRF52840 as the core. 

    This is the error the IDE reports:

    Precompiled library in "C:\Users\MCMCHRIS\Documents\MEGA\Arduino\libraries\BSEC_Software_Library\src\cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard\fpv4-sp-d16-hard" not found
    Precompiled library in "C:\Users\MCMCHRIS\Documents\MEGA\Arduino\libraries\BSEC_Software_Library\src\cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard" not found

    The code I am using is attached.

    Error screenshot:

    mcmchris_0-1633663783557.png

     

    3 REPLIES 3
    BSTRobin
    Community Moderator

    Re: (RAK4631) nRF52840 + BME680 on Arduino IDE BSEC Library error

    Hello mcmchris,

    What was your compiler option in your Auduino IDE?
    And which BSEC version you used?

    mcmchris
    New Poster

    Re: (RAK4631) nRF52840 + BME680 on Arduino IDE BSEC Library error

    Hi, thanks for your caring,

    I am using BSEC  v1.4.8.0 version from here: https://github.com/BoschSensortec/BSEC-Arduino-library

    And these are my IDE configurations for the board:

    mcmchris_0-1633703826787.png

    mcmchris_1-1633703900153.png

     

    BSTRobin
    Community Moderator

    Re: (RAK4631) nRF52840 + BME680 on Arduino IDE BSEC Library error

    Hello mcmchris,

    You could download BSEC2 that had Arduino example project, you could refer it and try it again.
    https://www.bosch-sensortec.com/software-tools/software/bme688-software/

    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