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

esp32s3 target does not support EXT_RAM_NOINIT_ATTR (IDFGH-13336) #14253

Closed
3 tasks done
pragulka opened this issue Jul 26, 2024 · 2 comments
Closed
3 tasks done

esp32s3 target does not support EXT_RAM_NOINIT_ATTR (IDFGH-13336) #14253

pragulka opened this issue Jul 26, 2024 · 2 comments
Assignees
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Type: Bug bugs in IDF

Comments

@pragulka
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

5.3

Espressif SoC revision.

esp32s3

Operating System used.

Windows

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

PowerShell

Development Kit.

any

Power Supply used.

USB

What is the expected behavior?

Variables with EXT_RAM_NOINIT_ATTR attribute are placed in PSRAM

What is the actual behavior?

Variables with EXT_RAM_NOINIT_ATTR attribute are placed in IRAM

Steps to reproduce.

  1. https://docs.espressif.com/projects/esp-idf/en/v5.3/esp32s3/get-started/windows-setup.html
  2. idf.py set-target esp32s3
  3. idf.py menuconfig -> enable PSRAM
  4. Add global variable in hello_world_main.c, eg: EXT_RAM_NOINIT_ATTR volatile uint8_t _trace[1024*1024];
  5. Add dummy read in app_main, eg: (void)_trace[1024*1024 - 1];
  6. idf.py build
  7. Observe: region `dram0_0_seg' overflowed by 763416 bytes

Debug Logs.

No response

More Information.

No .noinit option under PSRAM config

@pragulka pragulka added the Type: Bug bugs in IDF label Jul 26, 2024
@github-actions github-actions bot changed the title esp32s3 target does not support EXT_RAM_NOINIT_ATTR esp32s3 target does not support EXT_RAM_NOINIT_ATTR (IDFGH-13336) Jul 26, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Jul 26, 2024
@Icarus113
Copy link
Collaborator

It's not supported yet, we will support it and let you know then

@espressif-bot espressif-bot added Status: Selected for Development Issue is selected for development and removed Status: Opened Issue is new labels Jul 29, 2024
@espressif-bot espressif-bot assigned Kainarx and unassigned Icarus113 Jul 29, 2024
@espressif-bot espressif-bot added Status: Reviewing Issue is being reviewed and removed Status: Selected for Development Issue is selected for development labels Aug 1, 2024
@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: NA Issue resolution is unavailable and removed Status: Reviewing Issue is being reviewed labels Aug 21, 2024
@erkia
Copy link

erkia commented Sep 17, 2024

Kudos! Always nice to see that the feature you are looking for was added just a few weeks ago :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

5 participants