Commit Graph

672 Commits

Author SHA1 Message Date
Gregory Nutt
99d374aab2 Needs to include nuttx/board.h, not nuttx/arch.h for button interfaces 2015-03-14 11:59:44 -06:00
Gregory Nutt
6952cdf8ac OS test: Improved error checking for sem_timedwait() from Juha Niskanen 2015-02-20 07:31:59 -06:00
Gregory Nutt
1d369fb376 apps/examples/ostest: Sample errno on returns from sem_timedwait(). Otherwise, intervening system calls my change the value of the reported errno. Noted by Juha Niskanen 2015-02-19 08:41:15 -06:00
Gregory Nutt
23dfce6275 Suffer the consequences of moving struct timeval to its correct location 2015-02-15 15:18:35 -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
5499189417 Add netlib and application hooks for ICMPv6 auto-configuration (still incomplete 2015-02-03 08:01:55 -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
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
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
f6499a4813 apps/examples/ustream: Fix error in Makefile 2015-01-27 14:46:01 -06:00
Gregory Nutt
e894bd703a Add a simple test of the Unix domain sockets 2015-01-27 13:41:45 -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
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
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
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
953c0fb069 Rename IPv4 netlib functions and files to make room in the namespace for corresponding IPv6 functions and files 2015-01-18 14:17:00 -06:00
Gregory Nutt
981ca845cd apps/examples/udp/Kconfig: Default setting is backward 2015-01-17 11:55:50 -06:00
Gregory Nutt
9a23be0cd2 Tiva Timer: Timer test must attach a timer handler or the timer is stopped at the first interrupt 2015-01-13 15:55:54 -06:00
Gregory Nutt
da7402f174 apps/exemples/timer: Add a trivial test of the timer driver 2015-01-13 12:57:26 -06:00
Gregory Nutt
221f65d460 stm32: update description and code documentation. Also fixes a few code formattings.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-29 09:59:46 -06:00
Gregory Nutt
e67bd189a3 STM32 LTDC: Move ltdc.h from include/nuttx/video to arch/arm/include/stm32; Trivial updates after general review 2014-12-19 14:52:17 -06:00
Gregory Nutt
2caba712f6 example: add ltdc test example
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 14:32:08 -06:00
Gregory Nutt
e6927cfcac Traveler: Add support for analog joystick 2014-12-14 08:55:18 -06:00
Gregory Nutt
0d8247ef29 apps/examples/ostest: Missing prototype for nsem_test() 2014-12-06 07:33:40 -06:00
Gregory Nutt
308ba69e7c Add graphic device initialize logic (incomplete) 2014-12-03 16:48:05 -06:00
Gregory Nutt
cfe59305b6 SAMA5D3 Xplained: A few fixes for the AJoystick driver (still not working) 2014-12-03 14:33:00 -06:00
Gregory Nutt
c7a8631954 Add an analog joystick test/example 2014-12-03 09:34:47 -06:00
Gregory Nutt
62cb2f3c06 Fixes to get the discrete joystick driver and test working 2014-11-28 15:56:18 -06:00
Gregory Nutt
fa78b7caf9 apps/examples/djoystick: Add a test of the discreate joystick driver 2014-11-28 15:37:33 -06:00
Gregory Nutt
bf0b1b6bb0 Remove some debug output that was accidentally left in a preceding commit 2014-11-28 07:11:12 -06:00
Gregory Nutt
344a6aafeb fix romfs example builtin app registry issue. From Librae. 2014-11-27 06:44:01 -06:00
Gregory Nutt
b2c867f214 More ccpcheck-related fixes 2014-11-25 17:28:22 -06:00
Gregory Nutt
8aae2cfc11 Fixes for more cppcheck complaints. Mostly cosmetic 2014-11-25 14:51:10 -06:00
Gregory Nutt
045c01c7b3 More fixes to issues noted by cppcheck 2014-11-25 11:45:00 -06:00
Gregory Nutt
b5c4fbf7b6 Fixes for more complaints from cppcheck 2014-11-25 10:32:54 -06:00
Gregory Nutt
6d63658c46 Fixes for more complaints from cppcheck 2014-11-25 08:09:57 -06:00
Gregory Nutt
249ae54510 Fix routing of muli-network UDP packets 2014-11-21 17:44:12 -06:00
Gregory Nutt
0e8992d9ac apps/examples/bridge: Lots of fixes. I think it is working although I have still have host firewall issues in testing 2014-11-21 10:16:19 -06:00
Gregory Nutt
1c28218d7b apps/examples/bridge: Fixes some bugs in test driver. Still does not work 2014-11-21 08:50:34 -06:00
Gregory Nutt
be61a5d297 apps/examples/bridge: Add host-side test driver 2014-11-21 08:20:25 -06:00
Gregory Nutt
46b949ecaa Due to limitations in port unique-ness, have to use unique port numbers in apps/examples/bridge for now 2014-11-17 15:40:37 -06:00
Gregory Nutt
2cc89a943e apps/examples/bridge: Add a simple UDP relay bridge for testing configurations with multiple networks 2014-11-17 10:53:43 -06:00
Gregory Nutt
3541435aa1 Fix trivial typo in a comment 2014-11-17 10:22:54 -06:00
Gregory Nutt
ffbfe4d365 These examples all set the IP address of eth1 is DHCP is enabled. That can't be right??? 2014-11-17 07:21:55 -06:00
Gregory Nutt
64b8c1841c Clarify MTU/BUFSIZE in apps/ README.txt files and Documentation 2014-11-16 08:50:36 -06:00
Gregory Nutt
f9074a02ad Network: Various fixes for clean compile with both Ethernet and SLIP 2014-11-15 13:52:39 -06:00
Gregory Nutt
a32e3bdb7b Remove use of CONFIG_MAX_TASK_ARGS from examples/thttpd 2014-11-13 06:27:09 -06:00
Gregory Nutt
7dc7e40796 Remove circular dependins in the Kconfig files. Makes select of apps/examples/bastest a little more difficult 2014-11-10 07:48:46 -06:00
Gregory Nutt
70797a1c32 BAS: A few more fixes to the test 2014-11-09 08:41:21 -06:00
Gregory Nutt
4f1d02e5cf BAS: Misc changes to test files 2014-11-09 08:21:40 -06:00
Gregory Nutt
31330b56c0 Auto select ROMFS if BASTEST is selected 2014-11-08 07:19:17 -06:00
Gregory Nutt
c2c42f5e5b BAS: Fix some build errors wtih apps/examples/bastest 2014-11-07 15:35:09 -06:00
Gregory Nutt
e0b6137de7 BAS: Rename examples/bas to examples/bastest. Hook into build and configuration system. Finish ROMFS logic 2014-11-07 15:03:03 -06:00
Gregory Nutt
ae574b0251 BAS: Convert all BAS text scripts to BASIC files 2014-11-07 14:36:02 -06:00
Gregory Nutt
d6155e75fb BAS: Move test files from apps/interpreter/bas to apps/examples/bas 2014-11-07 14:02:53 -06:00
Gregory Nutt
3a19f48d93 Costmetic changes -- spacing, comments. 2014-10-30 16:33:40 -06:00
Gregory Nutt
4a0449601d Fixes to keypadtest from Pierre-Noel Bouteville 2014-10-23 18:09:58 -06:00
Gregory Nutt
c6914f6a49 Update makefile for kernel-build issues 2014-10-22 12:07:23 -06:00
Gregory Nutt
48a185f691 Trivial AIO-related changes 2014-10-09 08:34:49 -06:00
Gregory Nutt
2719815dd9 Update everything under apps/ to use the corrected syslog interfaces 2014-10-08 11:34:22 -06:00
Gregory Nutt
88956111df Remove non-portable references to syslog from apps/examples 2014-10-08 08:33:00 -06:00
Gregory Nutt
639e393625 Extend the AIO test 2014-10-07 13:49:20 -06:00
Gregory Nutt
0adba9f88c Add another asynchronous I/O test 2014-10-07 12:42:09 -06:00
Gregory Nutt
d7054c38cc AIO signal related fixes; extensino to AIO test 2014-10-07 09:57:20 -06:00
Gregory Nutt
ca8592433a Add test for aio_cancel() and fix some bugs found by the test 2014-10-06 15:06:01 -06:00
Gregory Nutt
64666ed3d4 AIO test improvements 2014-10-06 11:46:10 -06:00
Gregory Nutt
5d36d57461 Rename CONFIG_LIBC_AIO to CONFIG_FS_AIO since it is now an OS property 2014-10-05 15:44:43 -06:00
Gregory Nutt
5df68dd24d More changes for AIO integration 2014-10-05 14:28:36 -06:00
Gregory Nutt
52c7880c67 First round of changes fo AIO integration 2014-10-05 13:57:55 -06:00
Gregory Nutt
dc9ad8cf61 Add AIO test case in OS test 2014-10-05 13:24:03 -06:00
Gregory Nutt
dc1b219b79 First round of fixes for re-implemented VFS message queues 2014-09-29 16:03:56 -06:00
Gregory Nutt
7af72f4284 Fix to bugs in initial commit of named semaphore test 2014-09-28 13:08:57 -06:00
Gregory Nutt
b98bcd01ad Add a simple named semaphore test to the OS test 2014-09-28 13:02:36 -06:00
Gregory Nutt
4a6077b8d3 Add a trivial test of sem_timedwait() to the OS test 2014-09-26 07:04:34 -06:00
Gregory Nutt
81243854d8 MTD read-ahear/write buffering layer seems functional 2014-09-25 13:35:10 -06:00
Gregory Nutt
74972dfa59 A few fixes for clean apps/examples/mtdrwb build 2014-09-25 10:41:47 -06:00
Gregory Nutt
dbb64323a4 Add an example to test MTD R/W buffering 2014-09-25 09:52:21 -06:00
Gregory Nutt
12d471553c More naming changes to get the stm3240g-eval/nxterm configuration building again 2014-09-20 15:53:28 -06:00
Gregory Nutt
ba70f33d82 Change all occurrences of NxConsole to NxTerm 2014-09-20 15:01:50 -06:00
Gregory Nutt
45791a6029 Rename all occurences of NxConsole to NxTerm 2014-09-20 14:51:48 -06:00
Gregory Nutt
d0fe4a6ec5 Rename CONFIG_EXAMPLES_NXCONSOLE to CONFIG_EXAMPLES_NXTERM; rename CONFIG_NXWM_NXCONSOLE to CONFIG_NXWM_NXTERM 2014-09-20 14:25:51 -06:00
Gregory Nutt
e02f2f9373 Rename CONFIG_NXCONSOLE* to CONFIG_NXTERM* 2014-09-20 14:18:08 -06:00
Gregory Nutt
71464f2b7d Fix errors in apps/examplex/helloxx and cxxtext Makefiles; update SAMA5D3x-EK/hello defconfig 2014-09-17 07:32:55 -06:00
Gregory Nutt
84c649af2b examples/null/null_main.c: Need to include config.h it order know if this is or is not a kernel build 2014-09-16 13:23:58 -06:00
Gregory Nutt
bd07573a00 Do not build test cases that use task_create is there is an address environment 2014-09-14 08:19:46 -06:00
Gregory Nutt
6e25bc1ea2 More updated makefiles 2014-09-11 07:09:37 -06:00
Gregory Nutt
0a4258db6d MAINOBJ needs to be added to object list in many Makefile 2014-09-11 06:48:11 -06:00