mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
Use the PORT event for keyboard inputs. Make a column mask for driving all outputs at once. BUG=chrome-os-partner:34477 BRANCH=none TEST=Used hadoken and the Ryu base keyboard to check that the keys are all functional, that the keyboard polls while keys are held, and that it waits for interrupts when the keys are released. Signed-off-by: Myles Watson <mylesgw@chromium.org> Change-Id: Ie1dd1ca17b21ed76b2d412bf25fe87e45c5ba757 Reviewed-on: https://chromium-review.googlesource.com/234394 Reviewed-by: Randall Spangler <rspangler@chromium.org> Tested-by: Myles Watson <mylesgw@chromium.org> Commit-Queue: Myles Watson <mylesgw@chromium.org>
19 lines
504 B
Makefile
19 lines
504 B
Makefile
# -*- makefile -*-
|
|
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
#
|
|
# nRF51822 chip specific files build
|
|
#
|
|
|
|
CORE:=cortex-m0
|
|
# Force ARMv6-M ISA used by the Cortex-M0
|
|
CFLAGS_CPU+=-march=armv6-m -mcpu=cortex-m0
|
|
|
|
chip-y+=gpio.o system.o uart.o
|
|
chip-y+=jtag.o watchdog.o
|
|
|
|
chip-$(CONFIG_COMMON_TIMER)+=hwtimer.o clock.o
|
|
chip-$(CONFIG_I2C)+=i2c.o
|
|
chip-$(HAS_TASK_KEYSCAN)+=keyboard_raw.o
|