diff --git a/artemis/bsp/gcc/bin/libam_bsp.a b/artemis/bsp/gcc/bin/libam_bsp.a index abfa054..253e809 100644 Binary files a/artemis/bsp/gcc/bin/libam_bsp.a and b/artemis/bsp/gcc/bin/libam_bsp.a differ diff --git a/artemis_thing_plus/bsp/am_bsp.h b/artemis_thing_plus/bsp/am_bsp.h index a875c12..e13e9e1 100644 --- a/artemis_thing_plus/bsp/am_bsp.h +++ b/artemis_thing_plus/bsp/am_bsp.h @@ -118,6 +118,11 @@ extern am_devices_button_t am_bsp_psButtons[AM_BSP_NUM_BUTTONS]; #define AM_BSP_NUM_LEDS 1 extern am_devices_led_t am_bsp_psLEDs[AM_BSP_NUM_LEDS]; +// LED Device Array Indices +#define AM_BSP_LED0 0 +#define AM_BSP_LED_BLUE AM_BSP_LED0 + +// Corresponding GPIO Numbers #define AM_BSP_GPIO_LED AM_BSP_GPIO_LED_BLUE #define AM_BSP_GPIO_LED0 AM_BSP_GPIO_LED_BLUE #define AM_BSP_GPIO_LED18 AM_BSP_GPIO_LED_BLUE diff --git a/artemis_thing_plus/bsp/gcc/bin/libam_bsp.a b/artemis_thing_plus/bsp/gcc/bin/libam_bsp.a index bf97746..c90eda2 100644 Binary files a/artemis_thing_plus/bsp/gcc/bin/libam_bsp.a and b/artemis_thing_plus/bsp/gcc/bin/libam_bsp.a differ diff --git a/artmbed/bsp/gcc/bin/libam_bsp.a b/artmbed/bsp/gcc/bin/libam_bsp.a index 4daaf35..7bda28f 100644 Binary files a/artmbed/bsp/gcc/bin/libam_bsp.a and b/artmbed/bsp/gcc/bin/libam_bsp.a differ diff --git a/edge/bsp/am_bsp.h b/edge/bsp/am_bsp.h index db5730a..a70df29 100644 --- a/edge/bsp/am_bsp.h +++ b/edge/bsp/am_bsp.h @@ -132,6 +132,18 @@ extern am_devices_button_t am_bsp_psButtons[AM_BSP_NUM_BUTTONS]; #define AM_BSP_NUM_LEDS 4 extern am_devices_led_t am_bsp_psLEDs[AM_BSP_NUM_LEDS]; +// LED Device Array Indices +#define AM_BSP_LED0 0 +#define AM_BSP_LED1 1 +#define AM_BSP_LED2 2 +#define AM_BSP_LED3 3 + +#define AM_BSP_LED_RED AM_BSP_LED0 +#define AM_BSP_LED_BLUE AM_BSP_LED1 +#define AM_BSP_LED_GREEN AM_BSP_LED2 +#define AM_BSP_LED_YELLOW AM_BSP_LED3 + +// Corresponding GPIO Numbers #define AM_BSP_GPIO_LED0 AM_BSP_GPIO_LED_RED #define AM_BSP_GPIO_LED1 AM_BSP_GPIO_LED_BLUE #define AM_BSP_GPIO_LED2 AM_BSP_GPIO_LED_GREEN diff --git a/edge/bsp/gcc/bin/libam_bsp.a b/edge/bsp/gcc/bin/libam_bsp.a index 315570f..d753227 100644 Binary files a/edge/bsp/gcc/bin/libam_bsp.a and b/edge/bsp/gcc/bin/libam_bsp.a differ diff --git a/edge2/bsp/am_bsp.h b/edge2/bsp/am_bsp.h index c1117ff..973bc9b 100644 --- a/edge2/bsp/am_bsp.h +++ b/edge2/bsp/am_bsp.h @@ -139,6 +139,18 @@ extern "C" #define AM_BSP_NUM_LEDS 4 extern am_devices_led_t am_bsp_psLEDs[AM_BSP_NUM_LEDS]; +// LED Device Array Indices +#define AM_BSP_LED0 0 +#define AM_BSP_LED1 1 +#define AM_BSP_LED2 2 +#define AM_BSP_LED3 3 + +#define AM_BSP_LED_RED AM_BSP_LED0 +#define AM_BSP_LED_BLUE AM_BSP_LED1 +#define AM_BSP_LED_GREEN AM_BSP_LED2 +#define AM_BSP_LED_YELLOW AM_BSP_LED3 + +// Corresponding GPIO Numbers #define AM_BSP_GPIO_LED0 AM_BSP_GPIO_LED_RED #define AM_BSP_GPIO_LED1 AM_BSP_GPIO_LED_BLUE #define AM_BSP_GPIO_LED2 AM_BSP_GPIO_LED_GREEN diff --git a/edge2/bsp/gcc/bin/libam_bsp.a b/edge2/bsp/gcc/bin/libam_bsp.a index ba39d0c..b4ab983 100644 Binary files a/edge2/bsp/gcc/bin/libam_bsp.a and b/edge2/bsp/gcc/bin/libam_bsp.a differ diff --git a/redboard_artemis/bsp/am_bsp.h b/redboard_artemis/bsp/am_bsp.h index 0b86953..1e1cb5c 100644 --- a/redboard_artemis/bsp/am_bsp.h +++ b/redboard_artemis/bsp/am_bsp.h @@ -106,6 +106,11 @@ extern "C" #define AM_BSP_NUM_LEDS 1 extern am_devices_led_t am_bsp_psLEDs[AM_BSP_NUM_LEDS]; +// LED Device Array Indices +#define AM_BSP_LED0 0 +#define AM_BSP_LED_BLUE AM_BSP_LED0 + +// Corresponding GPIO Numbers #define AM_BSP_GPIO_LED AM_BSP_GPIO_LED_BLUE #define AM_BSP_GPIO_LED0 AM_BSP_GPIO_LED_BLUE #define AM_BSP_GPIO_LED13 AM_BSP_GPIO_LED_BLUE diff --git a/redboard_artemis/bsp/gcc/bin/libam_bsp.a b/redboard_artemis/bsp/gcc/bin/libam_bsp.a index a262991..366fb4c 100644 Binary files a/redboard_artemis/bsp/gcc/bin/libam_bsp.a and b/redboard_artemis/bsp/gcc/bin/libam_bsp.a differ diff --git a/redboard_artemis_atp/bsp/am_bsp.h b/redboard_artemis_atp/bsp/am_bsp.h index a6c6926..4c307b3 100644 --- a/redboard_artemis_atp/bsp/am_bsp.h +++ b/redboard_artemis_atp/bsp/am_bsp.h @@ -106,6 +106,11 @@ extern "C" #define AM_BSP_NUM_LEDS 1 extern am_devices_led_t am_bsp_psLEDs[AM_BSP_NUM_LEDS]; +// LED Device Array Indices +#define AM_BSP_LED0 0 +#define AM_BSP_LED_BLUE AM_BSP_LED0 + +// Corresponding GPIO Numbers #define AM_BSP_GPIO_LED AM_BSP_GPIO_LED_BLUE #define AM_BSP_GPIO_LED0 AM_BSP_GPIO_LED_BLUE #define AM_BSP_GPIO_LED37 AM_BSP_GPIO_LED_BLUE diff --git a/redboard_artemis_atp/bsp/gcc/bin/libam_bsp.a b/redboard_artemis_atp/bsp/gcc/bin/libam_bsp.a index 77ec93b..b4ecb1b 100644 Binary files a/redboard_artemis_atp/bsp/gcc/bin/libam_bsp.a and b/redboard_artemis_atp/bsp/gcc/bin/libam_bsp.a differ diff --git a/redboard_artemis_nano/bsp/am_bsp.h b/redboard_artemis_nano/bsp/am_bsp.h index cece6e0..ebe5408 100644 --- a/redboard_artemis_nano/bsp/am_bsp.h +++ b/redboard_artemis_nano/bsp/am_bsp.h @@ -106,6 +106,11 @@ extern "C" #define AM_BSP_NUM_LEDS 1 extern am_devices_led_t am_bsp_psLEDs[AM_BSP_NUM_LEDS]; +// LED Device Array Indices +#define AM_BSP_LED0 0 +#define AM_BSP_LED_BLUE AM_BSP_LED0 + +// Corresponding GPIO Numbers #define AM_BSP_GPIO_LED AM_BSP_GPIO_LED_BLUE #define AM_BSP_GPIO_LED0 AM_BSP_GPIO_LED_BLUE #define AM_BSP_GPIO_LED19 AM_BSP_GPIO_LED_BLUE diff --git a/redboard_artemis_nano/bsp/gcc/bin/libam_bsp.a b/redboard_artemis_nano/bsp/gcc/bin/libam_bsp.a index 80b9010..10be137 100644 Binary files a/redboard_artemis_nano/bsp/gcc/bin/libam_bsp.a and b/redboard_artemis_nano/bsp/gcc/bin/libam_bsp.a differ