Skip to content

Commit 5d4762a

Browse files
author
Cruz Monrreal
authored
Merge pull request #6648 from li-ho/ev-cog-buttons
ADI: Add BUTTON pin names for EV_COG_AD4050LZ and EV_COG_AD3029LZ
2 parents 1cc78f8 + 3d37c26 commit 5d4762a

File tree

2 files changed

+8
-2
lines changed
  • targets/TARGET_Analog_Devices
    • TARGET_ADUCM302X/TARGET_ADUCM3029/TARGET_EV_COG_AD3029LZ
    • TARGET_ADUCM4X50/TARGET_ADUCM4050/TARGET_EV_COG_AD4050LZ

2 files changed

+8
-2
lines changed

targets/TARGET_Analog_Devices/TARGET_ADUCM302X/TARGET_ADUCM3029/TARGET_EV_COG_AD3029LZ/PinNames.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2010-2017 Analog Devices, Inc.
2+
* Copyright (c) 2010-2018 Analog Devices, Inc.
33
*
44
* All rights reserved.
55
*
@@ -120,6 +120,9 @@ typedef enum {
120120
//Push buttons
121121
PB0 = P1_00, // BTN1
122122
PB1 = P0_09, // BTN2
123+
BUTTON1 = P1_00, // BTN1
124+
BUTTON2 = P0_09, // BTN2
125+
123126
BOOT = P1_01,
124127
WAKE0 = P0_15, // JP15 to select
125128
WAKE1 = P1_00, // JP8 (BTN1 jumper) to select

targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/TARGET_EV_COG_AD4050LZ/PinNames.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2010-2017 Analog Devices, Inc.
2+
* Copyright (c) 2010-2018 Analog Devices, Inc.
33
*
44
* All rights reserved.
55
*
@@ -135,6 +135,9 @@ typedef enum {
135135
//Push buttons
136136
PB0 = P1_00, // BTN1
137137
PB1 = P0_09, // BTN2
138+
BUTTON1 = P1_00, // BTN1
139+
BUTTON2 = P0_09, // BTN2
140+
138141
BOOT = P1_01,
139142
WAKE0 = P0_15, // JP15 to select
140143
WAKE1 = P1_00, // JP8 (BTN1 jumper) to select

0 commit comments

Comments
 (0)