Skip to content

typo in iAR include #462

@ericminnerath

Description

@ericminnerath

Describe the bug
All tx_iar.c modules contain #include <DLib_threads.h> (note lower-case t), whereas an iAR installation produces Dlib_Threads.h. On case-sensitive Operating Systems (such as Linux), this typo produces a compilation error.

IAR EWARM and BXARM v9.60.4 and threadx v6.4.1.

To Reproduce

  1. Install iAR EWARM or BXARM
  2. Build project with threadx where TX_ENABLE_IAR_LIBRARY_SUPPORT is defined
  3. Observe the following build error

threadx/ports/cortex_m33/iar/src/tx_iar.c(442) : Fatal Error[Pe1696]: cannot open source file "DLib_threads.h"

Expected behavior
Build clean on all operating systems

Impact
Annoyance

Here is filename of clean iAR EWARM installation

Image

Fix

replace all occurrences of #include <DLib_threads.h> with #include <DLib_Threads.h>

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghardwareNew 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