(I'm not at all sure this is the right forum for this question, so the first question is: is there a better forum for eRPC questions?)
But my real question: We're working in a pure-C environment. I didn't see any examples of how to adapt the generated <proj>_server.cpp and <proj>_client.cpp files for a pure-C environment. Is that feasible? Or does all of the runtime support assume a C++ environment?
Hi, robertpoor
I have the same question as you, and have you found the solution to use eRPC in a pure C environment?
For purposes of discussion, assume that we're using the MKL03Z32VFK4. Starting with <myproject>.erpc, is it possible for erpc to create files for a pure C environment, rather than for a CPP environment?
Hi robertpoor
technically, it can.
But NXP erpc demo codes are based on c plus.
Thanks,
Jun Zhang
Hi robertpoor
This depends on OS and transport layer.
Please check this documentation: https://community.nxp.com/docs/DOC-334083
And here for step-by-step guide how to create eRPC application:
https://github.com/EmbeddedRPC/erpc/wiki/Getting-Started
Above this generally eRPC information we can provide.
As you are not using NXP parts, For more, please check your part producer.
Thanks,
Jun Zhang
Hi @robertpoor
What's your chip part number?
Please let us know thus we can assign right engineer for your question.
Thanks,
Jun Zhang
Hi, @ZhangJennie
Is there any demo app of eRPC can run in a pure C environment (Not C++)? Thanks.