Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME680 BSEC for Raspberry Pi Bare Metal

    BME680 BSEC for Raspberry Pi Bare Metal

    KevinOran
    New Poster

    Hello!

    I am a university student in an area of the US that has been affected by intense smoke during the wildfires this year and we are trying to create an environmental monitor based on the BME680 for our embedded systems course. Our requirements are to implement this on a Raspberry Pi Model A+ (an ARM1176JFZ-S processor which is based on the ARMv6) using bare-metal programming. My current cross-compilation toolchain is using arm-none-eabi-gcc version 4.9.3. Would it be possible to get a static library file for BSEC  compiled with arm-none-eabi-gcc? Also, I could use pointers on whether the Lite or normal version is more appropriate for just getting the AQI index in integer mode. 

    Thank you for the help!

    Kevin

    4 REPLIES 4

    Jet
    Occasional Contributor

    Hi KevinOran:

    Could you offer your platform information compiling informaiton?

    Please see the follow picture, and fill out this checklist.Capture.PNG

    According to these information,  the related lib file can be compiled.

     

     

     

     

    Hi Jet,

    Thank you for your response. Here is my information:

    ItemMy Info
    BSEC VersionBSEC 1.4.8.0
    Compilerarm-none-eabi-gcc - version 4.9.3
    Compiling Command: (provided for the bme680 driver)arm-none-eabi-gcc -Iinclude -I<includepath> -Og -g -Wall -std=c99 -ffreestanding -Isrc/lib/bme680_driver -mapcs-frame -fno-omit-frame-pointer -mpoke-function-name -Wpointer-arith -c src/lib/bme680_driver/bme680.c -o build/obj/bme680.o
    Linking Flags:
    LDFLAGS = -nostdlib -T src/boot/memmap -L<our lib directory>
    IDENone.
    MCU Type Raspberry Pi A+: Broadcom BCM2835 chip, with an ARM1176JFZ-S processor based on the ARMv6 architecture. 


    Of note is that our project doesn't have stdlib, but we can look at including implementations of what is needed by llibalgobsec.a. Thanks again for your help. 

    Kevin 

    Jet
    Occasional Contributor

    Hi Sir:

        I applied for the new BESC lib you need, if available, I will share it to you.Please be patient, thank you.

     

        

    Jet
    Occasional Contributor

    Hi Sir:

        I check the generic release besc lib, BSEC_1.4.7.4_Generic_Release, RaspberryPI option is available, include PiThree_ArmV8-a-64bits and PiZero_ArmV6-32bits.

       Did you try them on your platform?

      Look forward to your feedback.

         

    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