Skip to main content
Associate
August 26, 2024
Question

THREADX TEST CASES

  • August 26, 2024
  • 1 reply
  • 547 views

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

This topic has been closed for replies.

1 reply

ST Employee
August 28, 2024

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.