From 3d37c26d28ff05a5d130bae93946bc7ec85160cc Mon Sep 17 00:00:00 2001 From: Edmund Hsu Date: Tue, 17 Apr 2018 10:31:29 +1000 Subject: [PATCH] Add BUTTON pin names for EV_COG_AD4050LZ and EV_COG_AD3029LZ Apart from reset and boot buttons, EV_COG_AD4050LZ and EV_COG_AD3029LZ have 2 more user defined buttons: - BUTTON1 - BUTTON2 --- .../TARGET_ADUCM3029/TARGET_EV_COG_AD3029LZ/PinNames.h | 5 ++++- .../TARGET_ADUCM4050/TARGET_EV_COG_AD4050LZ/PinNames.h | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/targets/TARGET_Analog_Devices/TARGET_ADUCM302X/TARGET_ADUCM3029/TARGET_EV_COG_AD3029LZ/PinNames.h b/targets/TARGET_Analog_Devices/TARGET_ADUCM302X/TARGET_ADUCM3029/TARGET_EV_COG_AD3029LZ/PinNames.h index 032050d117..0c0a23ae18 100755 --- a/targets/TARGET_Analog_Devices/TARGET_ADUCM302X/TARGET_ADUCM3029/TARGET_EV_COG_AD3029LZ/PinNames.h +++ b/targets/TARGET_Analog_Devices/TARGET_ADUCM302X/TARGET_ADUCM3029/TARGET_EV_COG_AD3029LZ/PinNames.h @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010-2017 Analog Devices, Inc. + * Copyright (c) 2010-2018 Analog Devices, Inc. * * All rights reserved. * @@ -120,6 +120,9 @@ typedef enum { //Push buttons PB0 = P1_00, // BTN1 PB1 = P0_09, // BTN2 + BUTTON1 = P1_00, // BTN1 + BUTTON2 = P0_09, // BTN2 + BOOT = P1_01, WAKE0 = P0_15, // JP15 to select WAKE1 = P1_00, // JP8 (BTN1 jumper) to select diff --git a/targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/TARGET_EV_COG_AD4050LZ/PinNames.h b/targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/TARGET_EV_COG_AD4050LZ/PinNames.h index 3192608f78..2884355527 100755 --- a/targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/TARGET_EV_COG_AD4050LZ/PinNames.h +++ b/targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/TARGET_EV_COG_AD4050LZ/PinNames.h @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010-2017 Analog Devices, Inc. + * Copyright (c) 2010-2018 Analog Devices, Inc. * * All rights reserved. * @@ -135,6 +135,9 @@ typedef enum { //Push buttons PB0 = P1_00, // BTN1 PB1 = P0_09, // BTN2 + BUTTON1 = P1_00, // BTN1 + BUTTON2 = P0_09, // BTN2 + BOOT = P1_01, WAKE0 = P0_15, // JP15 to select WAKE1 = P1_00, // JP8 (BTN1 jumper) to select