cancel
Showing results for 
Search instead for 
Did you mean: 

Why the X-cube-AI and X-cube-touchgfx cannot be used at the same time?

LYANZ.1
Associate

0693W00000UnxlnQAB.jpgHello,

What if I want to use touchfgx and ai at the same time?

thanks

2 REPLIES 2
KDJEM.1
ST Employee

Hi @LYANZ.1​,

Your request is tracked internally, and we will get back to you soon.

Internal ticket number: 137000 (This is an internal tracking number and is not accessible or usable by customers).

Thank you

Kaouthar

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.

Semer CHERNI
ST Employee

Hello @LYANZ.1​ 

This is the reply from our developers concerning the question raised by @KDJEM.1​ in the ticket mentioned above:

he restriction about applications comes from a simple generated code consideration: an application is meant to be the root of the execution. (Excluding the main function)

It means that the function which will be generated defines the execution of the selected application. In that sense, it is meant to be the last call of the main method and should not give hand back to the main function.

Considering this, allowing two applications won't be functional as it means generating to calls in the main function and thus the second call will never be reached.

If you need both applications to be called:

- Either you may need to have an RTOS to run them in threads.

- Or we expect the user to manually add the right code to execute them (kind or orchestration code). But, in that context, they are not applications as they are not at the root of the execution.

- Or we expect to change the meaning of "Application" components.

Hope this is a sufficient response to the original question.

Kind regards,

Semer.

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.