Skip to main content
Visitor II
August 26, 2024
Question

THREADX TEST CASES

  • August 26, 2024
  • 1 reply
  • 539 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