From 3b22201791c9b6e551f21fc68b2d8af5f25e2a24 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Tue, 15 Mar 2022 21:11:36 +0000 Subject: [PATCH] feat: add newer raspberry pi 4b variants add newer pi 4 variants a03112, a03115, b03114, b03115, c03114, c03115, d03115 Signed-off-by: Aaron Shaw --- src/arm/raspberry_pi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/arm/raspberry_pi.c b/src/arm/raspberry_pi.c index bda8731..650fec1 100644 --- a/src/arm/raspberry_pi.c +++ b/src/arm/raspberry_pi.c @@ -507,9 +507,12 @@ mraa_raspberry_pi() peripheral_base = BCM2837_PERI_BASE; block_size = BCM2837_BLOCK_SIZE; } else if (strstr(line, "a03111") || + strstr(line, "a03112") || strstr(line, "a03115") || strstr(line, "b03111") || strstr(line, "b03112") || + strstr(line, "b03114") || strstr(line, "b03115") || strstr(line, "c03111") || strstr(line, "c03112") || - strstr(line, "d03114")) { + strstr(line, "c03114") || strstr(line, "c03115") || + strstr(line, "d03114") || strstr(line, "d03115")) { b->platform_name = PLATFORM_NAME_RASPBERRY_PI4_B; platform_detected = PLATFORM_RASPBERRY_PI4_B; b->phy_pin_count = MRAA_RASPBERRY_PI4_B_PINCOUNT;