9
0
Fork 0
nuttx-bb/apps/examples/pashello
patacongo 0bb0a4e316 Move file-system header files to include/nuttx/fs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4499 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-21 18:01:07 +00:00
..
Makefile Pascal now installs in the apps/ directory 2011-05-10 15:50:23 +00:00
README.txt Move nuttx/examples to apps/examples 2011-03-20 18:18:19 +00:00
device.c Move file-system header files to include/nuttx/fs 2012-03-21 18:01:07 +00:00
hello.h Move nuttx/examples to apps/examples 2011-03-20 18:18:19 +00:00
hello.pas Move nuttx/examples to apps/examples 2011-03-20 18:18:19 +00:00
hello.pex Move nuttx/examples to apps/examples 2011-03-20 18:18:19 +00:00
mkhello.sh Move nuttx/examples to apps/examples 2011-03-20 18:18:19 +00:00
pashello.c Pascal now installs in the apps/ directory 2011-05-10 15:50:23 +00:00
pashello.h Move nuttx/examples to apps/examples 2011-03-20 18:18:19 +00:00

README.txt

README
^^^^^^

hello.pas

  This is a sample "Hello, World!" Pascal Program

hello.pex

  This is the compiled, linked P-Code executable that results
  when hello.pas is compiled.

hello.h

  This file defines an initialized C array holds a copy of
  hello.pex.  This file as created by:

    xxd -i hello.pex >hello.h

mkhello.sh

  This is a scripts that can be used to rebuild both hello.pex
  and hello.h.

device.c

  The hello.pex file must be provided to the interpreter as a file
  in the file system.  Normally this would be done using real storage
  medium.  In this example, we will use device.c:

  device.c implements a simple device driver.  Reads from this device
  will access the in-memory copy of hello.pex  This device driver is
  registered as /dev/pashello in the psuedo filesystem.