Giter Site home page Giter Site logo

srpatcha / erpc-imx-demos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from embeddedrpc/erpc-imx-demos

0.0 0.0 0.0 919 KB

eRPC demos for i.MX devices

License: Other

CMake 0.91% Shell 0.03% C 94.53% C++ 3.41% Python 0.39% BitBake 0.01% Assembly 0.71%

erpc-imx-demos's Introduction

Welcome to i.MX6/7 eRPC and RPMsg how-to and demo repository!

This repository serves as a demonstration how can one setup a simple multicore communication between Linux user space application written in Python (feel free to use anything else!) and a Cortex-M4 coprocessor using RPMsg library. It further shows, how to use RPMsg as a transport layer for embedded remote procedure call (eRPC) library.

  • Run MCU/example_rpmsg/build/armgcc/imx6sx_sdb_m4/build_all.sh
    or
    MCU/example_erpc/build/armgcc/imx6sx_sdb_m4/build_all.sh
    to build the Cortex-M4 firmware.

  • You can either use pre-built image for sdcard located in Linux/deploy or build the Yocto Linux by running:
    MPU/setup_yocto/clone_setup_yocto.sh

  • When you manage to boot into Linux, use the MPU/example_rpmsg/example.py (or respectively MPU/example_erpc/example.py) Python script to talk to the Cortex-M4 coprocessor.

  • This repository demonstrates multiple components developped by NXP Semiconductors:

    • RPMsg Lite - an optimized implementation of RPMsg protocol for MCUs
    • RPMsg Multiendpoint (rpmsg_multiept.ko) - kernel module exporting RPMsg interface to Linux user-space, in form of a patch
    • RPMsg Python - Python wrapper for rpmsg_multiept.ko
    • eRPC - Embedded RPC library

Supported Boards:

  • i.MX6SX Sabre SD
  • i.MX7D Sabre SD
  • LPCXpresso5411x

Related Links:

erpc-imx-demos's People

Contributors

flit avatar mareknovaknxp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.