Revert changes in INTERRUPT_CORE0 for ESP32-C6 #149
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This will fix
esp-rs/esp-wifi-sys#228
esp-rs/esp-wifi-sys#228
Problem: There was
LP_TOUCH_INTR_MAP
added which changed all following register offsets.While we don't use
*_INTR_MAP
we do useINTR_STATUS_X
registers which are now off by 4 bytes.While this PR will fix that (by reverting those changes in
esp32c6/svd/esp32c6.base.svd
directly (because patching all these offsets seems like an unnecessary chore)) I have no idea how to prevent this to become a problem again in future.Since there were never patches for this, I assume we inherited this problem directly from upstream. I certainly can create a PR for https://github.com/espressif/svd but even then ... those SVDs have their source and I guess when they are re-generated we will get the same error in again
So .... no idea if we should merge this or if we need to do the changes at the very source?
At least without a fix for this we will not only break
esp-wifi
but also everything interrupt related for ESP32-C6