If my SOC can not support ldrb , how can i deal with byte write in C file? Is there some option to make byte write compile to read modify write ?
Why do you not believe that your device does not support LDRB, this is a standard Arm instruction.
As for your request, I'm not aware of any such option. It would be better to declare all global variables as (aligned) int, so that word (32-bit) access will always be used.
Thanks for your apply. I am using one new SOC, my ASIC designer told me that. If there is not such option, I will have to modify my C code. Thanks for your confirmation.
View all questions in Arm Compilers forum