Skip to content

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

@ShishirYalburgi

Description

@ShishirYalburgi

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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdiscussionFlagged for discussion during the weekly team meetinghardwareNew hardware or architecture support request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions