Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY not build for ESP32-S2 target (IDFGH-5582) #7304

Closed
Darsh-Dev opened this issue Jul 22, 2021 · 1 comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@Darsh-Dev
Copy link

Hi,

I have an ESP32-S2-WROVER kit and I am trying to enable CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY in release-4.3. but it through below error while building the code.

esp-idf/components/esp_system/port/cpu_start.c: In function 'call_start_cpu0':
esp-idf/components/esp_system/port/cpu_start.c:426: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
/esp-idf/components/esp_system/port/cpu_start.c:426:13: note: each undeclared identifier is reported only once for each function it appears in
/esp-idf/components/esp_system/port/cpu_start.c:426: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

I am referring to this link.

Please help me with how I can enable this config and resolve this build error for ESP32-S2.

Thanks.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Jul 22, 2021
@github-actions github-actions bot changed the title CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY not build for ESP32-S2 target CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY not build for ESP32-S2 target (IDFGH-5582) Jul 22, 2021
@mahavirj
Copy link
Member

@Darsh-Dev

This feature is not yet supported for S2. As highlighted in #6162, this will be supported soon. I will mark this issue as closed and we can use #6162 to track this further.

@espressif-bot espressif-bot added Resolution: Done Issue is done internally Status: Done Issue is done internally and removed Status: Opened Issue is new labels Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants