220653f21c
Author: anchao <anchao@pinecone.net> apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage Loadable apps/: Correct loadable symbol table generate apps/system/ubloxmodem: Fix build break apps/examples/ostest: start restart/waitpid/user test from main loop apps/nshlib: Expand reboot and poweroff commands to include a second, optional mode argument Author: Gregory Nutt <gnutt@nuttx.org> An attempt to fix build issues. Does not work. apps/examples/ostest: Fix some inappropriate renaming of static functions introduced with recent patches. apps/builtin/exec_builtin.c: Fix a error introduced by recent comments. Found in build testing. Author: anchao <anchao@pinecone.net> apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point. apps/Application.mk: introduce MODULE config to simplify tristate(m) apps/nsh: Change the nuttx shell module type to tristate apps: Add loadable application support script/mksymtab: Generate symbol table name by default apps/builtin: Allow loadable applications can register with apps/builtin. |
||
---|---|---|
.. | ||
.gitignore | ||
device.c | ||
hello.h | ||
hello.pas | ||
hello.pex | ||
Kconfig | ||
Make.defs | ||
Makefile | ||
mkhello.sh | ||
pashello.c | ||
pashello.h | ||
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 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.