Build LK and flash it to devices.
- Python 2.7
- Fabric for Python
- Open
fabfile.py
and fill inLK_PROJECT_BASE
,SOD_PROJECT_BASE
andOPEN_OCD_BASE
to point to the root of LK (optional), SOD (optional) and OpenOCD (required) respectively. - Create a symlink to fabfile.py in a directory that is an ancestor of both
your SOD directory and your lk directory. For example if LK is located at
~/code/lk
and SOD is located at~/code/sod
, you should invokeln -s ~/code/lkhelper/fabfile.py ~/code/fabfile.py
- Run
fab -l
to get a list of commands in any subdirectory.