cancel
Showing results for 
Search instead for 
Did you mean: 

FX_STANDALONE_ENABLE option not found in CubeMX when generating Azure FileX project

HDøss.1
Associate II

I'm trying to build a project using FileX in standalone mode (without ThreadX dependecies). According to Microsoft's documentation the FX_STANDALONE_ENABLE flag must be defined in order to disable the use of ThreadX specifics (timers, semaphores etc.), but I can't seem to find this option in CubeMX when generating code. I've noticed that the documentation by Microsoft is deprecated in some areas (in regards to function names for instance), and am wondering if this flag might have been replaced by some other flag or if there is another way to run FileX in standalone mode?

1 ACCEPTED SOLUTION

Accepted Solutions
mohamed.ayed
ST Employee

Hi @Hermund Døssland​ , Can you please update the version of X-CUBE-AZRTOS-H7 to 3.0.0 it support USBX and FileX without RTOS. if you download the package from ST.com you can find the IOC of Fx_File_Edit_Standalone application.

https://www.st.com/en/embedded-software/x-cube-azrtos-h7.html

you can refer to this application :

https://github.com/STMicroelectronics/x-cube-azrtos-h7/tree/main/Projects/STM32H735G-DK/Applications/FileX/Fx_File_Edit_Standalone

View solution in original post

2 REPLIES 2
mohamed.ayed
ST Employee

Hi @Hermund Døssland​ , Can you please update the version of X-CUBE-AZRTOS-H7 to 3.0.0 it support USBX and FileX without RTOS. if you download the package from ST.com you can find the IOC of Fx_File_Edit_Standalone application.

https://www.st.com/en/embedded-software/x-cube-azrtos-h7.html

you can refer to this application :

https://github.com/STMicroelectronics/x-cube-azrtos-h7/tree/main/Projects/STM32H735G-DK/Applications/FileX/Fx_File_Edit_Standalone

seejohnleung
Associate II