Commit Graph

1562 Commits

Author SHA1 Message Date
Gregory Nutt
7b925ccb4c apps/builtin: better fix for building with parallel make
Build-server sometimes fails 'make -j24' with:

 In file included from builtin_list.c:62:0:
 builtin_list.h:1:46: error: 'ts_engine_main' undeclared here (not in a function)
  { "ts_engine", SCHED_PRIORITY_DEFAULT, 2048, ts_engine_main },

or sometimes silently succeeds but generates builds that contain
a random subset of configured NuttX applications. There are two
root causes for this:

1) Recipes for building builtin_list.h and builtin_proto.h are not
   linearizable.
2) Nothing ensures that 'make context' is run first for apps/builtin

This patch addresses both issues.

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2015-02-03 08:24:24 -06:00
Gregory Nutt
5499189417 Add netlib and application hooks for ICMPv6 auto-configuration (still incomplete 2015-02-03 08:01:55 -06:00
Gregory Nutt
3b60c71103 NSH: Fix error in conditional compilation in PS command. From Macs N 2015-02-03 07:21:56 -06:00
Gregory Nutt
13854c8b5a Removed forced enable of CONFIG_READLINE_ECHO in apps/system/readline/readline.h 2015-02-01 13:15:31 -06:00
Gregory Nutt
0724e7ccf3 drivers/ramdisk.c and include/nuttx/fs/ramdisk.h: Add logic to dispose of the drvier and RAM buffer when the RAM disk has been unlinked and all open references to the RAM disk have been closed. Add new parameters to romdisk() to specify what should be done with the RAM/ROM buffer -- Should it be freed or not? Changed all calls to ramdisk() to use these new parameters. 2015-02-01 07:24:16 -06:00
Gregory Nutt
f5558cd10e Unix domain/FIFOs: Fix a race condition between FIFO buffer operations and the opening and closing of FIFOs which necessary when the FIFOs are used to support Unix domain, datagram sockets. The default policy is the deallocate FIFO buffering when the last client closes the pipe. When when used for datagram communicatinos, packets left in the FIFO will be lost. Some like UDP read-ahead is needed: The buffered data in the FIFO needs to be retained until the reader gets a chance to re-open the FIFO. Added an ioctl (PIPEIOC_POLICY) to control the buffer policy. Default (0) is the legacy behavior; Unix domain datagram logic sets the alternative policy so that the packet data persists after the FIFO is closed. 2015-01-30 11:14:24 -06:00
Gregory Nutt
ac103febad apps/ustream and udgram: Change default FIFO path to /dev/fifo 2015-01-30 09:07:22 -06:00
Gregory Nutt
dcce1649e3 Cosmetic updates to comments 2015-01-29 15:26:03 -06:00
Gregory Nutt
c335a7fe87 Unix domain: Various fixes to get apps/examplex/udgram working 2015-01-29 11:05:04 -06:00
Gregory Nutt
1593229612 Reorder statements: printf clobbers errno value 2015-01-29 10:08:04 -06:00
Gregory Nutt
72d3a733a8 Elminate some warnings with TCP and UDP are disabled 2015-01-29 09:33:45 -06:00
Gregory Nutt
542363e630 apps/examples/udgram: Add option to configure program name and task properties 2015-01-29 09:33:06 -06:00
Gregory Nutt
b437cadc03 Minor fixes after initial tests with apps/examples/udgram 2015-01-28 15:27:54 -06:00
Gregory Nutt
e6f43d2ed8 apps/examples/udgram: Improve some size tests and improve error reporting 2015-01-28 14:58:22 -06:00
Gregory Nutt
e2327502f8 Update ChangeLog 2015-01-28 14:29:07 -06:00
Gregory Nutt
f429f54aa2 apps/examples/udgram: Add a simple test of Unix domain datagram sockets 2015-01-28 14:28:11 -06:00
Gregory Nutt
1c2cb493e6 Unix domain: More fixes. With these changes, apps/examples/ustream works 2015-01-28 08:39:48 -06:00
Gregory Nutt
b7fa5a3359 Unix domain: A few fixes from early integration 2015-01-27 16:39:30 -06:00
Gregory Nutt
5060e08fcb Unix domain: With these changes I can build a system with no link layer enabled, only Unix domain sockets 2015-01-27 15:26:03 -06:00
Gregory Nutt
f6499a4813 apps/examples/ustream: Fix error in Makefile 2015-01-27 14:46:01 -06:00
Gregory Nutt
a4e66459d0 Various fixes to get Unix domain sockets to build on the simulator without Ethernet 2015-01-27 14:11:46 -06:00
Gregory Nutt
8a9c5f38a5 Update ChangeLogs 2015-01-27 13:43:20 -06:00
Gregory Nutt
e894bd703a Add a simple test of the Unix domain sockets 2015-01-27 13:41:45 -06:00
Gregory Nutt
1e6066ad81 Update ChangeLogs 2015-01-26 19:08:07 -06:00
Gregory Nutt
8105aa541d Add math library defines for nan functions. From Brennan Ashton. 2015-01-26 19:03:38 -06:00
Gregory Nutt
8e79323694 Add math library support for trunc functions. From Brennan Ashton. 2015-01-26 19:00:35 -06:00
Gregory Nutt
1987004b72 Add math library support for copysign. From Brennan Ashton 2015-01-26 18:52:28 -06:00
Gregory Nutt
c4cc30bafd Prep for NuttX-7.7 release 2015-01-26 09:35:27 -06:00
Gregory Nutt
0c7864ae68 NSH: A few minor improvements/corrections to the network status presentation 2015-01-24 09:11:12 -06:00
Gregory Nutt
6d2ecf8a79 Fix another error in conditional compilation; plus some additional cosmetic changes 2015-01-24 09:04:28 -06:00
Gregory Nutt
d001ccb196 Correct a typo in conditional compilation 2015-01-24 08:38:13 -06:00
Gregory Nutt
13a3c2930f Update ChangeLogs 2015-01-24 08:27:54 -06:00
Gregory Nutt
beaa7b74a6 Networking: Clean up network status collection and presentation for IPv6 2015-01-24 08:26:12 -06:00
Gregory Nutt
80c1704d85 Oops missed one reference to DEBUG_STACK 2015-01-24 07:17:56 -06:00
Gregory Nutt
5f44b2d6f7 Networking: IPv4 and IPv6 work together. This fixes a bug necessary to accomplish that as well as cleaning up a couple of other issues 2015-01-23 16:40:18 -06:00
Gregory Nutt
5ef7594ebe Update README file 2015-01-23 15:58:33 -06:00
Gregory Nutt
55ac29ac27 Networking: Various bugfixes related to IPv6 ping 2015-01-23 14:40:09 -06:00
Gregory Nutt
eb77eccb79 Update ChangeLog 2015-01-23 12:51:03 -06:00
Gregory Nutt
b39fb98d86 apps/nshlib: Add the ping6 command to support checking IPv6 networks. NSH logic is complete but still missing some network level support 2015-01-23 12:49:49 -06:00
Gregory Nutt
d91ae1cd0e Add to .depend dependencies to eliminate an error at dependency generation time 2015-01-23 08:03:53 -06:00
Gregory Nutt
5987ae25af Add config.h to .gitignore 2015-01-23 07:13:18 -06:00
Gregory Nutt
bc412e0412 Update ChangeLog 2015-01-22 15:31:12 -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
2becaa5455 Update ChangeLogs 2015-01-22 06:55:09 -06:00
Gregory Nutt
746f3919cd Networking: Correct the value returned by accept() in the case where net_lockingwait() is called. It was returning -1 and losing the errno value. Noted by Rony Xln 2015-01-22 06:51:31 -06:00
Gregory Nutt
680ee615fa apps/netutils/telnetd: Add protection when CONFIG_SCHED_HAVE_PARENT is enabled: Call sigaction with SA_NOCLDWAIT so that exit status is not retained (no zombies) and block receipt of SIGCHLD so that accept is not awakened by a signal. Iff accept() is awakened by a signal, do not do anything crazy like exit. Most from Rony Xln 2015-01-22 06:33:55 -06:00
Gregory Nutt
2949e13237 Merge remote-tracking branch 'origin/master' into ipv6 2015-01-21 08:05:41 -06:00
Gregory Nutt
9a7cac88b9 apps/examples/nettest: Fix address initializaiton, HTONS not HTNOL 2015-01-21 08:04:22 -06:00
Gregory Nutt
36703532e5 Should fix some errors reported by Travis 2015-01-20 20:54:51 -06:00
Gregory Nutt
dd1301e736 Update ChangeLog 2015-01-20 18:15:54 -06:00