diff options
author | Yilin Yang <kerker@google.com> | 2020-09-18 16:50:12 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-26 02:04:10 +0000 |
commit | da114d8e76ef7aa85212f7798c50509199b15095 (patch) | |
tree | c3ccfdc902808964757cd4e3c1356c982939a9bb /extra | |
parent | 95958b0da984aca8863fd039f76339a2e2a85e86 (diff) | |
download | chrome-ec-da114d8e76ef7aa85212f7798c50509199b15095.tar.gz |
ec3po: Migrate interpreter.py to python2/3 compatible
Make it python2/3 compatible. But because servod is still using
python2 now, I can only make sure that this CL still works in python2.
Try my best to make it work in python3, but need more test when servod
can support python3 environment.
BUG=chromium:1031705
BRANCH=master
TEST=`python2 interpreter_unittest.py` pass
TEST=`python3 interpreter_unittest.py` pass
TEST=1. cros_workon --host start hdctools ec-devutils
2. sudo emerge hdctools ec-devutils
3. sudo servod -b kukui -m jacuzzi
4. dut-console -c ec, can see the ec console
- `version`, `battery` works
TEST=1. Disable software sync on dut
2. Define CONFIG_EXPERIMENTAL_CONSOLE in jacuzzi board.h
3. Build ec, and flash to dut
4. dut-console -c ec, can see the ec console
- `version`, `battery` works
Signed-off-by: kerker <kerker@chromium.org>
Change-Id: I3f1dbdb4f88c029a44416021ea7b5f0caf242320
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2418191
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'extra')
0 files changed, 0 insertions, 0 deletions