Commit Graph

249 Commits

Author SHA1 Message Date
Gregory Nutt
d8a239d649 Use more standard *argv[] instead easier **argv 2014-09-06 09:23:23 -06:00
Gregory Nutt
9f7c9b273f With kernel build, entry point to all tasks is main, not some xyz_main 2014-09-06 09:19:15 -06:00
Gregory Nutt
d6bcd1a93a Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished) 2014-09-06 08:00:47 -06:00
Gregory Nutt
dd8d40dabd Remove final traces of the 8015 from the NuttX source tree 2014-09-01 13:21:15 -06:00
Gregory Nutt
7fca1ae30c wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide. 2014-08-21 11:16:55 -06:00
Gregory Nutt
39cd029b28 Cosmetic 2014-08-17 09:46:42 -06:00
Gregory Nutt
9efd3f8323 uIP webserver: Missing logic to close sockets on loop termination. From Max. 2014-07-28 07:23:04 -06:00
Gregory Nutt
767f1b2993 Fix netutils configuration issues: CONFIG_NETUTILS_HTTPD_SENDFILE was missing from Kconfig; CONFIG_NET_HAVE_SOLINGER should be CONFIG_NET_SOLINGER; Type of CONFIG_NET_HTTPD_MAXPATH was wrong in Kconfig file. From Max 2014-07-11 12:30:23 -06:00
Gregory Nutt
aa48010271 WGET: Fix from Rony Xln 2014-07-08 07:29:38 -06:00
Gregory Nutt
42d4d7a7e0 NET: Most of the contents of include/nuttx/net/udp.h moved to net/pkt/udp.h 2014-07-05 14:40:29 -06:00
Gregory Nutt
5355664353 NET: Another missing header file. Noted by Manuel Stühn 2014-07-05 07:06:51 -06:00
Gregory Nutt
633fae427d NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed. 2014-07-04 19:13:08 -06:00
Gregory Nutt
069c43a5dd Remove all inclusion of uip.h 2014-07-04 16:58:22 -06:00
Gregory Nutt
97d6f97df7 NET: in-progress change... don't use 2014-07-04 16:38:51 -06:00
Gregory Nutt
fcffe2e824 NET: More renaming 2014-07-04 15:40:49 -06:00
Gregory Nutt
e7fedfa4a5 NET: Rename functions in apps/netutils/netlib to begin with netlib_ vs uip_ 2014-07-02 16:52:02 -06:00
Gregory Nutt
d8e69bb0c1 Rename files apps/netutils/netlib/uip_*.c to apps/netutils/netlib/netlib_*.c 2014-07-02 16:16:51 -06:00
Gregory Nutt
2ee5041477 NET: Rename uiplib/UIPLIB to netlib/NETLIB 2014-07-02 16:04:25 -06:00
Gregory Nutt
44ea3903f9 DHCPD: Missed name change uip_lock->net_lock 2014-06-30 19:31:27 -06:00
Gregory Nutt
b7d73dab81 NET: Rename uip_ipaddr* to net_ipaddr* 2014-06-29 13:11:08 -06:00
Gregory Nutt
165e5df670 NET: Renaming of IP address types 2014-06-29 12:22:50 -06:00
Gregory Nutt
80f8944eeb Fixes for networking and tiny webserver from Max 2014-06-29 09:30:09 -06:00
Gregory Nutt
7a7976652e Clean up all UDP-related naming 2014-06-24 18:55:01 -06:00
Gregory Nutt
817e256db3 Move the remaining files from include/nuttx/net/uip to include/nuttx/net; Rename *_internal.h header files in net/ to just *.h 2014-06-24 10:14:15 -06:00
Gregory Nutt
d76252f196 Move include/nuttx/net/uipopt.h to include/nuttx/net/netconfig.h 2014-06-24 08:53:28 -06:00
Gregory Nutt
4fddd6a3f7 httpd_fs_open() should return OK on success and ERROR on failure, not 1 and 0 2014-06-23 12:57:03 -06:00
Gregory Nutt
d7372fbdbc Costmetic changes after review for sense of OK (should be zero) 2014-06-19 07:58:43 -06:00
Gregory Nutt
86a4890fca Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_ 2014-05-30 12:13:06 -06:00
Gregory Nutt
2b0f1ed109 Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt
9ef702f5b1 zkit-arm-1769: Refreshed all configurations 2014-04-19 09:18:38 -06:00
Gregory Nutt
b9cf7acb1a More trailing whilespace removal 2014-04-13 16:24:28 -06:00
Gregory Nutt
7d961b6c93 Cosmetic changes for coding style; removal of dangling spaces at the end of lines 2014-04-13 13:18:06 -06:00
Gregory Nutt
171db56b69 Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
bb851fc8b5 Make sure that there is one space between while and condition 2014-04-12 13:09:48 -06:00
Gregory Nutt
17702dbad2 Make sure that there is one space between if and condition 2014-04-12 12:53:19 -06:00
Gregory Nutt
638fad2d36 Corrections to the NTP client from Manuel Stuehn 2014-04-12 08:03:03 -06:00
Gregory Nutt
e2153dd2b7 Accidentally checked in a .built file 2014-04-11 13:46:11 -06:00
Gregory Nutt
a0d6777c23 Breadk dnsclient.c file into three smaller files: dns_resolver.c, dns_socket.c, and dns_gethostip.c 2014-04-11 13:43:15 -06:00
Gregory Nutt
8b386385ab The rest of the resolv->DNS client naming change: Renamed directories and header files 2014-04-11 12:41:13 -06:00
Gregory Nutt
51f553c9a4 Long needed clean up of DNS resolver for coding style and naming conventions 2014-04-11 12:25:32 -06:00
Gregory Nutt
396316881e NTP client: Fix a time calculation for the case of CPUs that do not support long long 2014-04-11 09:24:59 -06:00
Gregory Nutt
e72ec4ad00 NTP client, more clean-up and minor enhancements 2014-04-11 09:02:50 -06:00
Gregory Nutt
b2080e94f7 NTP client, minor clean-up and enhancements 2014-04-11 08:27:15 -06:00
Gregory Nutt
693d73cc0d apps/netutils/ntpclient: Add a primitive NTP client. Initial checkin is untested and probably incomplete 2014-04-10 18:15:06 -06:00
Gregory Nutt
217aa7835e DHCPD: Correct value of PAD option is 0, not 1. From Brennan Ashton 2014-03-31 12:33:52 -06:00
Gregory Nutt
65b0ea1b8c Add missing DHCPD configuration settings 2014-03-03 18:12:45 -06:00
Gregory Nutt
9b172004c0 dhcpd_allocipaddr() should not call ntohl(). The return value is already in host order. From Brennan Ashton 2014-03-03 17:46:56 -06:00
Gregory Nutt
da0235e8e6 Olimex LPC1766STK: FTPC configure changed to use the kconfig-fronteds tools by Alan Carvalho de Assis 2014-02-20 15:34:59 -06:00
Gregory Nutt
4183932d04 Typo fixes from CCTSA0. Thanks 2014-02-14 11:08:05 -06:00
Gregory Nutt
3669b6799a More changes to reduce complaints from CppCheck. Some latent bugs fixes, but probably some new typos introduced 2014-02-10 19:11:56 -06:00
Gregory Nutt
c21071dfd3 VI: all commands not seem functional. Still at least on display artifact and probably some things not properly tested 2014-01-21 11:29:49 -06:00
Gregory Nutt
1919b2f6a3 Networking: Improved status reporting and new carrier management interfaces. From Max Holtzberg 2014-01-21 10:21:45 -06:00
Gregory Nutt
d89adb76d8 If write buffering is enabled, then it is necessary to release the write buffer resources (callback structure) when the socket is closed 2014-01-14 18:19:43 -06:00
Gregory Nutt
af14026800 Change how TCP read-ahead is selected to better integrate with TCP write buffering 2014-01-13 13:55:51 -06:00
Gregory Nutt
e0156d95a1 NSH Configuration: Refactor networking and netutils dependencies 2014-01-09 10:46:28 -06:00
Gregory Nutt
e7184c27db Viewtool STM32F107: Add a NSH configuration with network support 2013-12-25 12:14:24 -06:00
Gregory Nutt
b914af7836 Telnetd: Missing argument in debug statement can cause crash in certain error conditions. From David Sidrane 2013-10-24 07:21:56 -06:00
Gregory Nutt
dec3293e02 apps/examples/cc3000: Extensions and enhancements from David Sidrane 2013-10-23 08:25:40 -06:00
Gregory Nutt
73e10bd839 New touchscreen scaling algorithm for the case where measured X values vary with y position (and vice versa) 2013-10-17 12:07:14 -06:00
Gregory Nutt
31a0c289d7 Clean-up routing table design. 2013-10-05 12:05:51 -06:00
Gregory Nutt
6678759e5f SAMA5 EMAC: Changes from early debug sessions. Still a way to go 2013-09-17 15:52:19 -06:00
Gregory Nutt
09f534db73 DHCPD: Fix calculation of lease address. Bad logic causes repeated assignment of the same IP address. SourceForge bug #21 from Paolo Messina. 2013-09-06 08:10:54 -06:00
Gregory Nutt
b673cbebb9 Updates to README files 2013-06-01 17:25:16 -06:00
Gregory Nutt
424fbe6583 .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00
Gregory Nutt
f9ab52bb5a Upate .gitignore files. Add .dSYM. Make sure / is present where needed. Add some missing .gitignore files 2013-05-30 14:45:31 -06:00
Gregory Nutt
ec32c5e636 Add runtime configuration for UDP discovery utility. From Max Holtzberg 2013-05-21 12:47:07 -06:00
Gregory Nutt
2f720ee01f More changes for issues reported by CppCheck 2013-05-11 08:51:21 -06:00
Gregory Nutt
acd37d95e4 Various Kconfig files still have references to CONFIG_ variables. Some in harmless comments, some in config definionts which is not harmless. All removed 2013-04-25 15:52:00 -06:00
Gregory Nutt
6a5d2a359c New Kconfig convention: Extra indentation in comments will render as HTML preformatted text 2013-04-22 09:10:58 -06:00
Gregory Nutt
5a6f09d791 Mostly updates and corrections to .gitignore files 2013-04-04 15:39:50 -06:00
Gregory Nutt
470a04b8f9 Clone svn:ignore directory atributed to .gitignore files 2013-04-04 14:27:29 -06:00
patacongo
888c3d1618 Add a THTTPD configuratin for zkit-arm-1769
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5675 42af7a65-404d-4744-a932-0658087f49c3
2013-02-26 16:28:30 +00:00
patacongo
cca7618daa All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5599 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 19:32:46 +00:00
patacongo
d39a78a910 Centralize TCP loss-of-connection bit twiddling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5542 42af7a65-404d-4744-a932-0658087f49c3
2013-01-20 17:21:42 +00:00
patacongo
b4cff0fa72 Yet another repair for the previouis botched recvfrom() fix; Fix telnet driver: It needs to break out of the read loop if 0 (meaning not conneced) of a value < 0 (an error) is encountered.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5541 42af7a65-404d-4744-a932-0658087f49c3
2013-01-20 00:41:33 +00:00
patacongo
ee7d4f64c1 Remove some dependencies of distclean on clean. This should not be necessary in higher level makefiles and should speed up make distclean
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5453 42af7a65-404d-4744-a932-0658087f49c3
2012-12-23 17:35:06 +00:00
patacongo
2d8bb1d2cb Add chip ID funcitions for Shenzhou and Cloudctrl boards; Extened NSH ifconfig command and improve DHCPC -- All from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5393 42af7a65-404d-4744-a932-0658087f49c3
2012-11-27 16:26:54 +00:00
patacongo
9948193f7a configs/z8f64200100kit/ostest at same level as ez80 configurations; nuttx/arch/arm/src/lpc17xx/lpc17_i2c.cuninitialization fix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5392 42af7a65-404d-4744-a932-0658087f49c3
2012-11-27 15:09:12 +00:00
patacongo
08f0823241 Missing comma in EVERY DELFILE/DELDIR macro call in every Makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5373 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 15:47:41 +00:00
patacongo
1d7bb0fa07 Most of the changes needed to support Windows native clean; distclean is has a problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
2012-11-17 18:54:53 +00:00
patacongo
1212322080 Mostly cosmetic build changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5362 42af7a65-404d-4744-a932-0658087f49c3
2012-11-16 14:13:04 +00:00
patacongo
b567ff612f Fix a place that had a '\' but needed a '/'
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5359 42af7a65-404d-4744-a932-0658087f49c3
2012-11-15 19:35:15 +00:00
patacongo
fdd281eaff Fix various build-related typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5358 42af7a65-404d-4744-a932-0658087f49c3
2012-11-15 19:22:47 +00:00
patacongo
c729930c69 Move some (hopefully) un-necessary quotes in Makefiles for Mike
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
2012-11-15 17:43:29 +00:00
patacongo
5d5c040379 Simple window natives OS test build now works; Probabaly more to do for other configs; clean targets still have problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5355 42af7a65-404d-4744-a932-0658087f49c3
2012-11-14 20:59:36 +00:00
patacongo
3341e94420 Centralized the definition of the INCDIR script in tools/Config.mk
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5346 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 20:24:30 +00:00
patacongo
fdb8f8a0de Changes to get a clean ez80 build using the ZDS 5.1.1 toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5341 42af7a65-404d-4744-a932-0658087f49c3
2012-11-12 15:22:27 +00:00
patacongo
0bf121d698 A few more build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5340 42af7a65-404d-4744-a932-0658087f49c3
2012-11-12 01:54:54 +00:00
patacongo
3e25d82213 Correct some issues with last check-in; ez80 still does not build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5339 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 23:44:31 +00:00
patacongo
ffe4fc1c0c Partial change: Removing bash ARCHIVE loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5336 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 16:24:40 +00:00
patacongo
ddc2a64224 Fix apps/netutils/webclient build problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5317 42af7a65-404d-4744-a932-0658087f49c3
2012-11-06 16:59:45 +00:00
patacongo
416434f834 Add interfaces flags, extend ifconfig, add ifup and ifdown commands (Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5308 42af7a65-404d-4744-a932-0658087f49c3
2012-11-04 18:54:04 +00:00
patacongo
93870670fa Add support for wget POST interface; from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5301 42af7a65-404d-4744-a932-0658087f49c3
2012-11-03 00:00:56 +00:00
patacongo
3c077acd5c Add apps/examples/wgetjson from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5281 42af7a65-404d-4744-a932-0658087f49c3
2012-10-31 16:04:45 +00:00
patacongo
97fd74fbdd Add apps/netutils/codecs and associated NSH commands from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5280 42af7a65-404d-4744-a932-0658087f49c3
2012-10-31 14:36:00 +00:00
patacongo
d943f61d2d DNS fixes from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5268 42af7a65-404d-4744-a932-0658087f49c3
2012-10-28 13:20:36 +00:00
patacongo
2a038d1bc0 Add port of cJSON from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5267 42af7a65-404d-4744-a932-0658087f49c3
2012-10-27 18:21:26 +00:00
patacongo
89de09755e Move binfmt.h, nxflat.h, elf.h, and symtab.h to include/nuttx/binfmt/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5252 42af7a65-404d-4744-a932-0658087f49c3
2012-10-24 20:19:44 +00:00
patacongo
5969fde964 Update documentation for recently added configuration options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5241 42af7a65-404d-4744-a932-0658087f49c3
2012-10-20 21:42:19 +00:00
patacongo
eeb6e62b74 Ping/DNS fixes (part 2 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5236 42af7a65-404d-4744-a932-0658087f49c3
2012-10-20 14:15:59 +00:00