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

Move to using LDREX/STREX on STM32 instead of emulating atomic CAS #39

Open
davetcc opened this issue Mar 18, 2022 · 0 comments
Open

Move to using LDREX/STREX on STM32 instead of emulating atomic CAS #39

davetcc opened this issue Mar 18, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@davetcc
Copy link
Collaborator

davetcc commented Mar 18, 2022

Catch up with mbed and ESP32 cases by using hardware CAS.

This is really only important for advanced multi-core users using an RTOS on Stm32Duino, at the moment the CAS instruction is emulated which is fine for all cases except where tasks were to be added from one core to another.

The code for this is available in SimpleCollections already where it handles writes to the circular buffer pointer. Once this has settled we'll use it in task manager too.

@davetcc davetcc added the enhancement New feature or request label Mar 18, 2022
@davetcc davetcc self-assigned this Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant