Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    ESP8266 BSEC2 Arduino library

    Al-Okby
    New Poster

    ESP8266 BSEC2 Arduino library

    Hello everybody,

    I am trying to using BSEC 2 library for BME688 with the Arduino platform, I get this error "section `.text1' will not fit in region `iram1_0_seg' " 
    I am never facing this issue when I used BSEC 1.6. , anyone has this issue before?  any suggestion to solve this problem will be appreciated  

    Best regards 


    5 REPLIES 5
    BSTRobin
    Community Moderator

    Re: ESP8266 BSEC2 Arduino library

    Hello Al-Okby,

    Can you run the unmodified bme2 example program normally?

    Al-Okby
    New Poster

    Re: ESP8266 BSEC2 Arduino library

     

     
     
     
     
     
     
     
    No, I can't run the BSEC 2 with Arduino, the original  BSEC2 library from Bosch was not accepted by Arduino IDE, after adding the extra_script, and library files from the 1.6 BSEC1 it been accepted by Arduino IDE, but  I get the following error message

    "Library BSEC_Software_Library has been declared precompiled:
    Using precompiled library in C:\Users\Al-Okby\Documents\Arduino\libraries\BSEC_Software_Library\src\esp8266
    c:/users/al-okby/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Al-Okby\AppData\Local\Temp\arduino_build_808491/basic_config_state.ino.elf section `.text1' will not fit in region `iram1_0_seg'
    collect2.exe: error: ld returned 1 exit status
    exit status 1
    Error compiling for board NodeMCU 1.0 (ESP-12E Module)."

    I don't know if I did the correct process to add BSEC2 to Arduino IDE, or my µC (WeMos D1 Mini) is not compatible with BSEC2 and only can run BSEC1
     


    hugehead
    New Poster

    Re: ESP8266 BSEC2 Arduino library

    Hello, i just tried to compile standard example of bme688 in Arduino 1.8.16 in a fresh instalation using a windows sandbox.

    "basic_config_State" for esp8266 (node mcu v1.0) and get the same error.

     

    `.text1' will not fit in region `iram1_0_seg

     

     

    BSEC package version: "bsec_2-0-6-1_generic_release_04302021"

    ESP8266 version: 3.0.2

    Could you please check and make it work again? I am pretty sure it was working a while ago.

    Al-Okby
    New Poster

    Re: ESP8266 BSEC2 Arduino library

    Hellow hugehead,
     Thank you for helping me

    Best regards 
    Al-Okby

     

     

    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