Content originally posted in LPCWare by lpcxpresso-support on Tue Mar 18 00:56:18 MST 2014
Try adding the option "-fno-strict-volatile-bitfields" to the compiler options
Project -> Properties -> C/C++ Build -> Settings -> Tool Settings …
… -> MCU C Compiler -> Optimization -> Other optimization flags.
Does this cause the LDRB to be generated instead of the LDR?
Regards,
LPCXpresso Support