title: ldr.w instruction causing unaligned access hardfault on ARM Cortex-M7 with Thumb2
body: <p>I am getting a unaligned access hardfault on the ldr.w instruction with Thumb2 on ARM Cortex-M7. The microcontroller is an STM32H745xx and I am using STM32CubeIDE.</p>
  <p>I am using the STM32 arm-eabi-none-gcc toolchain to compile the project, with the -mno-unaligned-access option.</p>
  <p><strong>instruction:</strong>
  ldr.w   r3, [r3, #1288] ; 0x508</p>
  <p>Any ideas on how this might be fixed?</p>
  <p>FYI: I am very new to the embedded world.</p>