threadx
threadx copied to clipboard
LDR.N instruction in tx_misra.S causing invalid offset, value too big (0xFFFFFFFC)
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:
- set TX_ENABLE_EVENT_TRACE as 1.
- Compile the project.
- 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)