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 ?
Hi Chase,
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.
Hi Ronan
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.