-
Notifications
You must be signed in to change notification settings - Fork 3k
Improve the process for Cortex-A9 in mbed_application #7331
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
Conversation
I added the powerdown func by GIC in mbed_application because Cortex-A9 use GIC instead of NVIC. This process prevent unexpected interrupt when updating software by using bootloader.
/morph build |
/morph build |
Build : SUCCESSBuild number : 2455 Triggering tests/morph test |
Test : SUCCESSBuild number : 2232 |
Exporter Build : SUCCESSBuild number : 2085 |
@ARMmbed/mbed-os-core ? |
void mbed_start_application(uintptr_t address) | ||
{ | ||
__disable_irq(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use critical section instead please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@c1728p9 Should be fine to be used here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, I was not aware. That will need to be addressed then separately if @c1728p9 agrees
Description
I added the powerdown func by GIC in mbed_application because Cortex-A9 use GIC instead of NVIC.
This process prevent unexpected interrupt when updating software by using bootloader.
Pull request type