Hi all,
Why ARM_FLASH_STATUS was declared volatile in https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/commit/platform?... commit ? I believe it's much better to declare volatile variable when there is such need instead of forcing all variables to become volatile through typedef.
Thanks, Roman.
Hi all,
There is similar situation with ARM_USART_MODEM_STATUS and ARM_USART_STATUS in Driver_USART.h
Thanks, Roman.
Hi Roman,
Those code were copied from CMSIS Driver. I'm not sure if it is intended to typedef volatile. I'd suggest to ask CMSIS developers in https://github.com/ARM-software/CMSIS_5.
Best regards, Hu Ziji
-----Original Message----- From: Roman Mazurak via TF-M tf-m@lists.trustedfirmware.org Sent: Tuesday, February 8, 2022 12:53 AM To: tf-m@lists.trustedfirmware.org Subject: [TF-M] Re: Why ARM_FLASH_STATUS is volatile in flash driver?
Hi all,
There is similar situation with ARM_USART_MODEM_STATUS and ARM_USART_STATUS in Driver_USART.h
Thanks, Roman. -- TF-M mailing list -- tf-m@lists.trustedfirmware.org To unsubscribe send an email to tf-m-leave@lists.trustedfirmware.org
tf-m@lists.trustedfirmware.org