How to use erpcgen tool from NXP with IMX7d

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use erpcgen tool from NXP with IMX7d

Jump to solution
1,760 Views
chandiniindavar
Contributor IV

Hi

Sorry if i am asking basic question.

I am trying to understand how to use erpcgen tool from NXP.

I successfully ran example demo , with reference : https://github.com/EmbeddedRPC/erpc-imx-demos

 

My next approach  was build erpcgen  and create my own output files using same erpc_matrix_multiply.erpc and run same demo again so i get familiar to use erpcgen tool.

i got output files but even though i am using same erpc_matrix_multiply.erpc my files different than example files

the changes are :

Output files in example demo says (erpc_matrix_multiply_server.h):

erpc_status_t erpcMatrixMultiply_shim(erpc::Codec * in, erpc::Codec * out, uint32_t sequence);


my files(erpc_matrix_multiply_server.h):
erpc_status_t erpcMatrixMultiply_shim(erpc::Codec * codec, uint32_t sequence);


why files are different , Am i missing any config ?


Do i need to manually edit erpc_matrix_multiply_server.h & erpc_matrix_multiply_server.cpp

files are attached for reference 

Thank you in advance

Chandini

Labels (3)
0 Kudos
1 Solution
1,286 Views
chandiniindavar
Contributor IV
3 Replies
1,286 Views
igorpadykov
NXP Employee
NXP Employee

Hi Chandini

had you looked at yocto tutorial

https://community.nxp.com/docs/DOC-1616
https://community.nxp.com/docs/DOC-331917

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,286 Views
chandiniindavar
Contributor IV

Hi igor

Ya i did refereed those pages to build my image .

But i had issue with erpcgen tool version i was using .

Now i got MCU demo built and run properly .

Looking to generate python code  using erpcgen tool , do you have any idea how to do that ?

Thanks you very much for your response

Chandini

0 Kudos
1,287 Views
chandiniindavar
Contributor IV

Finally problem fixed .

Please refer : 

https://community.nxp.com/docs/DOC-334083