Strange compiler error on Surface Go2

I’m using the IDE 1.8.13 on several Windos 10 devices. Everything works well, except my brand new Surface Go 2. I’m using a fresh installation with exactly the same configuration like on my other PC’s. To avoid some missing stuff I’ve testet a fresh installation on a different device without any issues. The sketches and the library folder is shared and exactly the same on all PC’s.

Only on my Surface Go 2, the compiler throws this error message:

c:/users/<username>/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\ANDREA~1\AppData\Local\Temp\arduino_build_105892/IndoorAirSensor.ino.elf section `.text1' will not fit in region `iram1_0_seg'

collect2.exe: error: ld returned 1 exit status

The sketch acquires 43% percent of the dynamic memory.

Are there any known issues with the Intel core m3 platform? Or the Surface Go 2?

The PC is equipped with the Intel Core m3-8100Y CPU, 8 GB RAM and Windows 10 pro 1909 (x64)

IIRC there is a setting on the surface tablets for win 10 that needs to be changed.

You can use the SEARCH (upper right) to find the specifics.
Seems it only really affects those tablets.

Thank you, but everything I found was related to the S-Mode, the USB connections or older Surface generations.

But I have an update. It looks like only a precompiled library (Bosch BSEC Arduino Library) causes this error. That makes it more strange but it's not a general issue with the PC.

I'll focus my investigations on the library. :confused: