- FAILED: adc_sensor.elf
- cmd.exe /C "cd . && D:\Espressif\tools\xtensa-esp32s2-elf\esp-12.2.0_20230208\xtensa-esp32s2-elf\bin\xtensa-esp32s2-elf-g++.exe -mlongcalls -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32S2=0 -Wl,--Map=D:/P3Code/esp-rainmaker/examples/ULP-FSM_sensor/build/adc_sensor.map -Wl,--no-warn-rwx-segments -fno-rtti -fno-lto -Wl,--gc-sections -Wl,--warn-common -T esp32s2.peripherals.ld -T esp32s2.rom.ld -T esp32s2.rom.api.ld -T esp32s2.rom.libgcc.ld -T esp32s2.rom.newlib-funcs.ld -T esp32s2.rom.newlib-data.ld -T esp32s2.rom.spiflash.ld -T memory.ld -T sections.ld -T ulp_main.ld @CMakeFiles\adc_sensor.elf.rsp -o adc_sensor.elf && cd ."
- d:/espressif/tools/xtensa-esp32s2-elf/esp-12.2.0_20230208/xtensa-esp32s2-elf/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld.exe: adc_sensor.elf section `.rtc_noinit' will not fit in region `rtc_slow_seg'
- d:/espressif/tools/xtensa-esp32s2-elf/esp-12.2.0_20230208/xtensa-esp32s2-elf/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld.exe: RTC_SLOW segment data does not fit.
- d:/espressif/tools/xtensa-esp32s2-elf/esp-12.2.0_20230208/xtensa-esp32s2-elf/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld.exe: region `rtc_slow_seg' overflowed by 2188 bytes
- collect2.exe: error: ld returned 1 exit status
- ninja: build stopped: subcommand failed.
I have an issue with enabling the ESP-Rainmaker insights. I currently work with the ESP-IDF on the ESP32S2 and am using it with the ULP ADC sensors for a project. Upon enabling insights in menuconfig (component config->ESP Insights->Enable ESP Insights), the project can no longer flash due to memory issues where RTC_SLOW segment data no longer fits. How does enabling insights affect the RTC_SLOW memory? Has anyone experienced this before? and how does one go about solving this issue?
Any help would be much appreciated.
Here's the error in text form: