This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 38fedd9  hw: bsp: frdm-k82f: update LED definitions
38fedd9 is described below

commit 38fedd9461466174d100539862aebc38c8000985
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Fri Aug 20 18:15:51 2021 -0300

    hw: bsp: frdm-k82f: update LED definitions
    
    Use standard LED_n nomenclature from color name based.
    
    Signed-off-by: Fabio Utzig <ut...@apache.org>
---
 hw/bsp/frdm-k82f/include/bsp/bsp.h | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/hw/bsp/frdm-k82f/include/bsp/bsp.h 
b/hw/bsp/frdm-k82f/include/bsp/bsp.h
index 27c6284..b6103be 100644
--- a/hw/bsp/frdm-k82f/include/bsp/bsp.h
+++ b/hw/bsp/frdm-k82f/include/bsp/bsp.h
@@ -30,10 +30,11 @@ extern uint8_t __DATA_ROM;
 #define RAM_SIZE            0x40000
 
 /* RBG LED pins */
-#define LED_RED_PIN         MCU_GPIO_PORTC(8)
-#define LED_GREEN_PIN       MCU_GPIO_PORTC(9)
-#define LED_BLUE_PIN        MCU_GPIO_PORTC(10)
-#define LED_BLINK_PIN       LED_RED_PIN
+#define LED_1               MCU_GPIO_PORTC(8)  /* RGB red */
+#define LED_2               MCU_GPIO_PORTC(9)  /* RGB green */
+#define LED_3               MCU_GPIO_PORTC(10) /* RGB blue */
+
+#define LED_BLINK_PIN       LED_1
 
 #ifdef __cplusplus
 }

Reply via email to