Merged in masayuki2009/nuttx.apps/loadable_app (pull request #148)
loadable app support
* apps: Introduce a build system for loadable apps for nsh.
This PR consits of following changes. (NOTE: Changes to each
application will be provided separately)
apps/nshlib/Kconfig:
Add 'option modules' to NSH_FILE_APPS so that a user can change
an application configuration to tristate (y/n/m)
apps/Make.defs:
Override COMPILE and COMPILEXX macros to compile loadable apps.
To make loadable apps, -DLOADABLE_APP is added to the flags.
Also, introduce ELFLD to link a lodable app.
Please note that the variable 'LOADABLE' must be defined in
each application Makefile if you want to make a loadable app.
apps/Application.mk:
Add .build target in case of 'LOADABLE=y' which is used to
link a final loadable application and install the app to
apps/bin.
apps/Makefile:
Add SYMTABSRC and SYMTABOBJ variables for loadable apps which
will be generated under the apps directory.
Add make_symbols target which will be called when all applications
are installed to generate symtab_app.c which is used for
nsh to inform symbol information to the NuttX kernel.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* apps/examples/hello: Apply changes to support a lodable app.
Kconfig:
Change the application state from bool to tristate
Make.defs:
Change the condition to build. By default, the application is
not selected (i.e. 'n'), so if other states (i.e. y/m) are
selected, the application will be compiled.
Makefile:
If the application is specified to 'm', the variable 'LOADABLE'
must be defined here. Also note that other variables (PRIORITY
and STACKSIZE) can only be used for built-in apps.
hello_main.c
Add LOADABLE_APP condition to main().
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* apps/examples/helloxx: Apply changes to support a lodable app.
Kconfig:
Change the application state from bool to tristate
Make.defs:
Change the condition to build. By default, the application is
not selected (i.e. 'n'), so if other states (i.e. y/m) are
selected, the application will be compiled.
Makefile:
If the application is specified to 'm', the variable 'LOADABLE'
must be defined here. Also note that other variables (PRIORITY
and STACKSIZE) can only be used for built-in apps.
helloxx_main.c
Add LOADABLE_APP condition to main().
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: GregoryN <gnutt@nuttx.org>
apps/examples/tcpblaster: Some improvements/fixes in statistics reporting.
apps/examples/tcpblaster: Add performance measurement functionality.
apps/examples/tcpblaster: Initial commit is just apps/examples/nettest/ with naming changes.
apps/examples/i2sloop: Add i2sloop application
This application can be used to test I2S loopback
nsh> i2sloop &
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
apps/examples/ft80x: Fix some errors in co-processor demos.
apps/examples/ft80x: Correct an error in the spinner demo.
apps/examples/ft80x: Change some unimportant warnings to informational output to reducing debug output.
apps/examples/ft80x: Fix some size calculations. Add option to disable primitive tests... just too boring to have to watch over and over again.
apps/graphics/ft80x: Fix a typo in backlight fade logic; Fix error in formmatted display light debug dump output.
apps/graphics/ft80x: Fix some warnings when debug features are enabled.
apps/graphics/ft80x: Replace polling logic with gentler signal logic when waitinf for the CMD FIFO to become empty.
apps/examples/ft80x: Add first co-processor example.
apps/graphics: Extend library to manage display lists either in display memory (RAM DL) or provided directly to th co-processor FIFO (RAM CMD).
apps/examples/ft80x: Some minor clean-up. Trivial changes for coprocessor support.
apps/graphics/ft80x: Add support for accessing graphics ram. apps/examples/ft80x: Add more primitive graphics demos.
apps/examples/ft80x: Add a couple more demos of primitives. Use new ft80x_dl_create() to simplify.
apps/graphics/ft80x: Add ft80x_dl_create() which simplies writing of very simple display lists.
apps/examples/ft80x: Add one display example. Many more are needed but this is enough to get started with testing (when I eventually have hardware).
apps/examples/ft80x: Add the bare framework for a test of the FT80x
I guess author meant "standalone program" not "standalone problem" ?
Then, it was replicated elsewhere in code base,
and fixed accordingly with this patch.
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
apps/examples/lvgldemo: Fix up some include paths
apps/examples/lvgldemo: The last final now conforms to the NuttX coding style.
apps/graphics/littlevgl: Two more files are closer to the NuttX coding style.
apps/graphics/littlevgl: Two more files are closer to the NuttX coding style.
apps/examples/lvgldemo: Three more files are closer to the NuttX coding style.
apps/examples/lvgldemo: Two more files are closer to the NuttX coding style.
apps/examples/lvgldemo: Two more files are closer to the NuttX coding style.
Add include/graphics/.gitignore
apps/include/graphics: Remove lvgl.h. graphics/littlevgl/Makefile now copies the file into position.
apps/graphics/littlevgl: Add .gitignore file
apps/graphics/littlevgl: Most of these files follow the coding style now.
apps/graphics/littlevgl: This gets a couple of files closer to the NuttX coding style.
apps/examples/lvgldemo: Add lvgldemo example
apps/graphics/littlevgl: Add littlevgl library