Private
Public Access
2
0

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

Signed-off-by: Chuckduey <cduey@msn.com>
This commit is contained in:
Chuckduey
2020-04-25 13:07:44 -06:00
committed by Propanu
parent e15ce6fbc7
commit c10e72b494

View File

@@ -504,8 +504,9 @@ mraa_raspberry_pi()
b->phy_pin_count = MRAA_RASPBERRY_PI3_A_PLUS_PINCOUNT;
peripheral_base = BCM2837_PERI_BASE;
block_size = BCM2837_BLOCK_SIZE;
} else if (strstr(line, "a03111") || strstr(line, "b03111") ||
strstr(line, "c03111")) {
} else if (strstr(line, "a03111") ||
strstr(line, "b03111") || strstr(line, "b03112") ||
strstr(line, "c03111") || strstr(line, "c03112")) {
b->platform_name = PLATFORM_NAME_RASPBERRY_PI4_B;
platform_detected = PLATFORM_RASPBERRY_PI4_B;
b->phy_pin_count = MRAA_RASPBERRY_PI4_B_PINCOUNT;