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?

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

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

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

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?