Bosch Sensortec Community

    Showing results for 
    Search instead for 
    Did you mean: 

    BME680 BSEC library for Microchip PIC32 microcontrollers

    New Poster

    BME680 BSEC library for Microchip PIC32 microcontrollers

    I require the Bosch BSEC library for the BME680, to run on Microchip PIC32 microcontrollers.

    Is there a BSEC library version compatible with Microchip's C32 or XC32 compilers (NOT for the MikroC compiler)?

    I see that PIC32 is not included in the table here:

    However, I have found that the zip download contains a library file named "BSEC_1.4.7.3_Generic_Release\algo\bin\Normal_version\mplab\libalgobsec.a". The "mplab" suggests it is something related to Microchip. Is this library PIC32 or C32/XC32 compatible?

    Thank you.

    Tags (4)
    3 REPLIES 3

    Re: BME680 BSEC library for Microchip PIC32 microcontrollers


    Not sure why it was included in this release, but the this Microchip build is made for the following part:

    MCU p/f: Microchip dsPIC33EP64MC202
    IDE environment: MPLAB v2.26
    Compiler: XC16 v1.23

    As PIC32 is not supported, I would recommend that you select a more common MCU architecture, such as ARM Cortex M series.
    New Poster

    Re: BME680 BSEC library for Microchip PIC32 microcontrollers

    Is Bosch able to provide an XC32 compatible library? This would be far more widely used than the MikroC library, which is provided.

    Otherwise, changing the sensor is a better solution than changing the MCU!


    Re: BME680 BSEC library for Microchip PIC32 microcontrollers

    Unfortunately at this time, this time here is the list of supported architectures (May 2019):

    Platform Compiler ROM (BSEC) ROM (BSEC lite*) RAM TYPE
    Cortex-ARM ARMCC 19-20k 12-13k 1k Cortex-M0, M0+, M3, M4, M4_FPU, M7
    Cortex-ARM GCC 20-22k 12-14k 1k Cortex-M0, M0+, M3, M4, M4_FPU, M7
    Cortex-A* GCC 21k 13k 1k Cortex-A7
    AVR_8bit AVR-GCC 42k 25k 1k MegaAVR, XMEGA
    AVR_32bit AVR-GCC 24k 13k 1k 32-bit AVR UC3
    ESP8266 xtensa-lx106-elf-gcc 28k 17k 1k ESP8266
    ESP32 xtensa-esp32-elf-gcc 24k 14k 1k ESP32
    MSP430 msp430-elf-gcc 34k 20k 1k MSP430
    Android system-x86 gcc 39-49k 22-26k 1k x86, x86_64
    Android system-arm gcc 21-38k 13-19k 1k arm, arm64
    IAR gcc 20k 12-13k 1k Cortex-M0, M0+, M3, M4, M4_FPU, M7
    Raspberry PI0 linux arm-linux-
    71k 56k 1k armv6-32bits
    Raspberry PI3 linux arm-linux-
    72k 57k 1k armv8-a-64bits


    We support hundreds of microcontrollers and application processors that are the most popular at the moment.