OK. So the Pi v2 I have had older firmware and it wasn't quite

the same as everyone elses.

This is an interim version which will work on both Pi v1 and v2
boards until I have a bit more time to implement the correct
stuff for v2.
This commit is contained in:
Gordon Henderson
2015-02-03 14:53:32 +00:00
parent 7cb817498e
commit 72b2af231b
6 changed files with 91 additions and 52 deletions

28
build
View File

@@ -102,20 +102,20 @@ fi
hardware=`fgrep Hardware /proc/cpuinfo | head -1 | awk '{ print $3 }'`
if [ x$hardware != "xBCM2708" ]; then
echo ""
echo " +------------------------------------------------------------+"
echo " | wiringPi is designed to run on the Raspberry Pi only. |"
echo " | This processor does not appear to be a Raspberry Pi. |"
echo " +------------------------------------------------------------+"
echo " | In the unlikely event that you think it is a Raspberry Pi, |"
echo " | then please accept my apologies and email the contents of |"
echo " | /proc/cpuinfo to projects@drogon.net. |"
echo " | - Thanks, Gordon |"
echo " +------------------------------------------------------------+"
echo ""
exit 1
fi
# if [ x$hardware != "xBCM2708" ]; then
# echo ""
# echo " +------------------------------------------------------------+"
# echo " | wiringPi is designed to run on the Raspberry Pi only. |"
# echo " | This processor does not appear to be a Raspberry Pi. |"
# echo " +------------------------------------------------------------+"
# echo " | In the unlikely event that you think it is a Raspberry Pi, |"
# echo " | then please accept my apologies and email the contents of |"
# echo " | /proc/cpuinfo to projects@drogon.net. |"
# echo " | - Thanks, Gordon |"
# echo " +------------------------------------------------------------+"
# echo ""
# exit 1
# fi
echo