Commit Graph

994 Commits

Author SHA1 Message Date
Gregory Nutt
b93af2189b Add a generic file system test at apps/examples/fstest 2015-10-10 14:18:23 -06:00
Paul A. Patience
2aeaff042d apps/examples/uavcan: Remove call to boardctl() 2015-10-08 13:42:24 -04:00
Paul A. Patience
f24828337f apps/examples/uavcan: Call boardctl to configure CAN GPIOs 2015-10-07 00:00:39 -04:00
Paul A. Patience
0168398831 UAVCAN: Add more options in Kconfig file 2015-10-06 21:26:30 -04:00
Gregory Nutt
aacfce081e Fix several cosmetic, C coding style issues 2015-10-03 11:03:42 -06:00
Gregory Nutt
f6e7e9c1c0 Standardize the width of all comment boxes in C files 2015-10-03 07:20:15 -06:00
Gregory Nutt
9cb2849742 Standardize the width of all comment boxes in header files 2015-10-02 17:35:18 -06:00
Gregory Nutt
0629c5466e Standardize the width of all comment boxes in C file 2015-10-02 17:33:30 -06:00
Gregory Nutt
e3ad56043e Standardize naming used for public data and function groupings 2015-10-02 16:20:33 -06:00
Gregory Nutt
e9447c6058 Standardize nameing of the pre-processor definitiongs group header 2015-10-02 14:06:11 -06:00
Gregory Nutt
e97a766e90 Make sure that UAVCAN Node ID is in a valid range 2015-10-01 10:16:31 -06:00
Gregory Nutt
e32e6064e0 Update ChangeLog and README 2015-10-01 07:10:25 -06:00
Paul A. Patience
e8ca4c3fde UAVCAN: Add example application 2015-09-30 22:11:46 -04:00
Gregory Nutt
eff5642eca Merged in paulpatience/nuttx-apps (pull request #11)
UAVCAN: Add platform-specific code
2015-09-30 16:54:08 -06:00
Paul A. Patience
a7cd308658 UAVCAN: Add platform-specific code 2015-09-30 18:39:37 -04:00
Gregory Nutt
2e0d0ede6d Add apps/exemples/udpblaster 2015-09-30 10:56:31 -06:00
Paul A. Patience
298a72c71e Add UAVCAN library 2015-09-23 13:48:35 -04:00
Paul A. Patience
9eafc90125 Fix issue detected by clang 2015-09-10 21:02:11 -04:00
Gregory Nutt
9ef516c311 Some corrects to previous nxterm commit 2015-09-08 11:53:29 -06:00
Gregory Nutt
f10f2de2e4 Eliminate some warnings 2015-09-08 09:20:49 -06:00
Gregory Nutt
a5d4ed2fef Make sure that CONFIG_USBDEV_TRACE_INITIALIDSET has an assigned value to avoid warnings 2015-09-08 07:24:26 -06:00
Gregory Nutt
5306a27335 apps/examples/ajoystick: Fix missing includes of Application.mk 2015-09-07 16:31:17 -06:00
Alan Carvalho de Assis
aa17ae4c0a Add pap_username/password to pppd example if PAP Auth is enabled 2015-09-07 13:48:37 -06:00
Paul A. Patience
85a2cecb99 Simplify apps/ Makefiles by combining common logic into the Makefile fragment Application.mk 2015-09-05 15:13:03 -04:00
Gregory Nutt
7084ce0e02 Cosmetic: Move # of pre-processior command to column 1 2015-09-05 09:12:20 -06:00
Gregory Nutt
32666422a8 apps/examples/netloop: will now build as an NSH built-in app 2015-09-03 08:19:15 -06:00
Gregory Nutt
84dbf4ee7c Most cosmetic changes to apps/examples/netloop 2015-09-02 18:30:12 -06:00
Gregory Nutt
9191e22624 apps/examples/netloop: Add a test of the local loopback device 2015-09-02 18:18:47 -06:00
Gregory Nutt
9cc360ab75 Cosmetic changes 2015-09-02 16:49:17 -06:00
Gregory Nutt
ed2ccad735 examples/nettest: Fix a couple of crazy long delays that may make you think something is broken. In main, add a wait for the server to exit 2015-08-27 11:46:42 -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
Pavel Pisa
64fb2c63b6 Correct numerous places where NETUTILS_DNSCLIENT was instead of NETDB_DNSCLIENT 2015-08-20 16:08:45 -06:00
Gregory Nutt
d836478728 apps/examples/usbserial: Can now be run as an NSH builtin-function. Now uses a configurable IO buffer size 2015-08-20 10:40:31 -06:00
Gregory Nutt
bc2cf8affd apps/examples/can: Remove can_devinit(). Replace with boardctl(BOARDIOC_CAN_INITIAILIZE,0) 2015-08-18 13:25:30 -06:00
Gregory Nutt
e35f64a3cf apps/examples/can: Trivial clean/simplification for test output 2015-08-18 12:41:10 -06:00
Gregory Nutt
9abb28c725 apps/examples/can: Use new IOCTL commands to show the current bit timing values 2015-08-18 11:21:47 -06:00
Gregory Nutt
cb25507a06 apps/examples/can: Extend test to report an errors reported by the CAN driver 2015-08-18 08:50:14 -06:00
Gregory Nutt
546450cc92 apps/examples/can: Fix usage of new number-of-messages command line option 2015-08-17 11:57:25 -06:00
Gregory Nutt
64e1548bb7 apps/examples/can: Extended the CAN test by adding more command line options 2015-08-17 11:07:39 -06:00
Gregory Nutt
c11c4d6bd9 Add si_errno to siginfo_t 2015-08-14 10:12:35 -06:00
Gregory Nutt
2f3303526f apps/examples/can: In extended ID mode, need to set some unused bits to zero or otherwise the memcmp() will fail on comparison with the returned value 2015-08-13 08:09:14 -06:00
Gregory Nutt
74801cf38e apps/tools/mkkconfig.sh: The top-level Kconfig file is not auto-generated. The autogenerated Kconfig file will be constructed so that every second level directory that contains a Kconfig file will automatically be sourced 2015-08-11 17:49:10 -06:00
Anton D. Kachalov
b43c5a6b1e THTTPD: Depends on !DISABLE_POLL
webserver:  Allow to build webserver as an application

Signed-off-by: Anton D. Kachalov mouse@yandex-team.ru
2015-08-10 14:44:11 -06:00
Gregory Nutt
09add96e22 Change the name of the local variable sigset to set to prevent name collisions with the function of the same name 2015-07-31 13:31:44 -06:00
Gregory Nutt
14eb3f6cdc OS test: Minor improvements to the sporadic scheduler test 2015-07-28 14:27:48 -06:00
Gregory Nutt
ae2e61c764 OS test: improve the sporadic scheduler test by waiting for a bit in the 'nuisance' thread 2015-07-27 15:52:27 -06:00
Gregory Nutt
c27364570f OS test, sporadic scheduler test: If more timers are available, use them 2015-07-27 08:10:59 -06:00
Gregory Nutt
70f1ee9dcd OS test: Sporadic test now emits a message if the max_repl configuration is too small for the test to work reliably 2015-07-26 15:34:33 -06:00
Gregory Nutt
46c3158b85 OS test: Cosmetic changes to printf output in sporadic scheduler test 2015-07-26 10:52:47 -06:00
Gregory Nutt
b0fa962e42 OS test: Sporadic test was passing an illegal value for max_repl 2015-07-25 12:47:24 -06:00
Gregory Nutt
51b645eb34 OS test: add some locking and unlocking of the scheduler to the sporadic scheduler test in order to test a few more cases 2015-07-25 12:29:22 -06:00
Gregory Nutt
e15a186530 OS test: Some extensions to the sporadic scheduler test 2015-07-24 18:16:10 -06:00
Gregory Nutt
bc4a0ec95f OS test: Make the sporadic test output more readable 2015-07-24 14:13:01 -06:00
Gregory Nutt
2d46cae060 Add a test for the sporadic scheduler 2015-07-24 13:50:31 -06:00
Gregory Nutt
e5ebfe35f6 OS test: improve synchronization for starting the round robin test 2015-07-24 13:04:40 -06:00
Gregory Nutt
3a57f9e2ef Adjust for increased size of the scheduling policy field from 1 to 2 bits to allow additional, planned scheduling policies 2015-07-23 10:15:57 -06:00
Gregory Nutt
13a04b6255 apps/examples/nxlines: Clear a slightly larger rectangle than the one that we drew. This eliminates edge effects due to applying anti-aliasing twice: Once when the line was drawn, and again when the line was erased by overwriting it with the background color 2015-07-14 14:24:51 -06:00
Gregory Nutt
ba72767d09 apps/netutils/netlib and other files: Create netlib wrapper functions around dns_getserver() and dns_setserver() to isolate application code from changes to those interfaces. 2015-07-12 11:53:23 -06:00
Gregory Nutt
812450ebe6 If NSH or Webclient is selected, make sure that CONFIG_LIBC_NETDB is enabled; reanem dnsclient.h to dns.h 2015-07-12 09:25:39 -06:00
Gregory Nutt
effda16cf5 DNS: Remove some unused, non-functional DNS functions 2015-07-11 07:17:11 -06:00
Gregory Nutt
ae57fd7ee2 Fix some warnings/errors detected by nuttx/tools/testbuilds.sh 2015-07-10 18:41:56 -06:00
Gregory Nutt
03f477462a Remove broken host support for examples/sendmail and examples/wget 2015-07-10 14:36:18 -06:00
Gregory Nutt
5e8928d009 Remove bogus references to CONFIG_HAVE_GETHOSTBYNAME 2015-07-10 14:03:28 -06:00
Gregory Nutt
6bfef5b2de os_main.c may not call waitpid() and so needs to include sys/wait.h 2015-07-10 13:32:00 -06:00
Gregory Nutt
7e937597f9 Fix up nameing of configuration variables to follow changes made in nuttx 2015-07-10 12:12:22 -06:00
Gregory Nutt
48c36800f5 apps/netuils/dnsclient and include/netutils/dnsclient.h: Move the DNS client logic into the NuttX C library. It is a necessary part for the full implementation of the netdb logic and provides more flexibility in that location. 2015-07-10 11:31:13 -06:00
Gregory Nutt
45bc73898c Fix a missing quot mark in a Kconfig 2015-07-08 13:43:17 -06:00
Gregory Nutt
e2dad619f6 Review and update OS test changes 2015-07-06 14:51:49 -06:00
Brennan Ashton
e7dc07c291 [OSTEST] Add option to poweroff with test status 2015-07-06 11:51:15 -07:00
Gregory Nutt
28c654c9b1 apps/examples/tcpecho/tcpecho_main.c: Add missing header file 2015-07-02 12:20:39 -06:00
Gregory Nutt
322561dcf3 Fix types in #error message 2015-07-01 14:31:28 -06:00
Gregory Nutt
edd4e9a797 apps/examples/poll: Fix a few bit-rot compilation errors 2015-07-01 09:46:52 -06:00
Gregory Nutt
1662fcff0b Update some URLs due to movement of the Documentation repository 2015-06-29 11:24:52 -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
929e4cdd3b This cleans up most of the remaining SourceForge references 2015-06-26 18:13:20 -06:00
Gregory Nutt
b2c2e134b1 Extend apps/examples/unionfs so it is includes a root offset on one of the unified file sysems 2015-06-21 12:21:54 -06:00
Juha Niskanen
2f67a661e7 sched/pthread: Implement pthread_mutex_trylock() for recursive mutexes 2015-06-16 08:32:20 -06:00
Gregory Nutt
ea0f1b9294 apps/examples: Make all file system tests dependent onf CONFIG_BUILD_FLAT 2015-06-07 10:24:46 -06:00
Gregory Nutt
72c5450773 Update README files 2015-06-07 07:28:09 -06:00
Gregory Nutt
a10fa2d14c Lincoln60: Add a thttpd-binfs configuration. That configuration still does not work on initial commit 2015-06-06 19:16:16 -06:00
Gregory Nutt
3e692f3912 apps/examples/thttpd now uses the Union File System if BINFS is selected for CGI binaris 2015-06-06 19:16:14 -06:00
Gregory Nutt
4986c0660e Union FS. Correct some handling when the last file is closed 2015-06-06 10:00:26 -06:00
Gregory Nutt
7c8be1c431 Union fs: Fix some compile issues with debug on. Add more test files 2015-06-06 08:36:24 -06:00
Gregory Nutt
5194a91e6b Unionfs - rename some test files. Naming was too confusing 2015-06-06 08:16:02 -06:00
Gregory Nutt
d1da5d1b8e Fix a couple of unionfs readdir problems 2015-06-06 07:36:38 -06:00
Gregory Nutt
ae6868bf9e Add a test of the union file system to apps/examaples. 2015-06-05 14:23:07 -06:00
Gregory Nutt
3a83a3068f apps/: Replaced tab with space broke the clean/distclean targets 2015-06-03 16:23:29 -06:00
Gregory Nutt
980f5a3675 apps/examples/thttpd: Need to use a different Front Page is CONFIG_THTTPD_BINFS=y 2015-06-02 15:19:17 -06:00
Gregory Nutt
669067ba86 Forgot to add a file in the last commit 2015-06-02 14:27:35 -06:00
Gregory Nutt
91ab8b0bc5 Extend apps/examples/thttpd so that it provides a index.cgi file the binfs file system is selected. 2015-06-02 14:26:08 -06:00
Gregory Nutt
15fcf746be THTTPD w/binfs: A few fixes 2015-06-02 11:55:45 -06:00
Gregory Nutt
1e91c05d03 THTTPD: Add support for using binfs/ instead of NXFLAT. NXFLAT is probably the better solution but recently compiler changes make it unusable. binfs or ELF are fallback binary formats. This commit adds an option to use binfs. 2015-06-02 10:45:48 -06:00
Gregory Nutt
bd9b2bd740 Add hello++5 to ELF example. From Leo Aloe3132 2015-06-01 10:03:14 -06:00
Gregory Nutt
5f6b3276a2 apps/examples/elf: Add configuration optionst o support building the hello++4 example that depends upon having uClibc++ available. From Leo aloe3132. 2015-05-29 11:47:40 -06:00
Gregory Nutt
068dfbdc30 OS test, signal nesting. Better to mark some variables as volatile 2015-05-12 20:58:22 -06:00
Gregory Nutt
788e44bd80 Remove some ugly kernel mode hooks 2015-05-12 16:40:26 -06:00
Gregory Nutt
49df346fa1 Add a test of nested signals. There are no failures to handle signals but neither am I getting any nested signal handling 2015-05-12 12:39:21 -06:00
Gregory Nutt
c07a5b2775 Local sockets: Add poll support for Unix stream sockets. From Jussi Kivilinna. 2015-05-12 07:41:12 -06:00
Gregory Nutt
3e16e0a0f9 apps/examples: Modify/simpify apps/examples build files. From Roman Saveljev. 2015-05-06 08:19:54 -06:00
Gregory Nutt
3b430372aa Merge remote-tracking branch 'origin/master' into usbhub 2015-04-23 14:06:18 -06:00
Gregory Nutt
3b3d644b99 Two r's and only two r's in the word interrupt 2015-04-23 14:04:43 -06:00
Gregory Nutt
343b0864c6 Fix USB host polling; fix a typo in LPC17 HCD 2015-04-23 07:13:31 -06:00
Gregory Nutt
4a93c238b6 STM32F429i Disco: (1) Fix a bad return value if the LCD driver is already initialized. (2) The LCD driver initialization is now performed during the early boot sequence. (3) Increased the size of the message queue from 32 to 64 in the lcd configuration. From Marco, ocram.lhark@yahoo.com. 2015-04-17 07:04:53 -06:00
Gregory Nutt
e9501a1a96 apps/examples/ltdc: Add testing support for the STM32 LTDC's 2D DMA. From Marco Krahl. 2015-04-16 09:11:50 -06:00
Gregory Nutt
804061abdc Correct use of the BOARDIOC_GRAPHICS_SETUP boardctl() call 2015-04-16 09:11:49 -06:00
Gregory Nutt
3e01a06431 When boardctl() fails, need to print errno not the returned value which will always be -1. 2015-04-16 09:11:47 -06:00
Gregory Nutt
6e7c9397d1 apps/examples/nxlines: Fix missing right bracket that causes compile error when CONFIG_NX_XYINPUT=y. From Librae. 2015-04-16 09:11:46 -06:00
Gregory Nutt
728407b1d3 apps/system/zoneinfo: Add logic to build a ROMFS file system containing the timezone data 2015-04-15 08:39:44 -06:00
Gregory Nutt
9e95454f34 Add apps/examples/pppd test case. From Brennan Ashton. 2015-04-14 06:56:20 -06:00
Gregory Nutt
ad61a44791 apps/examples/ostest: Add a test for the sigprocmask, sighold, and sigrelse 2015-04-09 15:53:59 -06:00
Gregory Nutt
4d3fa3ca54 exampels/nxlines: Needs to include sys/boardctl.c 2015-04-09 14:23:31 -06:00
Gregory Nutt
829fa21e89 drawline/drawLine should not take a boolean to select non lines caps or capping at both ends. drawline/drawLine also needs to be able to put a line cap on one one end of a line 2015-04-05 16:53:51 -06:00
Gregory Nutt
f0b5f4a80f Add a 'capped' boolean parameter to all drawline/drawLine functions/methods. The idea is that this will produce better joining between lines 2015-04-05 08:50:01 -06:00
Gregory Nutt
3bbd9b6f41 More renaming: up_lcdinitialize->board_lcd_initialize, up_lcdgetdev->board_lcd_getdev, up_lcduninitialize->board_lcd_uninitialize 2015-04-04 11:49:15 -06:00
Gregory Nutt
e6294dfe41 Move include/nuttx/timer.h, rtc.h and watchdog.h to include/nuttx/timers/. 2015-04-01 12:37:44 -06:00
Gregory Nutt
08f57f5d90 Rename pwm_devinit() to board_pwm_setup(). Add CONFIG_BOARDCTL_PWMTEST that will enable calling board_pwm_setup() from boardctl(). Replace calls to pwm_devinit() in apps/examples/pwm with calls to boardctl(). In all configurations that enable the apps/examples/pwm test, make sure that boardctl() suppoprt is properly enabled. 2015-03-31 16:59:22 -06:00
Gregory Nutt
2be8eee936 Kconfig files: If external graphics initialization is required, it depends on CONFIG_LIB_BOARDCTL and should set CONFIG_BOARDCTL_GRAPHICS 2015-03-31 16:41:48 -06:00
Gregory Nutt
256abd6dba Rename up_nxdrvinit() to board_graphics_setup(). Add CONFIG_BOARDCTL_GRAPHICS that will enabled calls to board_graphics_setup() from boardctrl(). In apps/ and NxWidgts/, replace all calls to up_nxdrvinit with calls to boardctl(). 2015-03-31 16:20:21 -06:00
Gregory Nutt
39c47ee3f7 Rename adc_devinit() to board_adc_setup(). Add support to the boardctl() interface so that it can call board_adc_setup() on behalf of an application. Change apps/examples/adc to that is now calls boardctl() instead of adc_devinit() in order to initalize the ADC device. 2015-03-31 15:00:23 -06:00
Gregory Nutt
9ec66482b6 rch_tcinitialize() and arch_tcunitinitialize() renamed to board_tsc_setup() and board_tsc_teardown(). These are not long called directly by applications but only indirectly throught the crappy boardctl() OS interface. 2015-03-31 13:21:25 -06:00
Gregory Nutt
83e4bc2f7d Make sure that FPU test, HID keyboard example, and touchscreen options are only available in the FLAT build 2015-03-23 19:03:51 -06:00
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
Gregory Nutt
0386e063e3 Fix some minor issues with the exampls/udp Makefile 2014-09-10 19:49:55 -06:00
Gregory Nutt
1597617001 libapps.a needs to be added to the list of libraries to link against. 2014-09-07 10:45:41 -06:00
Gregory Nutt
4f14d3b8c4 Changes to many Makefiles. For kernel buil object containing main cannot go into library because of name collisions. The object file must be handled as a special case in every Makefile 2014-09-07 08:43:01 -06:00
Gregory Nutt
043d6898db Determine the main object name from the main source name in every kernel build Makefile 2014-09-07 07:19:19 -06:00
Gregory Nutt
2881b73f3d Add an nm command after every kernel build link to show if there are any undefined symbols 2014-09-07 07:15:59 -06:00
Gregory Nutt
70765b94fc Add the main object to the list objects to link in every kernel build link command 2014-09-07 07:12:55 -06:00
Gregory Nutt
22720d5eb3 Add the main object to the dependencies for the kernel build 2014-09-07 07:09:22 -06:00
Gregory Nutt
b65500c289 If now a kernel build, then add the main object in with all of the rest 2014-09-07 07:05:54 -06:00
Gregory Nutt
22eb5d5c46 Update apps/examples/helloxx/Makefile 2014-09-07 06:59:30 -06:00
Gregory Nutt
63f45cbd06 Fix apps/examples/hello/Makefile 2014-09-07 06:17:46 -06:00
Gregory Nutt
181b75301f Customize the program name in the generic setup that was added to each makefile that installs a program 2014-09-06 13:30:44 -06:00
Gregory Nutt
3454362678 Add generic setup logic to every Makefile that installs a program. Each will need customization 2014-09-06 13:19:02 -06:00
Gregory Nutt
cedf1d7369 Fix all install targets 2014-09-06 13:01:44 -06:00
Gregory Nutt
b9a650ae8c apps/ make-related fixes. Now builds kernel mode file system 2014-09-06 12:28:30 -06:00
Gregory Nutt
1c279a2c0b Fix program name configuration variable used in the Makefile 2014-09-06 11:25:29 -06:00
Gregory Nutt
e34a96e3b9 Several fixes for errors introduced by last check-ins 2014-09-06 11:17:05 -06:00
Gregory Nutt
72cd42282c Oops wrong else 2014-09-06 10:54:58 -06:00
Gregory Nutt
753f347723 Add missing else from last big change 2014-09-06 10:51:18 -06:00
Gregory Nutt
544cfc8aa2 Add program installation for CONFIG_BUILD_KERNEL in all Makefiles that build a main() 2014-09-06 10:42:03 -06:00
Gregory Nutt
c35653cd05 Only one install target per Makefile 2014-09-06 10:05:01 -06:00
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
38ecd36a61 Fix clean and distclean targets. Back out a few too many changes made by sed 2014-09-06 08:28:24 -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
95679676a1 Need to add CRT0 to every Makefile in apps/examples/tests 2014-09-05 16:05:29 -06:00
Gregory Nutt
5cd3325f7e Provide library names and paths in apps/import/Make.defs 2014-09-05 13:59:20 -06:00
Gregory Nutt
c38a108343 Copy more logic from nuttx/tools/Config.mk into the Make.defs file. Plus trivial related changes 2014-09-05 11:25:34 -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
7c7a81aa69 Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL 2014-08-29 14:47:22 -06:00
Gregory Nutt
7b721a8b17 The ELF test/example has been extended so the individual ELF test programs can link against the SYSCALL library (if it is available) or against the C library to eliminate or minimize the need for symbol tables (2014-8-29). 2014-08-29 07:20:07 -06:00
Gregory Nutt
d764356359 Change all time conversions. Yech. New timer units in microseconds breaks all existing logic that used milliseconds in the conversions. Something likely got broken doing this, probably because I confused a MSEC2TICK conversion with a TICK2MSEC conversion. Also, the tickless OS no appears fully functional and passes the OS test on the simulator with no errors 2014-08-07 18:00:38 -06:00
Gregory Nutt
b651f37ce7 Remove CONFIG_DISABLE_CLOCK 2014-08-07 12:35:24 -06:00
Gregory Nutt
3f81481e37 Rename CONFIG_NX_MOUSE to CONFIG_NX_INPUT, then add CONFIG_NX_XYINPUT_MOUSE and CONFIG_XYINPUT_TOUCHSCREEN 2014-07-16 16:31:31 -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
bf19806a0d Fix some recurring typos: postion->position, *atino->*ation 2014-07-08 13:12:36 -06:00
Gregory Nutt
b0d0e4a031 SAMA5D4-EK: Add the button test to the NSH configuration 2014-07-07 17:06:25 -06:00
Gregory Nutt
ddc799d049 Fix some cloned errors in SAM GPIO interrupt setup 2014-07-07 15:54:37 -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
d7c38a7c55 apps/examples: Put examples in alphabetical order 2014-07-03 18:11:50 -06:00
Gregory Nutt
36575ad0f4 Rename apps/examples/uip to apps/examples/webserver 2014-07-03 17:31:17 -06:00
Gregory Nutt
5535a8a306 Remove a warning 2014-07-03 13:22:42 -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
2ee5041477 NET: Rename uiplib/UIPLIB to netlib/NETLIB 2014-07-02 16:04:25 -06:00
Gregory Nutt
b7d73dab81 NET: Rename uip_ipaddr* to net_ipaddr* 2014-06-29 13:11:08 -06:00
Gregory Nutt
72abff23e3 Rename uip_driver_s net_driver_s 2014-06-27 16:48:12 -06:00
Gregory Nutt
721dc008e8 Add support for a network device IOCTL to access PHY registers. Ioctls only implemented for STM32. From Lazlo 2014-06-27 09:30:41 -06:00
Gregory Nutt
9009a21fd9 NET: Move statistcs from uip.h to new netstats.h to remove nasty circular inclusion problem. 2014-06-26 09:32:39 -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
8107c43671 Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/netdev.h 2014-06-24 09:28:44 -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
f05745951b Raw sockets: Additional changes for error-free/warning-free compilation 2014-06-12 12:29:58 -06:00
Gregory Nutt
54a3c7858e First check-in of Lazlo's PF_PACKET 'raw' socket implementation 2014-06-12 11:52:06 -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
5ff8c449e2 snprintf(): If size is zero, then snprintf() should return the size of the required buffer without writing anyting. From Sami Pelkonen 2014-05-30 08:53:55 -06:00
Gregory Nutt
35b94281af Costmetic changes to memory manager debug output 2014-05-24 10:40:07 -06:00
Gregory Nutt
2b0f1ed109 Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt
05af9ce2dc Make sure apps/examples/pashello still builds; update comments; refresh configurations 2014-05-09 10:33:23 -06:00
Gregory Nutt
d8956db518 Create P-Code execution helper in apps/interpreters/prun; The P-Code binary format is functional except that there are still some modularity and kernel build issues that need to be addressed. 2014-05-09 08:52:11 -06:00
Gregory Nutt
745de760de Add a ROMFS file system for testing the P-Code binary format 2014-05-08 11:08:01 -06:00
Gregory Nutt
025d47b0b7 Update configuration an make logic in order to select that the serial blaster task priority and stack size. From Bob Doiron 2014-04-30 14:03:36 -06:00
Gregory Nutt
9da2bb06fc Change from last commit was still in the editor 2014-04-28 07:27:36 -06:00
Gregory Nutt
b949ba8356 apps/examples/telnetd: Naming confusion fixed: shell vs telnetd 2014-04-28 07:20:32 -06:00
Gregory Nutt
1eedc38d41 SAM4S Xplained Pro fixups from Bob DOIRON after the last big set of commits 2014-04-22 14:34:17 -06:00
Gregory Nutt
ce8e429578 Fix Bob's name in as many places as possible; Make sure that Bob is an author in as many files as I can think of (might be missing a few) 2014-04-22 13:42:38 -06:00
Gregory Nutt
2dbebae316 Fix a error introduce in a recent commit 2014-04-22 13:24:12 -06:00
Gregory Nutt
019c8ffb88 Misc changes to get a clean compilation after incorporating all of Bob Doison's changes 2014-04-22 10:38:08 -06:00
Gregory Nutt
05d21a62e7 Updates to the serialrx example from Bob Doison 2014-04-22 09:31:25 -06:00
Gregory Nutt
c907a27469 examples/serialrx added by Bob Doison 2014-04-22 08:41:15 -06:00
Gregory Nutt
46158be917 examples/serialrx added by Bob Doison 2014-04-22 08:40:48 -06:00
Gregory Nutt
e322fe1543 examples/cpuhog and serialblaster from Bob Doiron 2014-04-22 07:52:08 -06:00
Gregory Nutt
b4f260f501 Remove some warnings introduced with the last change 2014-04-14 12:35:50 -06:00
Gregory Nutt
08d269634a examples/touchscreen: Add a configuration option to indicate that there is or is not an architecture-specific initialization function 2014-04-14 12:26:49 -06:00
Gregory Nutt
b9cf7acb1a More trailing whilespace removal 2014-04-13 16:24:28 -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
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