mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-05 14:31:31 +00:00
The LED state machine ends up being very board-specific, as does the specific configuration of LEDs and whether they're PWM'd or just GPIOs. dparker has some clever ideas for how to move more of the functionality to common/led_common.c (used at present only by peppy); that will be done as a follow-on to this CL. There's a unit test for the spring LED implementation. To keep that compiling, just use a symlink to the spring-specific implementation. No code changes; just moving around files. BUG=chrome-os-partner:18343 BRANCH=none TEST=build all boards; pass unit tests Change-Id: I5973e701a29a72575db9a161dc146855ab21cca6 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/171771 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
62 lines
1.7 KiB
Makefile
62 lines
1.7 KiB
Makefile
# -*- makefile -*-
|
|
# Copyright (c) 2013 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.
|
|
#
|
|
# on-board test binaries build
|
|
#
|
|
|
|
test-list-y=pingpong timer_calib timer_dos timer_jump mutex utils
|
|
#disable: powerdemo
|
|
|
|
# TODO(victoryang): Fix these tests:
|
|
# scancode typematic charging
|
|
|
|
test-list-$(BOARD_bds)+=
|
|
test-list-$(BOARD_daisy)+=kb_scan stress
|
|
test-list-$(BOARD_pit)+=kb_scan stress
|
|
test-list-$(BOARD_snow)+=kb_scan stress
|
|
test-list-$(BOARD_spring)+=kb_scan stress
|
|
|
|
# Disable x86 boards until they compiles
|
|
# TODO(victoryang): Fix them
|
|
test-list-$(BOARD_link)=
|
|
test-list-$(BOARD_slippy)=
|
|
test-list-$(BOARD_falco)=
|
|
test-list-$(BOARD_peppy)=
|
|
test-list-$(BOARD_bolt)=
|
|
test-list-$(BOARD_samus)=
|
|
|
|
# Emulator tests
|
|
test-list-host=mutex pingpong utils kb_scan kb_mkbp lid_sw power_button hooks
|
|
test-list-host+=thermal flash queue kb_8042 extpwr_gpio console_edit system
|
|
test-list-host+=sbs_charging adapter host_command thermal_falco led_spring
|
|
test-list-host+=bklight_lid bklight_passthru
|
|
|
|
adapter-y=adapter.o
|
|
bklight_lid-y=bklight_lid.o
|
|
bklight_passthru-y=bklight_passthru.o
|
|
console_edit-y=console_edit.o
|
|
extpwr_gpio-y=extpwr_gpio.o
|
|
flash-y=flash.o
|
|
hooks-y=hooks.o
|
|
host_command-y=host_command.o
|
|
kb_8042-y=kb_8042.o
|
|
kb_mkbp-y=kb_mkbp.o
|
|
kb_scan-y=kb_scan.o
|
|
led_spring-y=led_spring.o led_spring_impl.o
|
|
lid_sw-y=lid_sw.o
|
|
mutex-y=mutex.o
|
|
pingpong-y=pingpong.o
|
|
power_button-y=power_button.o
|
|
powerdemo-y=powerdemo.o
|
|
queue-y=queue.o
|
|
sbs_charging-y=sbs_charging.o
|
|
stress-y=stress.o
|
|
system-y=system.o
|
|
thermal-y=thermal.o
|
|
thermal_falco-y=thermal_falco.o
|
|
timer_calib-y=timer_calib.o
|
|
timer_dos-y=timer_dos.o
|
|
utils-y=utils.o
|