Skip to main content
This topic has been closed for replies.

2 replies

Romain DIELEMAN
ST Employee
Jan 23, 2023 6:18 AM UTC

My initial response would be no but I might be missing something "obvious" :thinking_face:. TouchGFX_printf is for the simulator only user code (so C++). But you could call it when what you are using the c file for is interacted with, I suppose this interaction is done with the model ? In what context are you trying to use it ?

/Romain

Roman REITER
Associate III
Jan 23, 2023 11:23 AM UTC

I want use TouchGFX_printf in a .h or .c (own functions), which i have includen in a .hpp. supposedly you can embed c++ functions in c code and c functions in c++ code (with extern "C")!?