threadx
threadx copied to clipboard
typo in iAR include
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
- Install iAR EWARM or BXARM
- Build project with threadx where
TX_ENABLE_IAR_LIBRARY_SUPPORTis defined - 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
Fix
replace all occurrences of #include <DLib_threads.h> with #include <DLib_Threads.h>