Commit Graph

33 Commits

Author SHA1 Message Date
YAMAMOTO Takashi
e7156be066 Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE
This commit changes only ones with the default 2048 and
leaves the others.
E.g. this leaves SYSTEM_RAMTEST_STACKSIZE, whose default is 1024.
I guess those need to be inspected one-by-one.
2020-03-27 02:43:11 -05:00
Xiang Xiao
41d88f06e7 Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
Xiang Xiao
d660492289 Run codespell -w against all files
and fix the wrong correction
2020-02-22 14:41:36 -06:00
Xiang Xiao
31a7b99f9c apps.: Remove the inappropriate NSH_BUILTIN_APPS coupling
1. Check NSH_NETINIT for self network initialization
2. Check NSH_ARCHINIT for sel arch specific initialization
3. Always show help regardless of NSH_BUILTIN_APPS
4. Loop forever regardless of NSH_BUILTIN_APPS, user could:
  a.change the default behavior by the command line argument
  b.or ctrl+c to break out the loop
2019-10-07 02:37:56 -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
Xiang Xiao
63c3772888 CONFIG_BUILD_LOADABLE: Check the kernel function callable by BUILD_KERNEL instead of BUILD_LOADABLE since BUILD_LOADABLE could be turned on even with BUILD_FLAT. 2019-10-03 14:10:32 -06:00
Nathan Hartman
3a75edca20 Fix minor typo/copy-paste: 'will be use when'->'will be used when' 2019-08-23 11:59:28 -06:00
anchao
b5cfd93444 apps/: Modification to build system: Unified application compilation rules 2018-09-03 09:29:56 -06:00
EunBong Song
1ee6fbf296 Merged in ebsong/fork-apps (pull request #152)
Master

* nettest: fix typo!

    NET_LOOPBACK -> CONFIG_NET_LOOPBACK

    Signed-off-by: EunBong Song <eunb.song@samsung.com>

* nettest: fix compilation error.

    Should enable NET_SETSOCKOPT for preventing compilation error.

    Signed-off-by: EunBong Song <eunb.song@samsung.com>

Approved-by: GregoryN <gnutt@nuttx.org>
2018-08-28 13:46:49 +00: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
Gregory Nutt
c7e7b42b06 examples/nettest/: Loopback option shoudl be available in Kconfig for PktRadio. 2017-08-01 17:22:01 -06:00
Gregory Nutt
664ab42da7 examples/udp and examples/nettest: Fix some naming collisions; examples/nettest: Fix some build issues with two targets. 2017-06-25 09:15:27 -06:00
Gregory Nutt
b868fbe879 examples/nettest: The send buffer size is now a configuration option. 2017-06-24 09:49:44 -06:00
Gregory Nutt
3c97bfeae6 examples/nettest: Fixes for building with loopback device again after the last changes. 2017-06-23 19:14:39 -06:00
Gregory Nutt
a3ac695f17 examples/nettest: Add support for both enpoints on target boards vs. one on a target and one on the host PC. 2017-06-23 18:12:34 -06:00
Gregory Nutt
1c0f237c06 examples/nettest: More prep for a second target 2017-06-23 15:49:27 -06:00
Gregory Nutt
a0251ae974 examples/nettest: Fix client/server naming confusion; add command line option to select the server address on the target; examples/udp: Fix naming of a configuration setting 2017-06-23 12:21:13 -06:00
Gregory Nutt
eef0161dd4 examples/nettest: Trying to adapt to use for testing 6loWPAN. 2017-04-03 15:33:39 -06:00
Gregory Nutt
a7853cdc89 apps/examples/nettest: Extend the test so that it can be down using the local loopback device 2015-08-26 10:35:40 -06:00
Gregory Nutt
6cedfcd632 apps/examples/nettest: Add option to suppress networking initialization 2015-08-26 09:06:41 -06:00
Gregory Nutt
d5b6949c9f Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:14:53 -06:00
Gregory Nutt
dc527f5c9d Fix errors in range of IPv6 netmask range in Kconfig files 2015-02-05 10:47:42 -06:00
Gregory Nutt
1b9d7c1522 ICMPv6: Some initial bugfix from first tests of the ICMPv6 auto-configuration logic. so far so good but a lot more testing is needed 2015-02-03 16:19:08 -06:00
Gregory Nutt
6273eb0160 ICMPv6: This completes coding of the ICMPv6 auto-configuration feature. It is not yet functional 2015-02-03 15:40:56 -06:00
Gregory Nutt
a49685c155 apps/examples/udp: The UDP test example has been extend to support IPv6 domain sockets 2015-01-22 15:30:23 -06:00
Gregory Nutt
8c02b30555 apps/examples/nettest: Update test so that it can be used to test IPv6 TCP sockets 2015-01-20 18:12:27 -06:00
Gregory Nutt
817c49547a networking: Fix one place where the reference count was not being zeroed. This is really a cosmetic fix UNLESS CONFIG_DEBUG_NET is enabled, then it causes assertions 2014-02-25 16:41:11 -06:00
patacongo
7dda31ce55 apps/examples/nettest and poll: Complete Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5556 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 16:28:15 +00:00
patacongo
1d88f972a6 update Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4598 42af7a65-404d-4744-a932-0658087f49c3
2012-04-13 02:14:09 +00:00
patacongo
fd496ea42f Add kconfig documentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4567 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:45:52 +00:00
patacongo
3fe79ff511 Adding skeleton Kconfig files (part 3 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4566 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:33:17 +00:00