aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/spi.rst
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-05-24 20:28:06 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-05-26 02:42:07 -0400
commitd63759c9656d0c7fee06efcf28cda52249c2b090 (patch)
treec270cecaa3ef126d698c70d1b80db17839120a59 /docs/source/spi.rst
parent33808b0e6ae8dbf6a511522f1159d9abc3af5dcb (diff)
downloadlibrambutan-d63759c9656d0c7fee06efcf28cda52249c2b090.tar.gz
librambutan-d63759c9656d0c7fee06efcf28cda52249c2b090.zip
Docs: Fix several board-specific values.
Ugh. Fix BOARD_NR_ADC_PINS and boardADCPins on Maple, Maple Mini, and Maple RET6 Edition: Maple and Maple RET6 Ed. don't have ADC on pin 3. Seems likely that the error was due to AIN being missing on the silkscreen. They also have ADC on pin 13. This is not really true due to the voltage drop across the built-in LED. Maple Mini really should not include BOARD_LED_PIN among its ADC pins, since it's not broken out to a header. Fix BOARD_NR_PWM_PINS and boardPWMPins on Maple and RET6 Ed: Both boards falsely include pin 25 as a PWM pin. Maple RET6 Edition also lacks some PWM pins. Fix BOARD_NR_SPI on Maple RET6 Edition: SPI3 uses PB4, which is unusable since it's tied to NRST. This means that SPI3 is not available on the RET6 edition. Decreasing BOARD_NR_SPI to 2 to accomodate this. Leave the BOARD_SPI3_*_PIN defines intact so as not to further clutter the rest of the library with RET6-specific wrinkles.
Diffstat (limited to 'docs/source/spi.rst')
0 files changed, 0 insertions, 0 deletions