cancel
Showing results for 
Search instead for 
Did you mean: 

"Generate Code" adds ThreadX code when trying to generate FileX standalone project

HDøss.1
Associate II

Setting the FX_STANDALONE_ENABLE flag should disable all ThreadX specific code when building a FileX project. However there is actually some code related to ThreadX timers that is generated within a USER CODE section, defining the FX_STM32_SD_CURRENT_TIME. Does anyone know why that may be, and more importantly what would be the correct definition of this macro without ThreadX?

This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
Ghofrane GSOURI
ST Employee

Hello @HDøss.1 

Actually I tried to reproduce the issue mentioned above using the latest version of CubeMX 6.8.0 and this is what I got please have a look

0693W00000aIplDQAS.pngThx

Ghofrane

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.

View solution in original post

4 REPLIES 4
Ghofrane GSOURI
ST Employee

Hello @Hermund Døssland​ 

First let me thank you for posting.

In order to push further the investigation , could you please provide you ioc file which show the problem.

I will be waiting for your feedback.

Thanks

Ghofrane

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.

HDøss.1
Associate II

Hi @Ghofrane GSOURI​ 

Thanks for looking into it, I have attached the ioc file to this reply.

Ghofrane GSOURI
ST Employee

Hello @HDøss.1 

Actually I tried to reproduce the issue mentioned above using the latest version of CubeMX 6.8.0 and this is what I got please have a look

0693W00000aIplDQAS.pngThx

Ghofrane

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.

Hi @Ghofrane GSOURI​ 

Thank you for your reply, I will try updating to the latest version of CubeMX. Also I can not find the option FX_STANDALONE_ENABLE, is this deprecated?