erpc icon indicating copy to clipboard operation
erpc copied to clipboard

Porting to IAR C

Open darwyy opened this issue 2 years ago • 5 comments

Hi Guys, I want to compile the server code in IAR for my cortex M33. Is there any porting guide to build in C? Also can I generate C code instead of cpp using erpcgen tool?

Thanks, David

darwyy avatar Jan 22 '24 12:01 darwyy

Hi eRPC user. Thank you for your interest and welcome. We hope you will enjoy this framework well.

github-actions[bot] avatar Jan 22 '24 12:01 github-actions[bot]

Hi @darwyy https://github.com/EmbeddedRPC/erpc/wiki/Porting-Guide https://github.com/EmbeddedRPC/erpc/wiki/Getting-Started Official doc is for previous version. For current version released recently it is currently on branches. But it si similar allthought initialization parameters or file names were changed. (For C project you need include both C and C++ generated files)

Hadatko avatar Jan 22 '24 12:01 Hadatko

Hello, I have a similar need, i guess the question of @darwyy was to get PURE C, not some binding around the C++ code. It seems it's not possible by the way according to the help of the erpcgen tool ? Any idea of the difficulty to have pure C support instead of C++ ? Anybody already worked on this ? Also reported here: https://github.com/EmbeddedRPC/erpc/issues/400 but no real answer to this question. I'm not able to integrate C++ in the source code I would like to do because of "policy reason". So I need pure C. Joel

joelguittet avatar Jun 13 '24 09:06 joelguittet