diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-04-27 17:38:55 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-04-27 17:38:55 -0400 |
commit | ea6cf3e622350963e25dae21b03b01b13af53ebc (patch) | |
tree | 4f62bedb9a4d35f0eea56a095b8ee38aba297c22 /wirish | |
parent | f7298dc9875d8d680502269492ba47f16c86a9fb (diff) | |
download | librambutan-ea6cf3e622350963e25dae21b03b01b13af53ebc.tar.gz librambutan-ea6cf3e622350963e25dae21b03b01b13af53ebc.zip |
maple_native.cpp updates/fixes.
Diffstat (limited to 'wirish')
-rw-r--r-- | wirish/boards/maple_native.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/wirish/boards/maple_native.cpp b/wirish/boards/maple_native.cpp index 0b25bd4..ab8b282 100644 --- a/wirish/boards/maple_native.cpp +++ b/wirish/boards/maple_native.cpp @@ -44,7 +44,7 @@ extern const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS] = { /* Top header */ {GPIOB, NULL, NULL, 10, 0, ADCx}, /* D0/PB10 */ - {GPIOB, NULL, NULL, 2, 0, ADCx}, /* D1/PB2 */ + {GPIOB, NULL, NULL, 11, 0, ADCx}, /* D1/PB11 */ {GPIOB, NULL, NULL, 12, 0, ADCx}, /* D2/PB12 */ {GPIOB, NULL, NULL, 13, 0, ADCx}, /* D3/PB13 */ {GPIOB, NULL, NULL, 14, 0, ADCx}, /* D4/PB14 */ @@ -88,12 +88,12 @@ extern const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS] = { {GPIOB, NULL, NULL, 5, 0, ADCx}, /* D37/PB5 */ {GPIOB, TIMER4, NULL, 6, 1, ADCx}, /* D38/PB6 */ {GPIOB, TIMER4, NULL, 7, 2, ADCx}, /* D39/PB7 */ - {GPIOF, NULL, ADC3, 6, 0, 4}, /* D40/PF6 */ - {GPIOF, NULL, ADC3, 7, 0, 5}, /* D41/PF7 */ - {GPIOF, NULL, ADC3, 8, 0, 6}, /* D42/PF8 */ - {GPIOF, NULL, ADC3, 9, 0, 7}, /* D43/PF9 */ - {GPIOF, NULL, ADC3, 10, 0, 8}, /* D44/PF10 */ - {GPIOF, NULL, NULL, 11, 0, ADCx}, /* D45/PF11 */ + {GPIOF, NULL, NULL, 11, 0, ADCx}, /* D40/PF11 */ + {GPIOF, NULL, ADC3, 6, 0, 4}, /* D41/PF6 */ + {GPIOF, NULL, ADC3, 7, 0, 5}, /* D42/PF7 */ + {GPIOF, NULL, ADC3, 8, 0, 6}, /* D43/PF8 */ + {GPIOF, NULL, ADC3, 9, 0, 7}, /* D44/PF9 */ + {GPIOF, NULL, ADC3, 10, 0, 8}, /* D45/PF10 */ {GPIOB, TIMER3, ADC1, 1, 4, 9}, /* D46/PB1 */ {GPIOB, TIMER3, ADC1, 0, 3, 8}, /* D47/PB0 */ {GPIOA, TIMER5, ADC1, 0, 1, 0}, /* D48/PA0 */ @@ -163,11 +163,11 @@ extern const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS] = { }; extern const uint8 boardPWMPins[BOARD_NR_PWM_PINS] __FLASH__ = { - 13, 14, 15, 16, 23, 24, 25, 26, 38, 39, 46, 47, 48, 49, 50, 51, 54, 54 + 13, 14, 15, 16, 23, 24, 25, 26, 38, 39, 46, 47, 48, 49, 50, 51, 54, 55 }; extern const uint8 boardADCPins[BOARD_NR_ADC_PINS] __FLASH__ = { - 7, 8, 9, 10, 11, 12, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, + 7, 8, 9, 10, 11, 12, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55 }; |