Merge pull request #7686 from KariHaapalehto/1530_led

Correct MTB_ADV_WISE_1530 led configuration
pull/7780/head
Cruz Monrreal 2018-08-13 09:18:27 -05:00 committed by GitHub
commit 0e68570d49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 1 deletions

View File

@ -201,6 +201,7 @@ typedef enum {
// Generic signals namings
LED1 = PB_2,
LED2 = PB_10,
LED3 = NC,
LED_RED = LED1,
LED_BLUE = LED2,
USER_BUTTON = PC_13,

View File

@ -241,12 +241,24 @@ typedef enum {
// Generic signals namings
#ifdef MBED_CONF_TARGET_LED1
LED1 = MBED_CONF_TARGET_LED1,
#else
LED1 = PA_7,
#endif
#ifdef MBED_CONF_TARGET_LED2
LED2 = MBED_CONF_TARGET_LED2,
#else
LED2 = PC_4,
#endif
#ifdef MBED_CONF_TARGET_LED3
LED3 = MBED_CONF_TARGET_LED3,
#else
LED3 = PC_11,
#endif
LED_RED = LED1,
LED_BLUE = LED2,
LED_GREEN = LED3,
LED_GREEN = LED3,
USER_BUTTON = PB_14,
// Standardized button names

View File

@ -1200,6 +1200,11 @@
},
"MTB_ADV_WISE_1530": {
"inherits": ["USI_WM_BN_BM_22"],
"config": {
"led1": "PA_4",
"led2": "PC_12",
"led3": "NC"
},
"overrides": {
"stdio_uart_tx": "PB_10",
"stdio_uart_rx": "PC_11"