Skip to content

Commit

Permalink
Merge pull request #374 from makerforgetech/feature/CM5
Browse files Browse the repository at this point in the history
Support for Raspberry Pi Compute Module 5 (CM5)
  • Loading branch information
makermelissa authored Jan 3, 2025
2 parents 287633c + fd08864 commit 0c6bd4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions adafruit_platformdetect/constants/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
RASPBERRY_PI_CM4 = "RASPBERRY_PI_CM4"
RASPBERRY_PI_CM4S = "RASPBERRY_PI_CM4S"
RASPBERRY_PI_5 = "RASPBERRY_PI_5"
RASPBERRY_PI_CM5 = "RASPBERRY_PI_CM5"

ODROID_C1 = "ODROID_C1"
ODROID_C1_PLUS = "ODROID_C1_PLUS"
Expand Down Expand Up @@ -430,6 +431,7 @@
RASPBERRY_PI_CM3_PLUS,
RASPBERRY_PI_CM4,
RASPBERRY_PI_CM4S,
RASPBERRY_PI_CM5,
)

_ODROID_40_PIN_IDS = (
Expand Down Expand Up @@ -545,6 +547,7 @@
0x14: RASPBERRY_PI_CM4,
0x15: RASPBERRY_PI_CM4S,
0x17: RASPBERRY_PI_5,
0x18: RASPBERRY_PI_CM5,
}

# Onion omega boards
Expand Down
1 change: 1 addition & 0 deletions adafruit_platformdetect/revcodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
0x14: "CM4",
0x15: "CM4S",
0x17: "5",
0x18: "CM5",
}

OLD_MANUFACTURER = (
Expand Down

0 comments on commit 0c6bd4c

Please sign in to comment.