diff --git a/configs/arduino-due/src/sam_autoleds.c b/configs/arduino-due/src/sam_autoleds.c index 6f7cf9f14b..d0c3cba245 100644 --- a/configs/arduino-due/src/sam_autoleds.c +++ b/configs/arduino-due/src/sam_autoleds.c @@ -133,10 +133,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/avr32dev1/src/avr32_leds.c b/configs/avr32dev1/src/avr32_leds.c index e0e5e2d317..61668c05eb 100644 --- a/configs/avr32dev1/src/avr32_leds.c +++ b/configs/avr32dev1/src/avr32_leds.c @@ -73,10 +73,10 @@ void board_autoled_initializeialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { at32uc3_gpiowrite(PINMUX_GPIO_LED1, (led != 0)); at32uc3_gpiowrite(PINMUX_GPIO_LED2, (led == 2)); diff --git a/configs/c5471evm/src/c5471_leds.c b/configs/c5471evm/src/c5471_leds.c index 5becc3cccb..bde450b570 100644 --- a/configs/c5471evm/src/c5471_leds.c +++ b/configs/c5471evm/src/c5471_leds.c @@ -83,10 +83,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if (led < 8) { diff --git a/configs/cc3200-launchpad/src/cc3200_autoleds.c b/configs/cc3200-launchpad/src/cc3200_autoleds.c index c01abac179..bd7d69f65f 100644 --- a/configs/cc3200-launchpad/src/cc3200_autoleds.c +++ b/configs/cc3200-launchpad/src/cc3200_autoleds.c @@ -134,7 +134,7 @@ * Name: up_ledon ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/cloudctrl/src/stm32_autoleds.c b/configs/cloudctrl/src/stm32_autoleds.c index c2efa2d426..3352b56d0a 100644 --- a/configs/cloudctrl/src/stm32_autoleds.c +++ b/configs/cloudctrl/src/stm32_autoleds.c @@ -369,10 +369,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } @@ -398,7 +398,7 @@ void up_ledpminitialize(void) int ret = pm_register(&g_ledscb); if (ret != OK) { - board_led_on(LED_ASSERTION); + board_autoled_on(LED_ASSERTION); } } #endif /* CONFIG_PM */ diff --git a/configs/demo9s12ne64/src/m9s12_leds.c b/configs/demo9s12ne64/src/m9s12_leds.c index d576419767..f4595fa398 100644 --- a/configs/demo9s12ne64/src/m9s12_leds.c +++ b/configs/demo9s12ne64/src/m9s12_leds.c @@ -88,10 +88,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { } diff --git a/configs/dk-tm4c129x/src/tm4c_autoleds.c b/configs/dk-tm4c129x/src/tm4c_autoleds.c index a4e6b3c86f..407ce9bbd9 100644 --- a/configs/dk-tm4c129x/src/tm4c_autoleds.c +++ b/configs/dk-tm4c129x/src/tm4c_autoleds.c @@ -70,10 +70,10 @@ void tm4c_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { /* --------------- ------- ---- ----- -------------------- * STATE VALUE RED GREEN BLUE diff --git a/configs/ea3131/src/lpc31_leds.c b/configs/ea3131/src/lpc31_leds.c index 38fa18b430..41d9d2794c 100644 --- a/configs/ea3131/src/lpc31_leds.c +++ b/configs/ea3131/src/lpc31_leds.c @@ -89,10 +89,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { } diff --git a/configs/ea3152/src/lpc31_leds.c b/configs/ea3152/src/lpc31_leds.c index 1796443a72..4e68e4c847 100644 --- a/configs/ea3152/src/lpc31_leds.c +++ b/configs/ea3152/src/lpc31_leds.c @@ -89,10 +89,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { } diff --git a/configs/eagle100/src/lm_leds.c b/configs/eagle100/src/lm_leds.c index fe0007aca6..5c22d86f2c 100644 --- a/configs/eagle100/src/lm_leds.c +++ b/configs/eagle100/src/lm_leds.c @@ -111,10 +111,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { @@ -130,9 +130,9 @@ void board_led_on(int led) g_nest++; case LED_IRQSENABLED: case LED_STACKCREATED: - led_dumpgpio("board_led_on: before tiva_gpiowrite()"); + led_dumpgpio("board_autoled_on: before tiva_gpiowrite()"); tiva_gpiowrite(LED_GPIO, false); - led_dumpgpio("board_led_on: after tiva_gpiowrite()"); + led_dumpgpio("board_autoled_on: after tiva_gpiowrite()"); break; } } diff --git a/configs/efm32-g8xx-stk/src/efm32_autoleds.c b/configs/efm32-g8xx-stk/src/efm32_autoleds.c index 2af8a5562b..0f7c5f1e36 100644 --- a/configs/efm32-g8xx-stk/src/efm32_autoleds.c +++ b/configs/efm32-g8xx-stk/src/efm32_autoleds.c @@ -239,10 +239,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } diff --git a/configs/efm32-g8xx-stk/src/efm32_userleds.c b/configs/efm32-g8xx-stk/src/efm32_userleds.c index 164e74a039..201e564ff5 100644 --- a/configs/efm32-g8xx-stk/src/efm32_userleds.c +++ b/configs/efm32-g8xx-stk/src/efm32_userleds.c @@ -237,7 +237,7 @@ void efm32_led_pminitialize(void) int ret = pm_register(&g_ledscb); if (ret != OK) { - board_led_on(LED_ASSERTION); + board_autoled_on(LED_ASSERTION); } } #endif /* CONFIG_PM */ diff --git a/configs/efm32gg-stk3700/src/efm32_autoleds.c b/configs/efm32gg-stk3700/src/efm32_autoleds.c index 455b304fcd..790aee8ca7 100644 --- a/configs/efm32gg-stk3700/src/efm32_autoleds.c +++ b/configs/efm32gg-stk3700/src/efm32_autoleds.c @@ -130,10 +130,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool led0on = false; /* High illuminates */ bool led1on = false; /* High illuminates */ diff --git a/configs/ekk-lm3s9b96/src/lm_leds.c b/configs/ekk-lm3s9b96/src/lm_leds.c index 7ea161c8c0..a9387cf6e5 100644 --- a/configs/ekk-lm3s9b96/src/lm_leds.c +++ b/configs/ekk-lm3s9b96/src/lm_leds.c @@ -108,10 +108,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { @@ -127,9 +127,9 @@ void board_led_on(int led) g_nest++; case LED_IRQSENABLED: case LED_STACKCREATED: - led_dumpgpio("board_led_on: before tiva_gpiowrite()"); + led_dumpgpio("board_autoled_on: before tiva_gpiowrite()"); tiva_gpiowrite(LED_GPIO, false); - led_dumpgpio("board_led_on: after tiva_gpiowrite()"); + led_dumpgpio("board_autoled_on: after tiva_gpiowrite()"); break; } } diff --git a/configs/ez80f910200kitg/src/ez80_leds.c b/configs/ez80f910200kitg/src/ez80_leds.c index 3a963587d8..b1483a9978 100644 --- a/configs/ez80f910200kitg/src/ez80_leds.c +++ b/configs/ez80f910200kitg/src/ez80_leds.c @@ -74,10 +74,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { } diff --git a/configs/ez80f910200zco/src/ez80_leds.c b/configs/ez80f910200zco/src/ez80_leds.c index 25a8db97a0..00281e5ad8 100644 --- a/configs/ez80f910200zco/src/ez80_leds.c +++ b/configs/ez80f910200zco/src/ez80_leds.c @@ -227,10 +227,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { FAR const uint8_t *tmp = g_currglyph; switch (led) diff --git a/configs/fire-stm32v2/src/stm32_autoleds.c b/configs/fire-stm32v2/src/stm32_autoleds.c index 8d70d2f990..343a81270d 100644 --- a/configs/fire-stm32v2/src/stm32_autoleds.c +++ b/configs/fire-stm32v2/src/stm32_autoleds.c @@ -349,10 +349,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } @@ -378,7 +378,7 @@ void up_ledpminitialize(void) int ret = pm_register(&g_ledscb); if (ret != OK) { - board_led_on(LED_ASSERTION); + board_autoled_on(LED_ASSERTION); } } #endif /* CONFIG_PM */ diff --git a/configs/freedom-kl25z/src/kl_led.c b/configs/freedom-kl25z/src/kl_led.c index 93228ea9dd..1397bd44b9 100644 --- a/configs/freedom-kl25z/src/kl_led.c +++ b/configs/freedom-kl25z/src/kl_led.c @@ -133,10 +133,10 @@ void kl_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if (led == LED_STACKCREATED) { diff --git a/configs/freedom-kl26z/src/kl_led.c b/configs/freedom-kl26z/src/kl_led.c index 9df780c828..72574219bc 100644 --- a/configs/freedom-kl26z/src/kl_led.c +++ b/configs/freedom-kl26z/src/kl_led.c @@ -133,10 +133,10 @@ void kl_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if (led == LED_STACKCREATED) { diff --git a/configs/hymini-stm32v/src/stm32_leds.c b/configs/hymini-stm32v/src/stm32_leds.c index cc5f906d2c..11e837c4ba 100644 --- a/configs/hymini-stm32v/src/stm32_leds.c +++ b/configs/hymini-stm32v/src/stm32_leds.c @@ -219,10 +219,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } diff --git a/configs/kwikstik-k40/src/k40_leds.c b/configs/kwikstik-k40/src/k40_leds.c index e31b6da5da..0026863d70 100644 --- a/configs/kwikstik-k40/src/k40_leds.c +++ b/configs/kwikstik-k40/src/k40_leds.c @@ -86,10 +86,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { /* The KwikStik-K40 board has no MCU driven, GPIO-based LEDs */ } diff --git a/configs/lincoln60/src/lpc17_leds.c b/configs/lincoln60/src/lpc17_leds.c index a44862f7e8..d30babb158 100644 --- a/configs/lincoln60/src/lpc17_leds.c +++ b/configs/lincoln60/src/lpc17_leds.c @@ -134,10 +134,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { /* We will control LED1 and LED2 not yet completed the boot sequence. */ diff --git a/configs/lm3s6432-s2e/src/lm_leds.c b/configs/lm3s6432-s2e/src/lm_leds.c index e56930d4e0..7a8d0fcb24 100644 --- a/configs/lm3s6432-s2e/src/lm_leds.c +++ b/configs/lm3s6432-s2e/src/lm_leds.c @@ -108,10 +108,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { @@ -127,9 +127,9 @@ void board_led_on(int led) g_nest++; case LED_IRQSENABLED: case LED_STACKCREATED: - led_dumpgpio("board_led_on: before tiva_gpiowrite()"); + led_dumpgpio("board_autoled_on: before tiva_gpiowrite()"); tiva_gpiowrite(LED1_GPIO, false); - led_dumpgpio("board_led_on: after tiva_gpiowrite()"); + led_dumpgpio("board_autoled_on: after tiva_gpiowrite()"); break; } } diff --git a/configs/lm3s6965-ek/src/lm_leds.c b/configs/lm3s6965-ek/src/lm_leds.c index 479f1cbd19..2b944a0dea 100644 --- a/configs/lm3s6965-ek/src/lm_leds.c +++ b/configs/lm3s6965-ek/src/lm_leds.c @@ -107,10 +107,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { @@ -126,9 +126,9 @@ void board_led_on(int led) g_nest++; case LED_IRQSENABLED: case LED_STACKCREATED: - led_dumpgpio("board_led_on: before tiva_gpiowrite()"); + led_dumpgpio("board_autoled_on: before tiva_gpiowrite()"); tiva_gpiowrite(LED_GPIO, false); - led_dumpgpio("board_led_on: after tiva_gpiowrite()"); + led_dumpgpio("board_autoled_on: after tiva_gpiowrite()"); break; } } diff --git a/configs/lm3s8962-ek/src/lm_leds.c b/configs/lm3s8962-ek/src/lm_leds.c index fbde6cbb46..732e423fcf 100644 --- a/configs/lm3s8962-ek/src/lm_leds.c +++ b/configs/lm3s8962-ek/src/lm_leds.c @@ -107,10 +107,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { @@ -126,9 +126,9 @@ void board_led_on(int led) g_nest++; case LED_IRQSENABLED: case LED_STACKCREATED: - led_dumpgpio("board_led_on: before tiva_gpiowrite()"); + led_dumpgpio("board_autoled_on: before tiva_gpiowrite()"); tiva_gpiowrite(LED_GPIO, false); - led_dumpgpio("board_led_on: after tiva_gpiowrite()"); + led_dumpgpio("board_autoled_on: after tiva_gpiowrite()"); break; } } diff --git a/configs/lm4f120-launchpad/src/lm4f_autoleds.c b/configs/lm4f120-launchpad/src/lm4f_autoleds.c index a352c72258..9e285ae020 100644 --- a/configs/lm4f120-launchpad/src/lm4f_autoleds.c +++ b/configs/lm4f120-launchpad/src/lm4f_autoleds.c @@ -152,10 +152,10 @@ void lm4f_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/lpc4330-xplorer/src/lpc43_autoleds.c b/configs/lpc4330-xplorer/src/lpc43_autoleds.c index ce62f97cb7..1a70c87ae3 100644 --- a/configs/lpc4330-xplorer/src/lpc43_autoleds.c +++ b/configs/lpc4330-xplorer/src/lpc43_autoleds.c @@ -157,10 +157,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/lpc4357-evb/src/lpc43_autoleds.c b/configs/lpc4357-evb/src/lpc43_autoleds.c index 713fbdb45f..9f18435f56 100644 --- a/configs/lpc4357-evb/src/lpc43_autoleds.c +++ b/configs/lpc4357-evb/src/lpc43_autoleds.c @@ -151,10 +151,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool ledon = true; /* OFF. Low illuminates */ diff --git a/configs/lpc4370-link2/src/lpc43_autoleds.c b/configs/lpc4370-link2/src/lpc43_autoleds.c index 04d8249406..75c069e68e 100644 --- a/configs/lpc4370-link2/src/lpc43_autoleds.c +++ b/configs/lpc4370-link2/src/lpc43_autoleds.c @@ -123,10 +123,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool ledon = true; /* OFF. Low illuminates */ diff --git a/configs/lpcxpresso-lpc1115/src/lpc11_leds.c b/configs/lpcxpresso-lpc1115/src/lpc11_leds.c index aa05f36712..219da8eb0e 100644 --- a/configs/lpcxpresso-lpc1115/src/lpc11_leds.c +++ b/configs/lpcxpresso-lpc1115/src/lpc11_leds.c @@ -99,10 +99,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool off; diff --git a/configs/lpcxpresso-lpc1768/src/lpc17_leds.c b/configs/lpcxpresso-lpc1768/src/lpc17_leds.c index b83fa10446..6d5e5b1545 100644 --- a/configs/lpcxpresso-lpc1768/src/lpc17_leds.c +++ b/configs/lpcxpresso-lpc1768/src/lpc17_leds.c @@ -99,10 +99,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool off; diff --git a/configs/maple/src/stm32_leds.c b/configs/maple/src/stm32_leds.c index 93f6b69e9f..b5bd4e2e96 100644 --- a/configs/maple/src/stm32_leds.c +++ b/configs/maple/src/stm32_leds.c @@ -100,12 +100,12 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { - ledvdbg("board_led_on(%d)\n", led); + ledvdbg("board_autoled_on(%d)\n", led); switch (led) { case LED_STARTED: diff --git a/configs/mbed/src/lpc17_leds.c b/configs/mbed/src/lpc17_leds.c index f270ba352f..21c2bc0d77 100644 --- a/configs/mbed/src/lpc17_leds.c +++ b/configs/mbed/src/lpc17_leds.c @@ -137,10 +137,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { /* We will control LED1 and LED2 not yet completed the boot sequence. */ diff --git a/configs/mcu123-lpc214x/src/lpc2148_leds.c b/configs/mcu123-lpc214x/src/lpc2148_leds.c index e5b163db94..2cf3a4e08f 100644 --- a/configs/mcu123-lpc214x/src/lpc2148_leds.c +++ b/configs/mcu123-lpc214x/src/lpc2148_leds.c @@ -97,10 +97,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { putled(LEDBIT(led),LED_CLR_OFFSET); } diff --git a/configs/mikroe-stm32f4/src/stm32_idle.c b/configs/mikroe-stm32f4/src/stm32_idle.c index 8c8f6f34f0..7c742dc825 100644 --- a/configs/mikroe-stm32f4/src/stm32_idle.c +++ b/configs/mikroe-stm32f4/src/stm32_idle.c @@ -67,7 +67,7 @@ */ #if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE) -# define BEGIN_IDLE() board_led_on(LED_IDLE) +# define BEGIN_IDLE() board_autoled_on(LED_IDLE) # define END_IDLE() board_led_off(LED_IDLE) #else # define BEGIN_IDLE() diff --git a/configs/mirtoo/src/pic32_leds.c b/configs/mirtoo/src/pic32_leds.c index 8e1f503c32..bf2f6772b6 100644 --- a/configs/mirtoo/src/pic32_leds.c +++ b/configs/mirtoo/src/pic32_leds.c @@ -230,11 +230,11 @@ void pic32mx_setleds(uint8_t ledset) #endif /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void board_led_on(int led) +void board_autoled_on(int led) { if ((unsigned)led < LED_NVALUES) { diff --git a/configs/moteino-mega/src/avr_leds.c b/configs/moteino-mega/src/avr_leds.c index bcebcea322..e4770f49e0 100644 --- a/configs/moteino-mega/src/avr_leds.c +++ b/configs/moteino-mega/src/avr_leds.c @@ -105,10 +105,10 @@ void atmega_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { /* ON OFF * LED_STARTED 0 OFF ON (never happens) diff --git a/configs/mx1ads/src/mx1_leds.c b/configs/mx1ads/src/mx1_leds.c index 4c4d463e75..fea5513931 100644 --- a/configs/mx1ads/src/mx1_leds.c +++ b/configs/mx1ads/src/mx1_leds.c @@ -71,10 +71,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/ne64badge/src/m9s12_leds.c b/configs/ne64badge/src/m9s12_leds.c index 3866879f48..2da29e0a59 100644 --- a/configs/ne64badge/src/m9s12_leds.c +++ b/configs/ne64badge/src/m9s12_leds.c @@ -109,10 +109,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/ntosd-dm320/src/dm320_leds.c b/configs/ntosd-dm320/src/dm320_leds.c index 347d82ccd9..d0edb299ec 100644 --- a/configs/ntosd-dm320/src/dm320_leds.c +++ b/configs/ntosd-dm320/src/dm320_leds.c @@ -73,10 +73,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if (led == GIO_LED_GREEN) { diff --git a/configs/nucleo-f303re/src/stm32_autoleds.c b/configs/nucleo-f303re/src/stm32_autoleds.c index b8ce84b14b..81bbd18f04 100644 --- a/configs/nucleo-f303re/src/stm32_autoleds.c +++ b/configs/nucleo-f303re/src/stm32_autoleds.c @@ -97,10 +97,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if (led == BOARD_LED1) { diff --git a/configs/nucleo-f4x1re/src/stm32_autoleds.c b/configs/nucleo-f4x1re/src/stm32_autoleds.c index 94f8529f13..08d5b87b7d 100644 --- a/configs/nucleo-f4x1re/src/stm32_autoleds.c +++ b/configs/nucleo-f4x1re/src/stm32_autoleds.c @@ -94,10 +94,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if (led == 1) { diff --git a/configs/nucleus2g/src/lpc17_leds.c b/configs/nucleus2g/src/lpc17_leds.c index 58f9f26f0e..36f06523c4 100644 --- a/configs/nucleus2g/src/lpc17_leds.c +++ b/configs/nucleus2g/src/lpc17_leds.c @@ -138,10 +138,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { /* We will control LED1 and LED2 not yet completed the boot sequence. */ diff --git a/configs/nutiny-nuc120/src/nuc_led.c b/configs/nutiny-nuc120/src/nuc_led.c index 70c8ff238a..4d921d9d5e 100644 --- a/configs/nutiny-nuc120/src/nuc_led.c +++ b/configs/nutiny-nuc120/src/nuc_led.c @@ -128,10 +128,10 @@ void nuc_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { nuc_gpiowrite(GPIO_LED, false); } diff --git a/configs/olimex-lpc-h3131/src/lpc31_leds.c b/configs/olimex-lpc-h3131/src/lpc31_leds.c index da94676a2c..f9d7b1b458 100644 --- a/configs/olimex-lpc-h3131/src/lpc31_leds.c +++ b/configs/olimex-lpc-h3131/src/lpc31_leds.c @@ -98,7 +98,7 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on * * Description: * Select the "logical" ON state: @@ -119,7 +119,7 @@ void board_autoled_initialize(void) ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/olimex-lpc1766stk/src/lpc17_leds.c b/configs/olimex-lpc1766stk/src/lpc17_leds.c index 75f5cf0bf2..d3e36063ee 100644 --- a/configs/olimex-lpc1766stk/src/lpc17_leds.c +++ b/configs/olimex-lpc1766stk/src/lpc17_leds.c @@ -149,11 +149,11 @@ void lpc17_setleds(uint8_t ledset) #endif /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/olimex-lpc2378/src/lpc2378_leds.c b/configs/olimex-lpc2378/src/lpc2378_leds.c index a52a5006c6..233606d744 100644 --- a/configs/olimex-lpc2378/src/lpc2378_leds.c +++ b/configs/olimex-lpc2378/src/lpc2378_leds.c @@ -97,10 +97,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { putled8(~(LEDBIT(led)), LED_MASK_OFFSET); putled8(LEDBIT(led), LED_SET_OFFSET); diff --git a/configs/olimex-stm32-h405/src/stm32_autoleds.c b/configs/olimex-stm32-h405/src/stm32_autoleds.c index 5acc019ddb..8802b8600f 100644 --- a/configs/olimex-stm32-h405/src/stm32_autoleds.c +++ b/configs/olimex-stm32-h405/src/stm32_autoleds.c @@ -91,10 +91,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if(led == LED_STARTED) stm32_gpiowrite(GPIO_LED_STATUS, true); diff --git a/configs/olimex-stm32-p207/src/stm32_autoleds.c b/configs/olimex-stm32-p207/src/stm32_autoleds.c index 71cd88dc6f..c12fbd6559 100644 --- a/configs/olimex-stm32-p207/src/stm32_autoleds.c +++ b/configs/olimex-stm32-p207/src/stm32_autoleds.c @@ -163,10 +163,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_clrbits(BOARD_LED1_BIT | BOARD_LED2_BIT | BOARD_LED3_BIT | BOARD_LED4_BIT); led_setbits(g_ledbits[led]); diff --git a/configs/olimex-strp711/src/str71_leds.c b/configs/olimex-strp711/src/str71_leds.c index 3934a0c7b4..f0750f22a7 100644 --- a/configs/olimex-strp711/src/str71_leds.c +++ b/configs/olimex-strp711/src/str71_leds.c @@ -129,10 +129,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { /* The Olimex board has only two LEDs, so following states are faked as * follows diff --git a/configs/olimexino-stm32/src/stm32_leds.c b/configs/olimexino-stm32/src/stm32_leds.c index 8e17eb6a28..ccf49389a3 100644 --- a/configs/olimexino-stm32/src/stm32_leds.c +++ b/configs/olimexino-stm32/src/stm32_leds.c @@ -143,11 +143,11 @@ void stm32_setleds(uint8_t ledset) #endif /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/open1788/src/lpc17_autoleds.c b/configs/open1788/src/lpc17_autoleds.c index 3e10b72bd8..58c7fb627f 100644 --- a/configs/open1788/src/lpc17_autoleds.c +++ b/configs/open1788/src/lpc17_autoleds.c @@ -262,10 +262,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } diff --git a/configs/pcduino-a10/src/a1x_leds.c b/configs/pcduino-a10/src/a1x_leds.c index 1e213dfd98..9ea85f075c 100644 --- a/configs/pcduino-a10/src/a1x_leds.c +++ b/configs/pcduino-a10/src/a1x_leds.c @@ -130,7 +130,7 @@ void a1x_led_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on * * Description: * Select the "logical" ON state: @@ -154,7 +154,7 @@ void a1x_led_initialize(void) ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/pic32mx-starterkit/src/pic32mx_leds.c b/configs/pic32mx-starterkit/src/pic32mx_leds.c index 3f6ee66911..452a5c872f 100644 --- a/configs/pic32mx-starterkit/src/pic32mx_leds.c +++ b/configs/pic32mx-starterkit/src/pic32mx_leds.c @@ -238,11 +238,11 @@ void pic32mx_setleds(uint8_t ledset) #endif /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void board_led_on(int led) +void board_autoled_on(int led) { if ((unsigned)led < LED_NVALUES) { diff --git a/configs/pic32mx7mmb/src/pic32_leds.c b/configs/pic32mx7mmb/src/pic32_leds.c index 4237a50d31..10a27a5f88 100644 --- a/configs/pic32mx7mmb/src/pic32_leds.c +++ b/configs/pic32mx7mmb/src/pic32_leds.c @@ -247,11 +247,11 @@ void pic32mx_setleds(uint8_t ledset) #endif /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void board_led_on(int led) +void board_autoled_on(int led) { if ((unsigned)led < LED_NVALUES) { diff --git a/configs/pic32mz-starterkit/src/pic32mz_autoleds.c b/configs/pic32mz-starterkit/src/pic32mz_autoleds.c index d6edb10c23..079e919dd4 100644 --- a/configs/pic32mz-starterkit/src/pic32mz_autoleds.c +++ b/configs/pic32mz-starterkit/src/pic32mz_autoleds.c @@ -190,10 +190,10 @@ void pic32mz_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if ((unsigned)led < LED_NVALUES) { diff --git a/configs/sam3u-ek/src/sam_leds.c b/configs/sam3u-ek/src/sam_leds.c index a3d576dca4..9df75e205c 100644 --- a/configs/sam3u-ek/src/sam_leds.c +++ b/configs/sam3u-ek/src/sam_leds.c @@ -174,10 +174,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { up_setleds(g_ledon[led & 7]); } diff --git a/configs/sam4e-ek/src/sam_leds.c b/configs/sam4e-ek/src/sam_leds.c index 3c9b1b2e83..0f6df412b8 100644 --- a/configs/sam4e-ek/src/sam_leds.c +++ b/configs/sam4e-ek/src/sam_leds.c @@ -196,10 +196,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { sam_setleds(g_ledon[led & 7]); } diff --git a/configs/sam4l-xplained/src/sam_autoleds.c b/configs/sam4l-xplained/src/sam_autoleds.c index 9e36013ca5..aef05c854d 100644 --- a/configs/sam4l-xplained/src/sam_autoleds.c +++ b/configs/sam4l-xplained/src/sam_autoleds.c @@ -115,10 +115,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool ledstate = true; diff --git a/configs/sam4s-xplained-pro/src/sam_autoleds.c b/configs/sam4s-xplained-pro/src/sam_autoleds.c index 216afbe3f9..2fbaeb098f 100644 --- a/configs/sam4s-xplained-pro/src/sam_autoleds.c +++ b/configs/sam4s-xplained-pro/src/sam_autoleds.c @@ -110,10 +110,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/sam4s-xplained/src/sam_autoleds.c b/configs/sam4s-xplained/src/sam_autoleds.c index e3a49e074b..fda10aad6f 100644 --- a/configs/sam4s-xplained/src/sam_autoleds.c +++ b/configs/sam4s-xplained/src/sam_autoleds.c @@ -110,10 +110,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool led1on = false; bool led2on = false; diff --git a/configs/sama5d2-xult/src/sam_autoleds.c b/configs/sama5d2-xult/src/sam_autoleds.c index ce4f41af3f..57510fbc47 100644 --- a/configs/sama5d2-xult/src/sam_autoleds.c +++ b/configs/sama5d2-xult/src/sam_autoleds.c @@ -125,10 +125,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/sama5d3-xplained/src/sam_autoleds.c b/configs/sama5d3-xplained/src/sam_autoleds.c index 32f0d16f57..ce889b327d 100644 --- a/configs/sama5d3-xplained/src/sam_autoleds.c +++ b/configs/sama5d3-xplained/src/sam_autoleds.c @@ -128,10 +128,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool blueoff = true; /* Low illuminates */ bool redon = false; /* High illuminates */ diff --git a/configs/sama5d3x-ek/src/sam_autoleds.c b/configs/sama5d3x-ek/src/sam_autoleds.c index 976cc6932d..08c4418fc6 100644 --- a/configs/sama5d3x-ek/src/sam_autoleds.c +++ b/configs/sama5d3x-ek/src/sam_autoleds.c @@ -130,10 +130,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool blueoff = true; /* Low illuminates */ #ifndef CONFIG_SAMA5D3xEK_NOREDLED diff --git a/configs/sama5d4-ek/src/sam_autoleds.c b/configs/sama5d4-ek/src/sam_autoleds.c index 96a6fea979..508facb7bc 100644 --- a/configs/sama5d4-ek/src/sam_autoleds.c +++ b/configs/sama5d4-ek/src/sam_autoleds.c @@ -133,10 +133,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/samd20-xplained/src/sam_autoleds.c b/configs/samd20-xplained/src/sam_autoleds.c index d375a46dc7..134e4a2a91 100644 --- a/configs/samd20-xplained/src/sam_autoleds.c +++ b/configs/samd20-xplained/src/sam_autoleds.c @@ -115,10 +115,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool ledstate = true; diff --git a/configs/samd21-xplained/src/sam_autoleds.c b/configs/samd21-xplained/src/sam_autoleds.c index dd03344246..ee3d10f41d 100644 --- a/configs/samd21-xplained/src/sam_autoleds.c +++ b/configs/samd21-xplained/src/sam_autoleds.c @@ -115,10 +115,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool ledstate = true; diff --git a/configs/saml21-xplained/src/sam_autoleds.c b/configs/saml21-xplained/src/sam_autoleds.c index e98ff7ab4c..96f5c9b714 100644 --- a/configs/saml21-xplained/src/sam_autoleds.c +++ b/configs/saml21-xplained/src/sam_autoleds.c @@ -115,10 +115,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool ledstate = true; diff --git a/configs/samv71-xult/src/sam_autoleds.c b/configs/samv71-xult/src/sam_autoleds.c index b5fe5ff8f1..a83db8a026 100644 --- a/configs/samv71-xult/src/sam_autoleds.c +++ b/configs/samv71-xult/src/sam_autoleds.c @@ -134,10 +134,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/shenzhou/src/stm32_autoleds.c b/configs/shenzhou/src/stm32_autoleds.c index 98af2f13d8..5735cc8372 100644 --- a/configs/shenzhou/src/stm32_autoleds.c +++ b/configs/shenzhou/src/stm32_autoleds.c @@ -366,10 +366,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } @@ -395,7 +395,7 @@ void up_ledpminitialize(void) int ret = pm_register(&g_ledscb); if (ret != OK) { - board_led_on(LED_ASSERTION); + board_autoled_on(LED_ASSERTION); } } #endif /* CONFIG_PM */ diff --git a/configs/skp16c26/src/m16c_leds.c b/configs/skp16c26/src/m16c_leds.c index 7a3d22151a..5b66cb996d 100644 --- a/configs/skp16c26/src/m16c_leds.c +++ b/configs/skp16c26/src/m16c_leds.c @@ -160,10 +160,10 @@ void board_autoled_initialize(void) } /************************************************************************************ - * Name: board_led_on + * Name: board_autoled_on ************************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { uint8_t ledset; diff --git a/configs/spark/src/stm32_autoleds.c b/configs/spark/src/stm32_autoleds.c index 7d46470110..090e2ff8fd 100644 --- a/configs/spark/src/stm32_autoleds.c +++ b/configs/spark/src/stm32_autoleds.c @@ -279,10 +279,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } diff --git a/configs/stm3210e-eval/src/stm32_idle.c b/configs/stm3210e-eval/src/stm32_idle.c index 40740052e1..00de07919c 100644 --- a/configs/stm3210e-eval/src/stm32_idle.c +++ b/configs/stm3210e-eval/src/stm32_idle.c @@ -68,7 +68,7 @@ */ #if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE) -# define BEGIN_IDLE() board_led_on(LED_IDLE) +# define BEGIN_IDLE() board_autoled_on(LED_IDLE) # define END_IDLE() board_led_off(LED_IDLE) #else # define BEGIN_IDLE() diff --git a/configs/stm3210e-eval/src/stm32_leds.c b/configs/stm3210e-eval/src/stm32_leds.c index 833b0cc4f7..f9c86fc9da 100644 --- a/configs/stm3210e-eval/src/stm32_leds.c +++ b/configs/stm3210e-eval/src/stm32_leds.c @@ -362,10 +362,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } @@ -391,7 +391,7 @@ void stm32_ledpminitialize(void) int ret = pm_register(&g_ledscb); if (ret != OK) { - board_led_on(LED_ASSERTION); + board_autoled_on(LED_ASSERTION); } } #endif /* CONFIG_PM */ diff --git a/configs/stm3220g-eval/src/stm32_autoleds.c b/configs/stm3220g-eval/src/stm32_autoleds.c index d38d401f50..277b45299b 100644 --- a/configs/stm3220g-eval/src/stm32_autoleds.c +++ b/configs/stm3220g-eval/src/stm32_autoleds.c @@ -238,10 +238,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } diff --git a/configs/stm3240g-eval/src/stm32_autoleds.c b/configs/stm3240g-eval/src/stm32_autoleds.c index 8ca3c8e85b..ac42659a1a 100644 --- a/configs/stm3240g-eval/src/stm32_autoleds.c +++ b/configs/stm3240g-eval/src/stm32_autoleds.c @@ -238,10 +238,10 @@ void stm32_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } diff --git a/configs/stm32_tiny/src/stm32_leds.c b/configs/stm32_tiny/src/stm32_leds.c index d17853e0c9..29a1206963 100644 --- a/configs/stm32_tiny/src/stm32_leds.c +++ b/configs/stm32_tiny/src/stm32_leds.c @@ -98,12 +98,12 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { - ledvdbg("board_led_on(%d)\n",led); + ledvdbg("board_autoled_on(%d)\n",led); switch (led) { case LED_STARTED: diff --git a/configs/stm32f3discovery/src/stm32_autoleds.c b/configs/stm32f3discovery/src/stm32_autoleds.c index d07f1fe661..8f92e77ea8 100644 --- a/configs/stm32f3discovery/src/stm32_autoleds.c +++ b/configs/stm32f3discovery/src/stm32_autoleds.c @@ -85,10 +85,10 @@ static const uint32_t g_ledcfg[BOARD_NLEDS] = ****************************************************************************/ /**************************************************************************** - * Name: board_led_onoff + * Name: board_autoled_onoff ****************************************************************************/ -void board_led_onoff(int led, bool state) +void board_autoled_onoff(int led, bool state) { if ((unsigned)led < BOARD_NLEDS) { @@ -117,12 +117,12 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { - board_led_onoff(led, true); + board_autoled_onoff(led, true); } /**************************************************************************** @@ -131,7 +131,7 @@ void board_led_on(int led) void board_led_off(int led) { - board_led_onoff(led, false); + board_autoled_onoff(led, false); } #endif /* CONFIG_ARCH_LEDS */ diff --git a/configs/stm32f429i-disco/src/stm32_autoleds.c b/configs/stm32f429i-disco/src/stm32_autoleds.c index c60c958a7f..0e87719160 100644 --- a/configs/stm32f429i-disco/src/stm32_autoleds.c +++ b/configs/stm32f429i-disco/src/stm32_autoleds.c @@ -216,10 +216,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } diff --git a/configs/stm32f429i-disco/src/stm32_idle.c b/configs/stm32f429i-disco/src/stm32_idle.c index b7bfd5cf07..957de2ae61 100644 --- a/configs/stm32f429i-disco/src/stm32_idle.c +++ b/configs/stm32f429i-disco/src/stm32_idle.c @@ -67,7 +67,7 @@ */ #if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE) -# define BEGIN_IDLE() board_led_on(LED_IDLE) +# define BEGIN_IDLE() board_autoled_on(LED_IDLE) # define END_IDLE() board_led_off(LED_IDLE) #else # define BEGIN_IDLE() diff --git a/configs/stm32f429i-disco/src/stm32_userleds.c b/configs/stm32f429i-disco/src/stm32_userleds.c index b0fd19cb2f..334fb64f0d 100644 --- a/configs/stm32f429i-disco/src/stm32_userleds.c +++ b/configs/stm32f429i-disco/src/stm32_userleds.c @@ -233,7 +233,7 @@ void stm32_ledpminitialize(void) int ret = pm_register(&g_ledscb); if (ret != OK) { - board_led_on(LED_ASSERTION); + board_autoled_on(LED_ASSERTION); } } #endif /* CONFIG_PM */ diff --git a/configs/stm32f4discovery/src/stm32_autoleds.c b/configs/stm32f4discovery/src/stm32_autoleds.c index aa7bb59a3e..28fe450a39 100644 --- a/configs/stm32f4discovery/src/stm32_autoleds.c +++ b/configs/stm32f4discovery/src/stm32_autoleds.c @@ -238,10 +238,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } diff --git a/configs/stm32f4discovery/src/stm32_idle.c b/configs/stm32f4discovery/src/stm32_idle.c index 3b7de2b0e9..6b586be203 100644 --- a/configs/stm32f4discovery/src/stm32_idle.c +++ b/configs/stm32f4discovery/src/stm32_idle.c @@ -67,7 +67,7 @@ */ #if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE) -# define BEGIN_IDLE() board_led_on(LED_IDLE) +# define BEGIN_IDLE() board_autoled_on(LED_IDLE) # define END_IDLE() board_led_off(LED_IDLE) #else # define BEGIN_IDLE() diff --git a/configs/stm32f4discovery/src/stm32_userleds.c b/configs/stm32f4discovery/src/stm32_userleds.c index ea01ddedbc..5be244b2fa 100644 --- a/configs/stm32f4discovery/src/stm32_userleds.c +++ b/configs/stm32f4discovery/src/stm32_userleds.c @@ -238,7 +238,7 @@ void stm32_led_pminitialize(void) int ret = pm_register(&g_ledscb); if (ret != OK) { - board_led_on(LED_ASSERTION); + board_autoled_on(LED_ASSERTION); } } #endif /* CONFIG_PM */ diff --git a/configs/stm32f746g-disco/src/stm32_autoleds.c b/configs/stm32f746g-disco/src/stm32_autoleds.c index 416236bd45..7d98c7d300 100644 --- a/configs/stm32f746g-disco/src/stm32_autoleds.c +++ b/configs/stm32f746g-disco/src/stm32_autoleds.c @@ -81,10 +81,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool ledstate = false; diff --git a/configs/stm32ldiscovery/src/stm32_autoleds.c b/configs/stm32ldiscovery/src/stm32_autoleds.c index 2b48c7e965..53bbdebe34 100644 --- a/configs/stm32ldiscovery/src/stm32_autoleds.c +++ b/configs/stm32ldiscovery/src/stm32_autoleds.c @@ -110,10 +110,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { bool led1on = false; bool led2on = false; diff --git a/configs/stm32vldiscovery/src/stm32_leds.c b/configs/stm32vldiscovery/src/stm32_leds.c index 1c6c37733a..c748e2c1e2 100644 --- a/configs/stm32vldiscovery/src/stm32_leds.c +++ b/configs/stm32vldiscovery/src/stm32_leds.c @@ -85,10 +85,10 @@ void stm32_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if (led == 1) { diff --git a/configs/sure-pic32mx/src/pic32mx_autoleds.c b/configs/sure-pic32mx/src/pic32mx_autoleds.c index 38e3052d10..83ab19d26c 100644 --- a/configs/sure-pic32mx/src/pic32mx_autoleds.c +++ b/configs/sure-pic32mx/src/pic32mx_autoleds.c @@ -188,10 +188,10 @@ void pic32mx_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if (led < LED_NVALUES) { diff --git a/configs/teensy-2.0/src/at90usb_leds.c b/configs/teensy-2.0/src/at90usb_leds.c index e7721b9a6a..a255dc7444 100644 --- a/configs/teensy-2.0/src/at90usb_leds.c +++ b/configs/teensy-2.0/src/at90usb_leds.c @@ -105,10 +105,10 @@ void at90usb_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { /* ON OFF * LED_STARTED 0 OFF ON (never happens) diff --git a/configs/teensy-3.x/src/k20_autoleds.c b/configs/teensy-3.x/src/k20_autoleds.c index 4db3f9277e..995a64a937 100644 --- a/configs/teensy-3.x/src/k20_autoleds.c +++ b/configs/teensy-3.x/src/k20_autoleds.c @@ -78,10 +78,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if (led != 2) { diff --git a/configs/teensy-lc/src/kl_led.c b/configs/teensy-lc/src/kl_led.c index 65140a11b5..4fbf000895 100644 --- a/configs/teensy-lc/src/kl_led.c +++ b/configs/teensy-lc/src/kl_led.c @@ -98,10 +98,10 @@ void kl_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if (led != 0) { diff --git a/configs/tm4c123g-launchpad/src/tm4c_autoleds.c b/configs/tm4c123g-launchpad/src/tm4c_autoleds.c index 9655e5077e..88005431df 100644 --- a/configs/tm4c123g-launchpad/src/tm4c_autoleds.c +++ b/configs/tm4c123g-launchpad/src/tm4c_autoleds.c @@ -152,10 +152,10 @@ void tm4c_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/tm4c1294-launchpad/src/tm4c_autoleds.c b/configs/tm4c1294-launchpad/src/tm4c_autoleds.c index 251eec7f78..89428119d2 100644 --- a/configs/tm4c1294-launchpad/src/tm4c_autoleds.c +++ b/configs/tm4c1294-launchpad/src/tm4c_autoleds.c @@ -70,10 +70,10 @@ void tm4c_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { /* --------------- ------- ----- ----- ----- ----- ---------- * STATE VALUE LED1 LED2 LED3 LED4 diff --git a/configs/twr-k60n512/src/k60_leds.c b/configs/twr-k60n512/src/k60_leds.c index ea131f7a24..2639797a14 100644 --- a/configs/twr-k60n512/src/k60_leds.c +++ b/configs/twr-k60n512/src/k60_leds.c @@ -242,10 +242,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { led_setonoff(ON_BITS(g_ledbits[led])); } diff --git a/configs/ubw32/src/pic32_leds.c b/configs/ubw32/src/pic32_leds.c index fc81592e3c..81851e6a1b 100644 --- a/configs/ubw32/src/pic32_leds.c +++ b/configs/ubw32/src/pic32_leds.c @@ -238,11 +238,11 @@ void pic32mx_setleds(uint8_t ledset) #endif /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void board_led_on(int led) +void board_autoled_on(int led) { if ((unsigned)led < LED_NVALUES) { diff --git a/configs/us7032evb1/src/sh1_leds.c b/configs/us7032evb1/src/sh1_leds.c index 019c543481..f832408ce8 100644 --- a/configs/us7032evb1/src/sh1_leds.c +++ b/configs/us7032evb1/src/sh1_leds.c @@ -101,10 +101,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { uint16_t reg16; diff --git a/configs/viewtool-stm32f107/src/stm32_leds.c b/configs/viewtool-stm32f107/src/stm32_leds.c index d2ba290fa0..b7f4d9e24d 100644 --- a/configs/viewtool-stm32f107/src/stm32_leds.c +++ b/configs/viewtool-stm32f107/src/stm32_leds.c @@ -158,7 +158,7 @@ void stm32_ledinit(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on * * Description: * Select the "logical" ON state: @@ -179,7 +179,7 @@ void stm32_ledinit(void) ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -void board_led_on(int led) +void board_autoled_on(int led) { switch (led) { diff --git a/configs/vsn/src/leds.c b/configs/vsn/src/leds.c index 4c34a47e28..5f42b6dd31 100644 --- a/configs/vsn/src/leds.c +++ b/configs/vsn/src/leds.c @@ -85,7 +85,7 @@ void board_autoled_initialize(void) stm32_configgpio(GPIO_LED); } -void board_led_on(int led) +void board_autoled_on(int led) { if (led == LED_IDLE) { diff --git a/configs/z16f2800100zcog/src/z16f_leds.c b/configs/z16f2800100zcog/src/z16f_leds.c index 87b9396685..0ee3dd7579 100644 --- a/configs/z16f2800100zcog/src/z16f_leds.c +++ b/configs/z16f2800100zcog/src/z16f_leds.c @@ -82,10 +82,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if ((unsigned)led <= 7) { @@ -101,7 +101,7 @@ void board_led_off(int led) { if (led >= 1) { - board_led_on(led-1); + board_autoled_on(led-1); } } #endif /* CONFIG_ARCH_LEDS */ diff --git a/configs/z8encore000zco/src/z8_leds.c b/configs/z8encore000zco/src/z8_leds.c index 5488bf5657..83ee8bf0d2 100644 --- a/configs/z8encore000zco/src/z8_leds.c +++ b/configs/z8encore000zco/src/z8_leds.c @@ -222,10 +222,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { if ((unsigned)led <= 8) { @@ -241,7 +241,7 @@ void board_led_off(int led) { if (led >= 1) { - board_led_on(led-1); + board_autoled_on(led-1); } } #endif /* CONFIG_ARCH_LEDS */ diff --git a/configs/z8f64200100kit/src/z8_leds.c b/configs/z8f64200100kit/src/z8_leds.c index 24f91efebf..4956c42012 100644 --- a/configs/z8f64200100kit/src/z8_leds.c +++ b/configs/z8f64200100kit/src/z8_leds.c @@ -74,10 +74,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { } diff --git a/configs/zkit-arm-1769/src/lpc17_leds.c b/configs/zkit-arm-1769/src/lpc17_leds.c index 8bf4a97455..4b6b83e97f 100644 --- a/configs/zkit-arm-1769/src/lpc17_leds.c +++ b/configs/zkit-arm-1769/src/lpc17_leds.c @@ -128,10 +128,10 @@ void board_autoled_initialize(void) } /**************************************************************************** - * Name: board_led_on + * Name: board_autoled_on ****************************************************************************/ -void board_led_on(int led) +void board_autoled_on(int led) { /* We will control LED1 and LED2 not yet completed the boot sequence. */