-
Notifications
You must be signed in to change notification settings - Fork 222
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
ESP32: Something strange about dram2_seg
#1085
Comments
The problem in #1016 might be related to this |
Ok seems like we need to reserve some RAM for the initial stack of app core. We see
That should be the initial stack for core-1. Our linker script includes this:
So |
That stack size seems quite small - I'm still trying to figure out the length but on S3 they were 8K stacks. |
Okay, so the stack for each core is:
|
I opened #1289, hopefully, this fixes this :). |
When running anything on the second core, data in
dram2_seg
gets modifiedTo reproduce this change the
multicore.rs
example to this:Output is
Even changing
cpu_control.rs
to just run this on the second core doesn't make a differenceI guess this is the root cause of esp-rs/esp-wifi-sys#412
The text was updated successfully, but these errors were encountered: