Skip to main content
Visitor II
August 31, 2022
Solved

How to reference parameters set in .ioc file

  • August 31, 2022
  • 1 reply
  • 950 views

I want my code to pick up a value set in the ioc project file, specifically:

<project>.ioc | Pinout & Configuration | Software Packs | AZRTOS(M7) | ThreadX | Core | TX_TIMER_TICKS_PER_SECOND

Is this possible? I see I can override this in tx_user.h, but I would rather have "one truth" for this value.

Is this possible?

    This topic has been closed for replies.
    Best answer by Haithem Rahmani

    Hi,

    the value in the .ioc is actually the value set vi the STM32CubeMX UI.

    0693W00000SvpK8QAJ.pngif you want to change that value just modify it in the UI and you'll get the new value set in the "tx_user.h" that you can include in your application.

    regards

    Haithem.

    1 reply

    ST Employee
    September 20, 2022

    Hi,

    the value in the .ioc is actually the value set vi the STM32CubeMX UI.

    0693W00000SvpK8QAJ.pngif you want to change that value just modify it in the UI and you'll get the new value set in the "tx_user.h" that you can include in your application.

    regards

    Haithem.