Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Use __user_exception instead of __exception #22

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

bjoernQ
Copy link
Contributor

@bjoernQ bjoernQ commented Feb 9, 2023

In order to get rid of the annoying workaround in esp-hal targeting ESP32-S2 while using atomic-emulation this now uses __user_exception instead of __exception

The default implementation will call __user_exception from the default __exception handler so this hopefully won't break things.
Thankfully xtensa-atomic-emulation-trap will call __user_exception when it can't handle the exception

@bjoernQ bjoernQ requested a review from MabezDev February 9, 2023 15:35
Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MabezDev MabezDev merged commit 546c789 into main Feb 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants