anchao
25b92edd9f
Squashed commit of the following:
...
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.
2018-08-22 09:30:38 -06:00
Gregory Nutt
367093e65c
apps/examples/module: Fix some chaos in conditional compilation.
2018-08-07 10:51:04 -06:00
Gregory Nutt
057eb80564
apps/examples/module: When built in the PROTECTED or KERNEL modes, the symbol table is not built by the application. That is because the build will fail since the kernel module depends on internal OS symbols thar are not available to the appliatino build. With this change the examples does not attempt to build the kernel symbol table in these modes. Instead it just copies the kernel module symbol table into the nuttx/pass1 directory where it can be build directly into the OS during pass2 of the build.
2018-08-07 09:15:01 -06:00
Gregory Nutt
af30085f9c
apps/examples/module: Fix some error introduced with last changes to this example. Found in build testing.
2018-08-05 17:03:08 -06:00
Gregory Nutt
f5eeaf1fb6
examples/module: Add support for automounting removable media. This involves a wait for the block driver to become available before performing the mount.
2018-08-05 15:35:38 -06:00
Gregory Nutt
b980e943c7
apps/examples/module: Add support for CROMFS and for stripping symbols from ELF module binaries.
2018-08-05 14:10:44 -06:00
Gregory Nutt
654ee7e6f9
apps/examples/elf, module, posix_spawn: Correct naming of global variables that violations the naming requirements of the coding standard.
2018-07-12 09:53:38 -06:00
Gregory Nutt
3ab2aec4e8
New apps/examples/module and sotest configuration options
2017-01-30 09:04:01 -06:00
Gregory Nutt
32211e21b6
apps/examples: Fix some name collisions of both module and sotest examples are enabled.
2017-01-27 11:41:53 -06:00
Gregory Nutt
d195751a90
Update NSH and examples/modules for changes in kernel module interface.
2017-01-22 15:11:49 -06:00
Gregory Nutt
d5b7268d95
ramdisk.h moved from include/fs/nuttx/ to include/nuttx/drivers.
2016-07-20 14:02:41 -06:00
Gregory Nutt
41c673d95d
apps/examples/module: cosmetic update to printf statements
2015-12-14 13:21:39 -06:00
Gregory Nutt
f0a21d3d48
NSH: Add module commands: insmod, rmmod, and lsmod
2015-12-13 09:55:52 -06:00
Gregory Nutt
d198f09ae3
Update examples/module and system/symtab to adjust to change in boardctl() and insmod() interfaces
2015-12-13 08:14:44 -06:00
Gregory Nutt
469a7fdf0f
examples/module: Update for changes in function prototypes
2015-12-12 17:43:06 -06:00
Gregory Nutt
6c14e176d9
apps/examples/module: Now exercises rmmod as well
2015-12-12 11:40:33 -06:00
Gregory Nutt
d02295d1f2
apps/examples/module: Add a test harness for testing NuttX kernel modules
2015-12-12 09:43:32 -06:00