eclipse / mraa

Linux Library for low speed IO Communication in C with bindings for C++, Python, Node.js & Java. Supports generic io platforms, as well as Intel Edison, Intel Joule, Raspberry Pi and many more.
http://mraa.io
MIT License
1.38k stars 615 forks source link

Added V1.2 for Pi 4 2GB and 4GB #1017

Closed Chuckduey closed 4 years ago

Chuckduey commented 4 years ago

Made the change to recognize Raspberry PI 4 V1.2 2GB and 4GB versions
Tested the code for compatibility by: Used latest NOOBS 3.3.1 to build from. sudo apt update sudo apt-get install cmake automake libpcre3-dev byacc flex swig3.0 git clone https://github.com/Chuckduey/mraa.git cd mraa mkdir build cmake -DBUILDSWIGNODE=OFF -DCMAKE_INSTALL_PREFIX=/usr .. make sudo make install sudo ldconfig mraa-gpio version Ran regression tests on new Pi 4, older Pi 4, Pi 3 B+, Pi 3 B, and Pi 2 versions worked fine. nJoy Signed-off-by: Chuckduey cduey@msn.com