This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2.0.0-beta1: Merged changes from Andy Baker and Reik Hua for compati…
…bility with Pi 0, 2 and 3
- Loading branch information
Chris Hager
committed
Jun 2, 2016
1 parent
c4e8b73
commit 07c776f
Showing
20 changed files
with
462 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.10.1 | ||
2.0.0-beta1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
rpio (2.0.0-beta1) unstable; urgency=low | ||
|
||
* Support for Raspberry Pi 0, 2, 3 (thanks to Andy Baker and Reik Hua) | ||
|
||
-- Chris Hager <[email protected]> Thu, 02 Jun 2016 21:32:58 +0100 | ||
|
||
rpio (0.10.1) unstable; urgency=low | ||
|
||
* Updated debian/control Standards-Version to 3.9.3.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
// revision_hex will be four characters revision id (eg. '0004'), | ||
// the over-voltage header, if present, is removed (since it is | ||
// not consistently present on all overclocked boards). | ||
int | ||
int | ||
get_cpuinfo_revision(char *revision_hex) | ||
{ | ||
FILE *fp; | ||
|
@@ -49,7 +49,11 @@ get_cpuinfo_revision(char *revision_hex) | |
while(!feof(fp)) { | ||
fgets(buffer, sizeof(buffer) , fp); | ||
sscanf(buffer, "Hardware : %s", hardware); | ||
if (strcmp(hardware, "BCM2708") == 0) | ||
if (strcmp(hardware, "BCM2708") == 0|| | ||
strcmp(hardware, "BCM2709") == 0|| | ||
strcmp(hardware, "BCM2835") == 0|| | ||
strcmp(hardware, "BCM2836") == 0 | ||
This comment has been minimized.
Sorry, something went wrong.
lurch
|
||
) | ||
rpi_found = 1; | ||
sscanf(buffer, "Revision : %s", revision_hex); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
As I mentioned somewhere else - this particular version number shouldn't be being updated with search'n'replace :-(