threadx icon indicating copy to clipboard operation
threadx copied to clipboard

LDR.N instruction in tx_misra.S causing invalid offset, value too big (0xFFFFFFFC)

Open ShishirYalburgi opened this issue 5 months ago • 2 comments

On enabling TX_ENABLE_EVENT_TRACE, this line "LDR.N R4,DataTable2_1" (line 488 of tx_misra.S) and subsequent LDR.N instructions in the file causes "Error: invalid offset, value too big (0xFFFFFFFC)" compilation error

- What target device are you using? STM32U575 (Cortex M33)

- Which version of Eclipse ThreadX? v6.4.1-m33-gnu

- What toolchain and environment? STM32CubeIDE arm-none-eabi-gcc

  • What have you tried to diagnose or workaround this issue? changing it to LDR R4,=DataTable2_1

To Reproduce Steps to reproduce the behavior:

  1. set TX_ENABLE_EVENT_TRACE as 1.
  2. Compile the project.
  3. See error

Expected behavior I expected it to compile without any error

Impact showstopper

Logs and console output threadx-v6.4.1-m33-gnu/src/tx_misra.S:488: Error: invalid offset, value too big (0xFFFFFFFC)

ShishirYalburgi avatar Aug 12 '25 19:08 ShishirYalburgi