2 releases (1 stable)

5.0.6 Jun 19, 2024
0.1.0 Jan 2, 2022

#207 in Embedded development

Download history 11/week @ 2024-09-11 10/week @ 2024-09-18 12/week @ 2024-09-25 5/week @ 2024-10-02

69 downloads per month

MIT/Apache

97KB
2.5K SLoC

rkaiq

Rockchip RKAIQ bindings for Rust.

Build Examples

Before you build the examples, you must set the env:

  • PKG_CONFIG_SYSROOT_DIR
  • RKAIQ_INCLUDE_DIR
  • TARGET_SYSROOT_DIR

to tell pkg-config and bindgen where to find dependencies.

For example: with Full-V RKLASER1 Boards

export PKG_CONFIG_SYSROOT_DIR=/opt/fullv/2021.02.8-rklaser1/staging
export RKAIQ_INCLUDE_DIR=/opt/fullv/2021.02.8-rklaser1/staging/usr/include/rkaiq
export TARGET_SYSROOT_DIR=/opt/fullv/2021.02.8-rklaser1/staging

Build an run examples:

cargo r --example minimal

Features

  • fullv - Enable Full-V patches.
  • isp_hw_v20 - Build for ISP_HW V20 (RV1126, RV1109)
  • isp_hw_v21 - Build for ISP_HW V21 (RK356X)
  • isp_hw_v30 - Build for ISP_HW V30 (RK3588)
  • isp_hw_v31 - Build for ISP_HW V31 (???)
  • v1_0 - Build with RKAIQ 1.0
  • v2_0 - Build with RKAIQ 2.0
  • v3_0 - Build with RKAIQ 3.0

Dependencies

~2.2–4.5MB
~86K SLoC