ZDS 2023 - Tooling for VSCode.pdf

编号:144848 PDF 45页 16.23MB 下载积分:VIP专享
下载报告请您先登录!

ZDS 2023 - Tooling for VSCode.pdf

1、ZDS 2023TOOLS FOR VSCODENRF9160 FEATHERI TOOK THE RED PILL ZEPHYR LIVE SESSIONSYOUTUBE.COM/C/CIRCUITDOJOTHE PROBLEM-Getting started with Zephyr can be painful-Zephyr is the new hotness-Multiple targets,same codebase-Learning curve due to new tools-mcumgr,west,ninja,cmakeTHE PROBLEM#ZDS2023THE SOLUTI

2、ON-So why not lessen the hurdle!-Focus on a coding environment that*many*people use:VSCode-Make it easier to go from 0 to compiling code with least amount of headache-Make it cross platform x 3.5*THE SOLUTION#ZDS2023-Building an open source VSCode extension was the result-Located on Github-https:/ i

3、n typescriptTHE SOLUTION#ZDS2023THE SOLUTION#ZDS2023INITIALIZINGINITIALIZING#ZDS2023-Setup downloads and installs:-Sets up Python3 environment-Zephyr toolchain(ARM)-CMake,Ninja,Newtmgr,and Zephyr Tools CLI(for monitoring serial devices)-Only need Git and Python3 installed beforehandINITIALIZING#ZDS2

4、023 version:12,win32:arch:x64,downloads:#ZDS2023INITIALIZINGmanifest.json-Every supported platform gets a manifest.json entry which provides links to downloads-Allows fine grained control over binaries for different architectures-Both x86_64 and Aarch64 for MacINITIALIZING#ZDS2023/Define what manife

5、st to uselet platformManifest:ManifestEntry|undefined;switch(platform)case darwin:platformManifest=manifest.darwin;break;case linux:platformManifest=manifest.linux;break;case win32:platformManifest=manifest.win32;break;#ZDS2023INITIALIZINGextension.ts-As you can imagine there are lots of possibiliti

6、es for this:-Different toolchains for different SDKs(qemu x86,etc)-Other utilities/dependencies needed Zephyr project wideINITIALIZING#ZDS2023STARTING FROM EXAMPLESTARTING FROM EXAMPLE#ZDS2023STARTING FROM EXAMPLE#ZDS2023-Init Repo command will:-Take a Git url and download into a location you specif

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(ZDS 2023 - Tooling for VSCode.pdf)为本站 (2200) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠