• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

mylib/04-Jan-2025-5628

src/04-Jan-2025-219

CMakeLists.txtD04-Jan-20252.7 KiB7461

README.rstD04-Jan-20251.1 KiB3926

prj.confD04-Jan-202524 21

sample.yamlD04-Jan-2025275 1413

README.rst

1.. zephyr:code-sample:: external_library
2   :name: External Library
3
4   Include an external static library into the Zephyr build system.
5
6Overview
7********
8
9A simple example that demonstrates how to include an external static library
10into the Zephyr build system.
11The demonstrates both how to build the external library using a different build
12system and how to include the built static library.
13
14Windows Note
15************
16
17To use this sample on a Windows host operating system, GNU Make needs to be in
18your path. This can be setup using chocolatey or by manually installing it.
19
20Chocolatey Method
21=================
22
23Install make using the following command:
24
25.. code-block:: bash
26
27   choco install make
28
29Once installed, build the application as normal.
30
31Manual Install Method
32=====================
33
34The pre-built make application can be downloaded from
35https://gnuwin32.sourceforge.net/packages/make.htm by either getting both the
36``Binaries`` and ``Dependencies`` and extracting them to the same folder, or
37getting the ``Complete package`` setup. Once installed and in the path, build
38the application as normal.
39