Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yodaos-project/flora
The lightweight IPC library which supports PUB/SUB for embedded device.
https://github.com/yodaos-project/flora
flora ipc yodaos
Last synced: about 2 months ago
JSON representation
The lightweight IPC library which supports PUB/SUB for embedded device.
- Host: GitHub
- URL: https://github.com/yodaos-project/flora
- Owner: yodaos-project
- Created: 2018-09-07T05:10:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-20T09:23:10.000Z (about 1 year ago)
- Last Synced: 2024-05-14T00:26:58.270Z (8 months ago)
- Topics: flora, ipc, yodaos
- Language: C++
- Homepage:
- Size: 412 KB
- Stars: 21
- Watchers: 26
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flora
[![Build Status](https://travis-ci.com/yodaos-project/flora.svg?branch=master)](https://travis-ci.com/yodaos-project/flora)
版本: 1
更新时间: 2018.08.09 15:44
## 概述
跨进程/设备消息广播协议
## 编译
* 需要cmake 3.0以上
* 支持交叉编译
```
./config <参数> 配置编译参数,生成makefiles
cd ${makefiles生成目录}
make
make install
```### 依赖模块
[mutils](https://github.com/Rokid/aife-mutils) 结构体序列化工具及log工具
[cmake-modules](https://github.com/Rokid/aife-cmake-modules) cmake脚本功能模块
### 编译配置参数说明
* --build-dir=\* 指定cmake生成makefiles的目录
* --prefix=\* 指定安装目录
* --cmake-modules=\* 指定[cmake-modules](https://github.com/Rokid/aife-cmake-modules)仓库目录
* --find-root-path=\* 附加的动态库/静态库/头文件搜索路径
* --mutils=\* 指定[mutils](https://github.com/Rokid/aife-mutils)动态库/头文件搜索路径
* --toolchain=\* 交叉编译工具链安装目录
* --cross-prefix=\* 交叉编译命令前缀
### 编译命令示例
```
以a113平台交叉编译为例
假定工具链编译器路径为/home/codefarmer/a113/toolchain/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++
mutils-caps库路径为/home/codefarmer/buildroot/a113/usr/lib/libcaps.so
mutils-rlog库路径为/home/codefarmer/buildroot/a113/usr/lib/librlog.so
mutils头文件路径为/home/codefarmer/buildroot/a113/usr/include/caps/caps.h
/home/codefarmer/buildroot/a113/usr/include/log/rlog.h
(注: 编译mutils时指定./config --prefix=/home/codefarmer/buildroot/a113/usr,make install后即为此种状态)
cmake-modules仓库路径为/home/codefarmer/cmake-modules./config \
--build-dir=a113-build \
--cmake-modules=/home/codefarmer/cmake-modules \
--toolchain=/home/codefarmer/a113/toolchain/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu \
--cross-prefix=aarch64-linux-gnu- \
--find-root-path=/home/codefarmer/buildroot/a113 \
--prefix=你喜欢的安装路径(如不指定,默认为/usr)cd a113-build
make
make install
```## 使用说明
[c++接口](./docs/cpp-api.md)
[c接口](./docs/c-api.md)