# erpc **Repository Path**: tinypixos/erpc ## Basic Information - **Project Name**: erpc - **Description**: Embedded RPC - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-11-25 - **Last Updated**: 2025-11-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MCUXpresso SDK : mcuxsdk-middleware-erpc ### 构建步骤 ```bash apt install flex binson cmake . -B ./build -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_C_FLAGS="-fPIC" -DCMAKE_CXX_FLAGS="-fPIC" make make install PREFIX=$(pwd)/install ``` ### 集成 拷贝 install/目录下内容 ```bash bin/ -> TinyPiXOS/src/bin include/erpc -> TinyPiXOS/src/include_p/TpUtils/erpc lib/ -> TinyPiXOS/src/depend_lib/static/x86_64(根据你的平台类型) ``` ### .erpc文件编译 使用 bin/erpcgen 将.erpc文件构建为客户端、服务端代码;命令如下: ```bash # erpcgen -gc -o 文件生成路径 .erpc文件 erpcgen -gc -o ./c/shim/ hello_world.erpc ```