summaryrefslogtreecommitdiff
path: root/apps/examples
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples')
-rw-r--r--apps/examples/README.txt8
-rw-r--r--apps/examples/pashello/Makefile7
-rw-r--r--apps/examples/pashello/pashello.c4
3 files changed, 9 insertions, 10 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt
index d342814c2..468d3d86b 100644
--- a/apps/examples/README.txt
+++ b/apps/examples/README.txt
@@ -274,7 +274,13 @@ examples/ostest
examples/pashello
^^^^^^^^^^^^^^^^^
- This is "Hello, World" implemented via the Pascal P-Code interpreter
+ This is "Hello, World" implemented via the Pascal P-Code interpreter. In
+ order to use this example, you must first download and install the
+ NuttX pascal module. After unpacking the pascal module, you can find
+ installation instructions in pascal/nuttx/README.txt.
+
+ The correct install location for the NuttX examples and build files is
+ apps/interpreters.
examples/pipe
^^^^^^^^^^^^^
diff --git a/apps/examples/pashello/Makefile b/apps/examples/pashello/Makefile
index f392e1b23..44830eee2 100644
--- a/apps/examples/pashello/Makefile
+++ b/apps/examples/pashello/Makefile
@@ -39,13 +39,6 @@ include $(APPDIR)/Make.defs
# Pascal Add-On Example
-ifeq ($(WINTOOL),y)
-INCDIROPT = -w
-endif
-
-CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(TOPDIR)/pcode/include }
-CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(TOPDIR)/pcode/insn/include}
-
ASRCS =
CSRCS = pashello.c device.c
diff --git a/apps/examples/pashello/pashello.c b/apps/examples/pashello/pashello.c
index 9ebe68a27..ae19c94f5 100644
--- a/apps/examples/pashello/pashello.c
+++ b/apps/examples/pashello/pashello.c
@@ -43,8 +43,8 @@
#include <stdlib.h>
#include <debug.h>
-#include "pexec.h"
-#include "pedefs.h"
+#include "apps/pcode/insn/pexec.h"
+#include "apps/pcode/pedefs.h"
#include "pashello.h"
/****************************************************************************