mirror of https://github.com/ARMmbed/mbed-os.git
mbed-os-example_blinky didn't work with wise-1530, so MTB_ADV_WISE_1530 led configuration have been updated. Also minor update to MTB_MXCHIP_EMW3166 led configuration, led3 is now defined but not connected.
parent
f8b140f8d7
commit
55bc56dcae
|
@ -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,
|
||||
|
|
|
@ -241,9 +241,21 @@ 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,
|
||||
|
|
|
@ -1208,6 +1208,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"
|
||||
|
|
Loading…
Reference in New Issue