Commit Graph

23 Commits

Author SHA1 Message Date
Xiang Xiao
1154735ca6 Refine the preprocess conditional guard style 2020-01-31 11:04:10 -06:00
Gregory Nutt
3da8091d30 Include nuttx/symtab.h instead of nuttx/binfmt/symtab.h since symtab.h under binfmt folder is for internal use. 2019-12-10 08:39:22 -06:00
Xiang Xiao
e806097c70 Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard. 2019-10-06 06:14:56 -06:00
Gregory Nutt
9db029e318 The file system can no longer be disabled. Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS==0 2019-02-11 13:10:10 -06:00
anchao
220653f21c Squashed commit of the following:
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.
2018-08-23 11:06:15 -06:00
Gregory Nutt
2f982e9c77 Revert "Squashed commit of the following:"
This reverts commit 25b92edd9ff5f7d37cc7f201294f3215e5ac6332.
2018-08-22 12:06:32 -06:00
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