Files
OpenCellular/board/keyborg/build.mk
Vic Yang 200246949a Keyborg: provide options on data encoding/printing style
For easier developement/experiment, this adds two options:
  - CONFIG_ENCODE_SEGMENT/CONFIG_ENCODE_RAW
      SEGMENT style encoding uses less RAM, so it can store the entire
      frame. However, it sometimes losses data. RAW style encoding is
      always lossless, but it can only save a bit more than a half
      frame.
  - CONFIG_ENCODE_DUMP_PYTHON
      If this flag is defined, the output style is a 2-D Python list.
      This is used so that the data can be easily fed into another
      script.

BUG=None
TEST=Tries all four combinations.
BRANCH=None

Change-Id: Ic6a916f1cae20edccee5d05783ef98a1c48dff2e
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/202140
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2014-05-31 03:57:28 +00:00

16 lines
492 B
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.
#
# Board specific files build
# the IC is STmicro STM32TS60
CHIP:=stm32
CHIP_FAMILY:=stm32f
CHIP_VARIANT:=stm32ts60
board-y=board.o hardware.o runtime.o master_slave.o spi_comm.o touch_scan.o
board-$(CONFIG_ENCODE_SEGMENT)+=encode_segment.o
board-$(CONFIG_ENCODE_RAW)+=encode_raw.o
board-$(CONFIG_DEBUG_PRINTF)+=debug.o