px4-firmware/apps/examples/pashello
patacongo 57623d42eb Resync new repository with old repo r5166
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5153 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:18:44 +00:00
..
Kconfig Resync new repository with old repo r5166 2012-09-17 18:18:44 +00:00
Makefile Resync new repository with old repo r5166 2012-09-17 18:18:44 +00:00
README.txt Resync new repository with old repo r5166 2012-09-17 18:18:44 +00:00
device.c Resync new repository with old repo r5166 2012-09-17 18:18:44 +00:00
hello.h Resync new repository with old repo r5166 2012-09-17 18:18:44 +00:00
hello.pas Resync new repository with old repo r5166 2012-09-17 18:18:44 +00:00
hello.pex Resync new repository with old repo r5166 2012-09-17 18:18:44 +00:00
mkhello.sh Resync new repository with old repo r5166 2012-09-17 18:18:44 +00:00
pashello.c Resync new repository with old repo r5166 2012-09-17 18:18:44 +00:00
pashello.h Resync new repository with old repo r5166 2012-09-17 18:18:44 +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 pseudo filesystem.