From: Brendan Le Foll Date: Sun, 15 Feb 2015 22:57:24 +0000 (+0000) Subject: raspberry_pi.md: Update docs to reflect latest rpi changes X-Git-Tag: v0.6.1~16 X-Git-Url: http://review.tizen.org/git/?p=contrib%2Fmraa.git;a=commitdiff_plain;h=989566bc04370b56543c9ab12900b1f193e601d0 raspberry_pi.md: Update docs to reflect latest rpi changes Signed-off-by: Brendan Le Foll --- diff --git a/README.md b/README.md index 2f30d69..581a406 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ X86 ARM --- -* [Raspberry Pi - Model B](../master/docs/raspberry_pi_b.md) +* [Raspberry Pi](../master/docs/raspberry_pi.md) Installing on your board ======== diff --git a/docs/index.md b/docs/index.md index fe14dfe..bcdc128 100644 --- a/docs/index.md +++ b/docs/index.md @@ -42,7 +42,7 @@ Specific platform information for supported platforms is documented here: - @ref edison - @ref de3815 - @ref minnowmax -- @ref rasppib +- @ref rasppi ## DEBUGGING diff --git a/docs/raspberry_pi_b.md b/docs/raspberry_pi.md similarity index 73% rename from docs/raspberry_pi_b.md rename to docs/raspberry_pi.md index 118a3e6..e6eae2d 100644 --- a/docs/raspberry_pi_b.md +++ b/docs/raspberry_pi.md @@ -1,28 +1,29 @@ -Raspberry Pi Model B {#rasppib} -==================== +Raspberry Pi {#rasppi} +============ -The Raspberry Pi is based on the Broadcom BCM2835 system on a chip, -which includes an ARM1176JZF-S 700 MHz processor, VideoCore IV GPU -and was originally shipped with 256 megabytes of RAM, later -upgraded (Model B & Model B+) to 512 MB. +The Raspberry Pi is based on the Broadcom BCM2835 system on a chip, which +includes an ARM1176JZF-S 700 MHz processor, VideoCore IV GPU and was originally +shipped with 256 megabytes of RAM, later upgraded (Model B & Model B+) to 512 +MB. The Raspberry Pi 2 is based on an armv7 CPU but shares a number of +similarities with the original. Revision Support ---------------- -Currently only rev 1 is supported. +Raspberry Pi A/B/A+/B+ +Raspberry Pi 2 B Interface notes --------------- -**GPIO** Supported on pin 6,10,11,12,14,15,17,21 **PWM** Whilst the Raspberry Pi is meant to have 1 PWM channel this is currently not supported. -**I2C** The blacklist for the kernel module will need to be removed and the `i2c-dev` needs to be loaded. - -**SPI** The blacklist for the kernel module needs to be removed and `spidev` loaded - Pin Mapping ----------- +This pin mapping refers to the first generation 'B' model Pi but gives an idea +as to what the values are from mraa. Note that there is an emum to use wiringPi +style numbers. + | MRAA Number | Physical Pin | Function | |-------------|--------------|----------| | 1 | P1-01 | 3V3 VCC |