diff options
Diffstat (limited to 'nuttx/Documentation/NuttxPortingGuide.html')
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index f1ac32c48..c970198fc 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -173,12 +173,12 @@ below and discussed in the following paragraphs:</p> </p> <ul><pre> <<i>arch-name</i>> - |-- include + |-- include/ | |-- arch.h | |-- irq.h | |-- types.h | `-- limits.h - `-- src + `-- src/ |-- Makefile `-- <i>(architecture-specific source files)</i> </pre></ul> @@ -294,6 +294,7 @@ below and discussed in the following paragraphs:</p> </p> <ul><pre> <<i>board-name</i>> + |-- include/ |-- Make.defs |-- defconfig `-- setenv.sh @@ -302,6 +303,14 @@ below and discussed in the following paragraphs:</p> <h3><a name="#summaryofconfigfiles">2.3.2 Summary of Files</a></h3> <ul> <li> + <code>include/</code>: + This directory contains board specific header files. + This directory will be linked as <code>include/arch/board</code> at configuration time + and can be included via <code>#include <arch/board/header.h></code>. + These header file can only be included by files in <code>arch/<arch-name>/include/</code> + and <code>arch/<arch-name>/src/</code>. + </li> + <li> <code>Make.defs</code>: This makefile fragment provides architecture and tool-specific build options. It will be included by all other makefiles in the build (once it is installed). This make fragment @@ -316,6 +325,7 @@ below and discussed in the following paragraphs:</p> fragment may include ${TOPDIR}/.config to perform configuration specific settings. For example, the CFLAGS will most likely be different if CONFIG_DEBUG=y. + </p> </li> <li> <code>defconfig</code>: This is a configuration file similar to the Linux |