《Full Workflow with West.pdf》由会员分享,可在线阅读,更多相关《Full Workflow with West.pdf(13页珍藏版)》请在三个皮匠报告上搜索。
1、#EMBEDDEDOSSUMMITFull Developer Workflow with WestAl Semjonovs,GoogleEmail:Discord:asemjonovs#8232Github:asemjonovsAgendaWhat is West?Streamline and simplify the developer workflowWorkspace SetupDependency managerTwister integrationManage PR dependenciesWhat is West?West is Zephyrs swiss army knife
2、command line tool for syncing,building,and flashing your builds.Most used built-in commandsinitupdateMost used Zephyr project extensionsbuildflashdebugStreamline and simplify the developer workflow1.Setup2.Toolchain Dependency Manager3.Twister integration4.PR Dependency ManagerSetupProblemMultiple s
3、teps are needed to setup a Zephyr based project.See the Zephyr Getting Started GuideGoalSubcommand:west setupSetup your developer environment with a single command.Creates python virtual environmentInstalls Zephyrs python dependenciesDownloads and installs latest Zephyr SDKAllow this command to be o
4、verridable for project specific setup.Toolchain Dependency ManagerProblemWest setup will installs tools,how do we keep these up to date?Goal:Override west update to handle toolchains in addition to the code.Store current version of tools and dependencies in the west manifest.Installs needed changes.
5、Similar to current handling of git repositories but with tools.Twister IntegrationProblemInvoking twister from another project can lead to inaccurate test results due to different versions of twister.GoalSubcommand:west twisterAvoid mismatch of twister version with project currently being worked on.
6、Use west to identify path to twister of current project.Manage PR DependenciesProblem Working with multiple branches that have dependencies on each other can be difficult to manage.Adding commit C forces a new review process to start for a PRManage PR Dependen