diff options
author | pandeyan <anshuman.pandey@intel.com> | 2020-02-13 16:05:07 +0530 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-18 09:09:13 +0000 |
commit | 7a4365dafa4dd68b75c7a778540cef9b9f267132 (patch) | |
tree | 0634be6f2f89e8057118227c6dc6b09604b099cb /board/hatch | |
parent | fdf16228202ced2220d8b511d14798ccc8a93bfb (diff) | |
download | chrome-ec-7a4365dafa4dd68b75c7a778540cef9b9f267132.tar.gz |
hatch: Enable button console command
Enabled compiler switch for hatch board to simulate button operations.
BUG=b:149659987
BRANCH=None
TEST=Tested on hatch board.
From EC console, entered the below commands:
$ button vup 500
Observed volume UP key press on display.
Change-Id: Ibcdba6541ecdea6c9e6ce480c932a7613832a87b
Signed-off-by: pandeyan <anshuman.pandey@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2059930
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/hatch')
-rw-r--r-- | board/hatch/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/hatch/board.h b/board/hatch/board.h index a2d0533a38..040d6ea76f 100644 --- a/board/hatch/board.h +++ b/board/hatch/board.h @@ -81,6 +81,7 @@ #define CONFIG_CHARGER_BQ25710_IDCHG_LIMIT_MA 8192 /* Volume Button feature */ +#define CONFIG_CMD_BUTTON #define CONFIG_VOLUME_BUTTONS #define GPIO_VOLUME_UP_L GPIO_EC_VOLUP_BTN_ODL #define GPIO_VOLUME_DOWN_L GPIO_EC_VOLDN_BTN_ODL |