Skip to content

Commit

Permalink
feat: add newer raspberry pi 4b variants
Browse files Browse the repository at this point in the history
add newer pi 4 variants a03112, a03115, b03114, b03115, c03114, c03115, d03115

Signed-off-by: Aaron Shaw <[email protected]>
  • Loading branch information
shawaj authored and tingleby committed Jul 1, 2022
1 parent 9ea6cd2 commit 3b22201
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/arm/raspberry_pi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3b22201

Please sign in to comment.