diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-10 15:50:23 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-10 15:50:23 +0000 |
commit | b178fec3d84131c06bb015d60533a1b704650008 (patch) | |
tree | c14a8e28ee4a2b3cdaf038eceb9c4b356c8505b6 /apps/examples | |
parent | 6327539fc800e6d481ff26067c1a40ca01ae6de1 (diff) | |
download | nuttx-b178fec3d84131c06bb015d60533a1b704650008.tar.gz nuttx-b178fec3d84131c06bb015d60533a1b704650008.tar.bz2 nuttx-b178fec3d84131c06bb015d60533a1b704650008.zip |
Pascal now installs in the apps/ directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3583 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples')
-rw-r--r-- | apps/examples/README.txt | 8 | ||||
-rw-r--r-- | apps/examples/pashello/Makefile | 7 | ||||
-rw-r--r-- | apps/examples/pashello/pashello.c | 4 |
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" /**************************************************************************** |