zephyr/samples/application_development/static_lib
Anas Nashif cc24f4b03c tests: samples: convert testcase files to yaml
This will prepare test cases and samples with metadata and information
that will be consumed by the sanitycheck script which will be changed to
parse YAML files instead of ini.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-06-21 20:56:53 -04:00
..
hello_world samples: appdev: static_lib: added "make flash" 2017-06-20 08:30:26 -04:00
mylib samples: move app developemnt samples samples/appdev 2017-06-19 21:23:11 -04:00
Makefile samples: appdev: static_lib: added "make flash" 2017-06-20 08:30:26 -04:00
prj.conf samples: move app developemnt samples samples/appdev 2017-06-19 21:23:11 -04:00
README samples: move app developemnt samples samples/appdev 2017-06-19 21:23:11 -04:00
sample.yaml tests: samples: convert testcase files to yaml 2017-06-21 20:56:53 -04:00
testcase.ini samples: move app developemnt samples samples/appdev 2017-06-19 21:23:11 -04:00

Linking with a static library
#############################

This sample shows how to link a static library to a Zephyr application.
A sample library is also included.

Read mylib/Makefile to discover how to use the Zephyr's toolchain
to build a static library.

If the library's source code is available, perhaps it could be more
easier to integrate that source code to your application than creating
the static library.


Build instructions
==================

1. It is assumed that ZEPHYR_GCC_VARIANT and ZEPHYR_SDK_INSTALL_DIR
variables are already set. See:

https://www.zephyrproject.org/doc/getting_started/getting_started.html

2. source $ZEPHYR/zephyr-env.sh

   Where $ZEPHYR points to the directory that contains the zephyr
   repository.

3. make

4. make run