Commit Graph

19 Commits

Author SHA1 Message Date
Louis Yung-Chieh Lo
aa8ecb2b65 Merge "Add mailbox interface definition." 2011-10-27 00:06:08 -07:00
Louis Yung-Chieh Lo
22d0fa85e0 Add mailbox interface definition.
BUG=None
TEST=None

Change-Id: I6f91fa0ae352bb421fe7cce010cfbf14b93037b4
2011-10-27 00:43:31 +08:00
Louis Yung-Chieh Lo
91daca6939 Add ec_keyboard_test.c
This CL also includes 4 pieces:
  1. main files: environment-independent (main.c) and
                            -dependent (ec_keyboard_test.c).
  2. stub files: chip_stub/keyboard.c simulates the real hardware.
                 chip_stub/keyboard.h is the header of testing functions.
  3. initial keyboard lib code: ec_keyboard.h
  4. rename Cr* function name to Ec* under chip_interface/.

BUG=None
TEST=make && make runtests
Expect seeing the output debug message from cros_ec/lib/ec_keyboard.c.

Change-Id: Ia7e8022060eb0a5d0a11abcbdb3f524942f5c68d
2011-10-26 22:12:19 +08:00
Louis Yung-Chieh Lo
360d484d3a Merge "The keyboard interface between EC core and EC lib." 2011-10-25 19:53:04 -07:00
Louis Yung-Chieh Lo
169620605c Merge "Convert EC command table into ec_command.h." 2011-10-25 19:52:17 -07:00
Randall Spangler
4b87c940b0 Add EcUartPutsPolled(), for polled output from fault handlers.
BUG=none
TEST=make && make runtests

Change-Id: I0c07cda5c87e586f0932521b0a8268379df1da7f
2011-10-25 12:55:10 -07:00
Louis Yung-Chieh Lo
d87c85f168 Convert EC command table into ec_command.h.
The first version of EC command table to communicate with host side.

Also bring in the README file.

BUG=None
TEST=None

Change-Id: Ic7583beb85ed866d73ef0f4e7fccd590b3943932
2011-10-25 15:29:51 +08:00
Louis Yung-Chieh Lo
53acb3f245 The keyboard interface between EC core and EC lib.
BUG=None.
TEST=None.

Change-Id: I6b58cc1bd98b6d02b8138956ac609577dfb05755
2011-10-25 14:18:52 +08:00
Randall Spangler
9f29744273 Move chip interface headers, add GPIO and system headers.
BUG=None
TEST=make && make runtests

Change-Id: I88f23366147224825f231f1c10ddcf1a112d5ebc
2011-10-24 15:32:47 -07:00
Randall Spangler
ee3d25fa92 Add top-level makefile
Build output is now in ./build

Fixed compiler warnings in ec_uartd, ec_console

BUG=none
TEST=make

Change-Id: I9a46ab6b9d4e912e59a60c669e95dc0c6f8485df
2011-10-24 12:39:09 -07:00
Randall Spangler
7860a64e42 Merge "Start implementing host-side EcUart module" 2011-10-24 10:46:26 -07:00
Randall Spangler
059b433471 Merge "Add EcOs RTOS abstraction layer and pthreads implementation" 2011-10-24 10:46:04 -07:00
Randall Spangler
84c5a86d24 Merge "Add ec_uartd utility" 2011-10-24 10:44:30 -07:00
Randall Spangler
85e3256d32 Start implementing host-side EcUart module
BUG=none
TEST=make && ./ec_os_test

Change-Id: I2a819baa24e298ce6edc02cb15549b0b1d766846
2011-10-24 10:25:05 -07:00
Randall Spangler
e91f327047 Add EcOs RTOS abstraction layer and pthreads implementation
This lets us write modules which don't know the details of the RTOS
objects they use.  More importantly, this lets us target those modules
at either Linux (using the pthread-based implementation in chip_stub)
or actual hardware, so we can write Linux-based unit tests.

BUG=None
TEST=make && ./ec_os_test

Change-Id: I2923b9a48248b27f3bc3b0346d5a870fef8a1c5b
(cherry picked from commit 6ccc37af9fb916f7ad70f542905ba8bacb8e3be2)
2011-10-21 15:14:07 -07:00
Dave Parker
dd449d1b72 Mask out board and vendor sub-projects with .gitignore
BUG=None
TEST=git status

Change-Id: I94d3929994b02dd90e41b4d87cc236d7611e27eb
2011-10-21 13:55:28 -07:00
Randall Spangler
406de3fe81 Add ec_uartd utility
BUG=None
TEST=None

Change-Id: I21c6166ad96924d2a80d55f6ed9125a3aa1b1c7c
2011-10-18 13:29:57 -07:00
Randall Spangler
2b3bef7968 Revised header files and moved in current implementation.
BUG=None
TEST=cd cros_ec && make

Change-Id: Ieac6a131f0aef0f8f3343d4f3cd9fba5a211bc09
2011-10-17 14:59:01 -07:00
Louis Yung-Chieh Lo
2266c2119e Initial commit 2011-10-15 00:17:08 +08:00