Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hello world example #392

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Hadatko
Copy link
Member

@Hadatko Hadatko commented Nov 19, 2023

Pull request

Choose Correct

  • bug
  • feature

Describe the pull request

Introduction of basic example for C, C++, Python

To Reproduce

Expected behavior

Every client can communicate with every server

Screenshots

Desktop (please complete the following information):

  • OS:
  • eRPC Version:

Steps you didn't forgot to do

  • I checked if other PR isn't solving this issue.
  • I read Contribution details and did appropriate actions.
  • PR code is tested.
  • PR code is formatted.
  • Allow edits from maintainers pull request option is set (recommended).

Additional context

Signed-off-by: Cervenka Dusan <[email protected]>
@Hadatko Hadatko added this to the 1.13.0 milestone Nov 19, 2023
@Hadatko Hadatko self-assigned this Nov 19, 2023
@Hadatko
Copy link
Member Author

Hadatko commented Nov 19, 2023

Hi @MichalPrincNXP , this PR is not ready as makefiles for C/C++ examples are missing. But i wanted show you how the examples can be created and wanted know your opinion. I would like to add example for arbitrator and callbacks and maybe some example for different datatypes...

@JanKomarekNXP
Copy link
Collaborator

JanKomarekNXP commented Feb 29, 2024

Hello @Hadatko, after a discussion with @MichalPrincNXP I have made some changes to this PR on the new
branch. I hope you don't mind. I added more features to the basic hello_world example and would like your opinion.

The changes include:

  • The hello_world example for C/C++/Python/Java
  • Basic support for CMake. This allows for the generation of erpcgen, C/C++ examples, and tests.
  • Matrix multiplication example for C/C++.

I have tested the CMake on Windows with msys64 and mingw64 (locally downloaded with the install_dependecied.sh/ps1 to the erpc directory) and on Linux using make and ninja.

There is still work to be done, but I would like to hear your thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants