threadx icon indicating copy to clipboard operation
threadx copied to clipboard

typo in iAR include

Open ericminnerath opened this issue 4 months ago • 1 comments

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>

ericminnerath avatar Aug 27 '25 21:08 ericminnerath