Commit Graph

13 Commits

Author SHA1 Message Date
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
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 25b92edd9f.
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
ziggurat29
20446c9e03 minor; media app is intended to take either a command line argument, or a compiled-in default value from config. However, the default is ignored, leading to confusing error messages. 2016-07-17 15:10:26 -05:00
Sebastien Lorquet
6142ed8e61 apps/exmamples/media: Allow choosign the device to be tested via a comman line argument 2016-06-01 08:15:10 -06:00
ziggurat29
5d61e3d6eb heap corruption due to buffer overrun when initializing txbuffer; incorrect size 2016-04-20 20:23:01 -05:00
Gregory Nutt
f8621e623d examples/media: If it is an MTD device, then do a bulk erase first 2015-11-13 11:30:52 -06:00
Gregory Nutt
7f0ff3a6db examples/media: Add some more informative output 2015-11-10 13:35:10 -06:00
Gregory Nutt
ae8e89eed0 examples/media: Need to update position before seeking; handle the too-many-error case more gracefully 2015-11-10 11:34:33 -06:00
Gregory Nutt
a584ef09aa examplex/media: Need to seek back to beginning of file on second pass 2015-11-09 13:33:37 -06:00
Gregory Nutt
5fdd68f014 Flesh out examples/media 2015-11-09 13:10:00 -06:00
Gregory Nutt
9ee96d1430 examples/media: Add a simple test of access to media by block and MTD drivers 2015-11-09 11:45:44 -06:00