How to use framework ectool from their repo

From razwiki
Revision as of 13:12, 6 February 2022 by Razzi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

clone: https://github.com/FrameworkComputer/EmbeddedController

Install dependencies

sudo apt install libftdi-dev
sudo apt install libusb-1.0-0-dev

Build

make utils

But it doesn't work:

EmbeddedController $ sudo ./build/bds/util/ectool led power green
Missing Chromium EC memory map.
Cannot find I2C adapter
Unable to establish host communication
Couldn't find EC

Strangely adding a print didn't show in the build didn't work:

vim util/comm-lpc.c +286