JoachimSchurig / CppGPIO

C++14 GPIO library for embedded systems on Linux
102 stars 26 forks source link

How to be ported to other boards #8

Closed how0723 closed 11 months ago

how0723 commented 3 years ago

How to be ported to other boards

JoachimSchurig commented 11 months ago

See this comment in gpio.h: /// This is the implementation of a concrete GPIO control, the one in the BCM2835. /// This is a temporary solution which will get replaced by a factory model /// to choose from different GPIOs, with the below public functionality being /// the factory abstract base. I never implemented that factory model because I did in fact never use different hardware than the raspberry with this library. But that is the path forward to porting it.