platformio / platform-espressif32

Espressif 32: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif32
Apache License 2.0
888 stars 601 forks source link

Unable to inspect memory #1428

Open italocjs opened 1 month ago

italocjs commented 1 month ago

My code was unable to build duo iram overflow (happens on one cpu, not on another, same code). i tried remove some options on menuconfig so now a can build, but even with complete build using project inspection returns "invalid params".

How can i fix it? any tips on fixing iram issues? i dont use it on my code, is probably something hidden by esp-idf. i need to investigate this further.

image

[env:esp32dev]
build_type = debug
debug_build_flags = -Os
test_framework = googletest
test_ignore = test_native
platform = espressif32
board = simovatrack130
framework = arduino, espidf

board_build.partitions = partitions.csv
build_flags = 
    -D USE_ESP32_ENVIRONMENT
    ; -Wall                ; Enable all warnings
    ; -Wno-error           ; Ensure warnings are not treated as errors

upload_speed = 921600
monitor_speed = 115200
monitor_filters = 
    esp32_exception_decoder
    send_on_enter

lib_deps = 
    adafruit/Adafruit Unified Sensor
    adafruit/Adafruit BusIO
    adafruit/Adafruit ADXL343
    https://github.com/italocjs/DFRobot_LIS.git
    https://github.com/italocjs/geofencing_esp32.git
    https://github.com/italocjs/NuS-NimBLE-Serial
    mprograms/QMC5883LCompass
    adafruit/RTClib
    mikalhart/TinyGPSPlus
    bblanchon/ArduinoJson
italocjs commented 1 month ago

this is a successful verbose build, maybe its helpful verbose build.txt

I can see code inspection, but not ram/iram

image