nuttx-apps/examples/pashello
2016-01-22 17:20:15 -06:00
..
.gitignore
device.c
hello.h Fix several cosmetic, C coding style issues 2015-10-03 11:03:42 -06:00
hello.pas
hello.pex
Kconfig
Make.defs
Makefile
mkhello.sh
pashello.c Standardize nameing of the pre-processor definitiongs group header 2015-10-02 14:06:11 -06:00
pashello.h Standardize nameing of the pre-processor definitiongs group header 2015-10-02 14:06:11 -06:00
README.txt Update some README files 2016-01-22 17:20:15 -06:00

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

  The resulting hello.h should be editted so that both data definitions
  are marked with the 'const' qualify so that the data will be stored in
  FLASH.

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.