cmse_check_address_range() changed behaviour, why?
I'm using a Cortex-M33 with arm trust-zone. I have a secure api inside my secure firmware that I can call from my non-secure firmware. All works as expected - at least until I upgraded my compiler from `gcc-arm-
The function in question looks like this:
bool __attribute_
__unused __attribute_
bool Secure_
// this cmse-check fails with the compiler in `version gcc-arm-
// it works with the `gcc-arm-
handler = cmse_check_
if (handler == NULL) {
return false;
}
return true;
}
I make sure the supplied pointer really is in non-secure space by using `cmse_check_
I checked for any changes in that function, but even `https:/
Did anything change? Maybe I'm using the function not as intended (do I need different flags for functions? But then again, it works with version 7.
I posted the same question on Stackoverflow, but this place seems more appropriate. Here is the link:
https:/
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: