Bosch Sensortec Community

    Showing results for 
    Search instead for 
    Did you mean: 

    bme68x_demo_sample.ino.elf section `.dram0.bss' will not fit in region `dram0_0_seg'

    bme68x_demo_sample.ino.elf section `.dram0.bss' will not fit in region `dram0_0_seg'

    Established Member

    Trying to run the bme68x_demo_sample.ino in Arduino, and getting the following error message when trying to compile:

    bme68x_demo_sample.ino.elf section `.dram0.bss' will not fit in region `dram0_0_seg'

    I've downloaded the most recent version of the BSEC library for Arduino here:

    And followed the build steps here:

    Can someone please let me know why this is not building?

    8 REPLIES 8

    Community Moderator
    Community Moderator

    Hi zrummler,

    Can you provide the following information first? So that we can provide you with the correct software guidance.
    Do you use BME688?
    What is your host platform?
    What features do you want to use with BME68x?

    Established Member

    I fixed the problem. It involved installing an earlier version of the ESP board manager in Arduino: version 2.0.3. They don't tell you this in the setup guide but I found it in another post here on this forum.

    For reference, I am using the BME Development Kit (the one with eight bme688 sensors) connected to the Adafruit ESP32 Feather.

    All, I need help here as well.   I have 3 of the BME688 x8 sample gathering boards just purchased at Mouser.   When I try and use them with the latest Bosch Android app to test some of the sample smells I have gathsered, it says you must have a newer version of the firmware on the feather board that drives the x8 BME688 board.   No problem I think and I download the latest BSEC2 library locate the Firmware source under the examples.   I then install all of the older versions of the libraries the reader says are needed and compile.   At the linking step I get '.dram0.bss' will not fit in region `dram0_0_seg'.   I am using everything Bosch has told me to use and have 3 $80 BME688 boards that are useless for using with the Android app.   Bosch you have got some excellent technology but can do better here.  My goal is to update my 3 adafruit  feather boards to run Bosch's latest firmware to drive the x8 test sample board from Bosch.   Can someone help please!

    With Arduino IDE choose the version 2.03 for the ESP32 package under board config.