.. zephyr:code-sample:: external_library :name: External Library Include an external static library into the Zephyr build system.
A simple example that demonstrates how to include an external static library into the Zephyr build system. The demonstrates both how to build the external library using a different build system and how to include the built static library.
To use this sample on a Windows host operating system, GNU Make needs to be in your path. This can be setup using chocolatey or by manually installing it.
Install make using the following command:
choco install make
Once installed, build the application as normal.
The pre-built make application can be downloaded from
https://gnuwin32.sourceforge.net/packages/make.htm by either getting both the
Binaries
and Dependencies
and extracting them to the same folder, or
getting the Complete package
setup. Once installed and in the path, build
the application as normal.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。