blob: fbc54ddb8b2424125a7f79649d68daf9ec33c3a3 [file] [log] [blame]
Karl Zhang3de5ab12021-05-31 11:45:48 +08001#####################
2'lib'-directory guide
3#####################
4
5************
6Introduction
7************
8
9This directory contains the customizable "boilerplate" code snippets used to
10write out C source code. The file in this directory currently, is that for
11TF-M, but other comparable frameworks could be addressed with equivalent files
12taylored for the required syntax of that other framework.
13
14Which file to use for this process is selected by setting two environment
15variables pointing to that file: One for the ``lib`` directory and one for the
16file itself within that directory. In ``bash`` syntax,
17
18.. code-block:: bash
19
20 export TF_FUZZ_LIB_DIR=<path to this TF-M installation>/tools/tf_fuzz/lib
21 export TF_FUZZ_BPLATE=tfm_boilerplate.txt
22
23
24********************************************
25``.../tools/tf_fuzz/lib`` directory contents
26********************************************
27.. code-block:: bash
28
29 tfm_boilerplate.txt
30
31--------------
32
33*Copyright (c) 2020, Arm Limited. All rights reserved.*