Skip to content

[esp32 S2] Allow .bss segment placed in external memory (IDFGH-4320) #6162

@chegewara

Description

@chegewara

When i am trying to enable Allow .bss segment placed in external memory in menuconfig then code does not build with error:

/home/chegewara/esp/esp-idf/components/esp_system/port/cpu_start.c:395:13: error: '_ext_ram_bss_start' undeclared (first use in this function); did you mean '_rtc_bss_start'?
     memset(&_ext_ram_bss_start, 0, (&_ext_ram_bss_end - &_ext_ram_bss_start) * sizeof(_ext_ram_bss_start));
             ^~~~~~~~~~~~~~~~~~
             _rtc_bss_start
/home/chegewara/esp/esp-idf/components/esp_system/port/cpu_start.c:395:13: note: each undeclared identifier is reported only once for each function it appears in
/home/chegewara/esp/esp-idf/components/esp_system/port/cpu_start.c:395:38: error: '_ext_ram_bss_end' undeclared (first use in this function); did you mean '_rtc_bss_end'?
     memset(&_ext_ram_bss_start, 0, (&_ext_ram_bss_end - &_ext_ram_bss_start) * sizeof(_ext_ram_bss_start));
                                      ^~~~~~~~~~~~~~~~
                                      _rtc_bss_end

IDF: master commit 357a277
board: S2 wrover module
SPI RAM access method - all 3 options

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions