cancel
Showing results for 
Search instead for 
Did you mean: 

THREADX TEST CASES

jacobgeorge
Associate II

Hai,

https://github.com/eclipse-threadx/threadx/tree/master/test/tx/regression 

From that link i want to try running one of the test cases from the repo. I have STM32L496zg-p board and stm32cube IDE 1.15.1 version. 

 

I want to add threadx manually from the repository , and after that i need to run test cases from above mentioned link, in that regression folder.

 

Please help me for this with detailed steps

 

Thank u

1 REPLY 1
Sarra.S
ST Employee

Hello @jacobgeorge

1/ clone the ThreadX repository with: git clone https://github.com/eclipse-threadx/threadx.git

2/ Add the ThreadX source files to your project in STM32CubeIDE:  Import > File System to import the corresponding files

3/ include paths: Add the following include paths:

  • common/inc
  • ports/cortex_m4/gnu/inc
  • test/tx/regression

How: C/C++ Build > Settings, Under MCU GCC Compiler > Includes 

4/ Initialize ThreadX in your main.c file

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.