Added V1.2 for Pi 4 2GB and 4GB
Signed-off-by: Chuckduey <cduey@msn.com>
This commit is contained in:
@@ -504,8 +504,9 @@ mraa_raspberry_pi()
|
|||||||
b->phy_pin_count = MRAA_RASPBERRY_PI3_A_PLUS_PINCOUNT;
|
b->phy_pin_count = MRAA_RASPBERRY_PI3_A_PLUS_PINCOUNT;
|
||||||
peripheral_base = BCM2837_PERI_BASE;
|
peripheral_base = BCM2837_PERI_BASE;
|
||||||
block_size = BCM2837_BLOCK_SIZE;
|
block_size = BCM2837_BLOCK_SIZE;
|
||||||
} else if (strstr(line, "a03111") || strstr(line, "b03111") ||
|
} else if (strstr(line, "a03111") ||
|
||||||
strstr(line, "c03111")) {
|
strstr(line, "b03111") || strstr(line, "b03112") ||
|
||||||
|
strstr(line, "c03111") || strstr(line, "c03112")) {
|
||||||
b->platform_name = PLATFORM_NAME_RASPBERRY_PI4_B;
|
b->platform_name = PLATFORM_NAME_RASPBERRY_PI4_B;
|
||||||
platform_detected = PLATFORM_RASPBERRY_PI4_B;
|
platform_detected = PLATFORM_RASPBERRY_PI4_B;
|
||||||
b->phy_pin_count = MRAA_RASPBERRY_PI4_B_PINCOUNT;
|
b->phy_pin_count = MRAA_RASPBERRY_PI4_B_PINCOUNT;
|
||||||
|
|||||||
Reference in New Issue
Block a user