WiringPi: Add support for Odroid-HC4

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If64c712eef681a2a9aa4b7828d95b612a1de91db
This commit is contained in:
Deokgyu Yang
2020-11-13 12:56:17 +09:00
parent 4416fa5183
commit e94695fd94
9 changed files with 749 additions and 9 deletions

View File

@@ -220,6 +220,7 @@ static void doI2Cdetect (UNU int argc, char *argv [])
break;
case MODEL_ODROID_N2:
case MODEL_ODROID_C4:
case MODEL_ODROID_HC4:
if (cmpKernelVersion(KERN_NUM_TO_REVISION, 4, 9, 230))
port = 0;
else