AerospaceNU/better-engine-control-software

Is there a C++ GPIO pin library for RPi that can be linked statically?

開放

#39 建立於 2023年11月9日

 (1 則留言) (0 個反應) (0 位負責人)C++ (2 個分叉)auto 404
help wantedquestion

倉庫指標

星標
 (5 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

We currently use WiringPi to control our GPIO pins. The thing is WiringPi is designed and built as a shared library. Eventually, with our software on the prop control board, we can't have shared libraries so everything has to be statically linked. So WiringPi doesn't support this.

Technically, once we've moved over to the prop control board we won't be using WiringPi anyways. But I would like to get us started now if we can. We can link the C++ standard library statically on GCC, that's not an issue, so it's just the WiringPi library. Is there a replacement for this?

貢獻者指南