This is an automated email from the ASF dual-hosted git repository.

jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new a7fbf7c5cf DOC: Fix https://github.com/apache/nuttx/issues/11760
a7fbf7c5cf is described below

commit a7fbf7c5cf2952e0586ca9146509038e43d86b05
Author: Alan Carvalho de Assis <acas...@gmail.com>
AuthorDate: Fri Feb 23 10:47:56 2024 -0300

    DOC: Fix https://github.com/apache/nuttx/issues/11760
    
    The Make.defs to CustomHello example was missing.
    
    Signed-off-by: Alan C. Assis <acas...@gmail.com>
---
 Documentation/guides/customapps.rst | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/Documentation/guides/customapps.rst 
b/Documentation/guides/customapps.rst
index 44eeb6e953..4b67238157 100644
--- a/Documentation/guides/customapps.rst
+++ b/Documentation/guides/customapps.rst
@@ -232,7 +232,19 @@ Create a sub-directory under the ``CustomApps`` directory 
called ``CustomHello``
 
 The same ``CustomHello.c`` file as described above should be created here.
 
-2.5 CustomHello Makefile
+2.5 CustomHello Make.defs
+-------------------------
+
+Create a Make.defs in the ``CustomApps/CustomHello`` directory with the 
following lines:
+
+  .. code-block:: console
+
+    ifneq ($(CONFIG_CUSTOM_APPS_CUSTOM_HELLO),)
+    CONFIGURED_APPS += $(APPDIR)/CustomApps/CustomHello
+    endif
+
+
+2.6 CustomHello Makefile
 ------------------------
 
 Create a Makefile in the ``CustomApps/CustomHello`` directory with the 
following lines:
@@ -255,7 +267,7 @@ Create a Makefile in the ``CustomApps/CustomHello`` 
directory with the following
     include $(APPDIR)/Application.mk
 
 
-2.6 CustomHello Kconfig
+2.7 CustomHello Kconfig
 -----------------------
 
 Create a Kconfig file in the ``CustomApps/CustomHello`` directory, with the 
following lines. For
@@ -293,7 +305,7 @@ the purposes of this example, the Kconfig will only cover 
our single application
 
     endif
 
-2.7 Build and Run
+2.8 Build and Run
 -----------------
 
 Once these files have been created, run a ``make clean`` (you may need to run 
``make distclean``

Reply via email to