Commit Graph

1041 Commits

Author SHA1 Message Date
Gregory Nutt
81645fe18f strcasecmp, strncasecmp, bzero, bcmp, and bcopy should be defined in strings.h, not string.h. bzero, bcmp, and bcopy are legacy functions; the contemporary counterparts should be used instead. 2017-02-16 15:58:15 -06:00
Gregory Nutt
9b9a321637 examples/buttons: Eliminate 'too many initializers' warning. 2017-02-16 11:00:43 -06:00
Gregory Nutt
58b521183d apps/examples/stat: Fix a copy-paste error in an ERROR message. 2017-02-13 18:21:56 -06:00
Gregory Nutt
f5b169ee8e apps/examples/stat: Add missing decoding of S_IXOTH bit. 2017-02-13 16:57:41 -06:00
Gregory Nutt
76269d7bad apps/examples/stat: Fix a backward conditional test. Improve output. 2017-02-13 16:46:23 -06:00
Gregory Nutt
78f92746c4 apps/examples/stat: Improve decoding of file mode. 2017-02-13 16:19:55 -06:00
Gregory Nutt
1b297d057e apps/examples/stat: Only should memory if a leak is detected. 2017-02-13 15:24:58 -06:00
Gregory Nutt
c3c8de6b70 apps/examples/stat: Add logic to monitor memory usage. 2017-02-13 14:57:36 -06:00
Gregory Nutt
740b528199 apps/examples/stat: Add a simple test for stat(), fstat(), and statfs(). 2017-02-13 14:08:19 -06:00
Gregory Nutt
ba59c15d00 examples/ostest: Add a test of setvbuf(). 2017-02-09 10:58:51 -06:00
Gregory Nutt
3ab2aec4e8 New apps/examples/module and sotest configuration options 2017-01-30 09:04:01 -06:00
Gregory Nutt
b2210c3a25 In apps/examples/mtdpart/mtdpart_main.c where CONFIG_EXAMPLES_MTDPART_NPARTITIONS defining is checked should be #ifndef instead of #ifdef. Noted by Oleg Evseev 2017-01-30 07:28:51 -06:00
Gregory Nutt
de909c5c48 apps/examples/module and sotest: Update for names changes resulting when module library was split out from kernel module code. 2017-01-29 13:32:39 -06:00
Gregory Nutt
30471a90f5 Update paths in REAME file to account for new location of file 2017-01-29 09:02:07 -06:00
Gregory Nutt
bedf040698 apps/examples/sotest: Fix an error introduced in previous commit 2017-01-27 15:48:15 -06:00
Gregory Nutt
abd0362c64 apps/examples/sotest: Extend test to check out module dependencies. 2017-01-27 15:11:44 -06:00
Gregory Nutt
32211e21b6 apps/examples: Fix some name collisions of both module and sotest examples are enabled. 2017-01-27 11:41:53 -06:00
Gregory Nutt
08b6e087bf examples/sotest: Fix file permissions of mksymtab.sh 2017-01-27 10:34:13 -06:00
Gregory Nutt
497130f372 examples/ostest: Cannot be configured or build if CONFIG_DISABLE_SIGNALS=y 2017-01-24 09:15:42 -06:00
Juha Niskanen
b169bd4641 examples/ostest: Add new error print and modify comments in cancel test. 2017-01-24 09:01:37 -06:00
Gregory Nutt
ad9cf1aa97 Update some Kconfig help 2017-01-23 15:50:37 -06:00
Gregory Nutt
e29db2721a examples/module and examples/sotest can only be used in the FLAT build mode because they make illegal OS calls to ramdisk_register(), register_device(), and unregister_device(). 2017-01-23 14:06:30 -06:00
Gregory Nutt
c027c19dde examples/sotest: Add a test for shared libraries. 2017-01-23 08:23:28 -06:00
Gregory Nutt
d195751a90 Update NSH and examples/modules for changes in kernel module interface. 2017-01-22 15:11:49 -06:00
Gregory Nutt
91fe324c72 apps/examples/nxtext: Make line spacing configurable. 2017-01-03 12:26:13 -06:00
Gregory Nutt
13c158130d OS test: Was ignoring CONFIG_EXAMPLES_OSTEST_FPUTESTDISABLE 2016-12-29 11:47:09 -06:00
Gregory Nutt
1636b48313 OS test: enhance pthread cancellation test some. 2016-12-11 07:51:22 -06:00
Gregory Nutt
5d48dd4871 examples/ostest: Add some delays to the pthread cancellation test. With deferred cancellation enabled, things happen more asynchronously 2016-12-10 16:41:16 -06:00
Gregory Nutt
8586535eb7 examples/ostest: Extend the pthread cancellation test to exercise pthread_cleanup_push() (and pthread_cleanup_pop() indirectly via pthread_cancel() and pthread_exit() 2016-12-08 09:28:49 -06:00
Gregory Nutt
9da9b14d8c Remove an unused label to eliminate a warning. 2016-12-06 13:10:05 -06:00
Gregory Nutt
efedead40b Merge branch 'master' of bitbucket.org:nuttx/apps 2016-12-06 08:55:17 -06:00
Gregory Nutt
cd6a9f8bae Remove BOARDIOC_CAN_INITIALIZE. CAN initialization is now done in the board initialization logic just like every other device driver. 2016-12-06 08:54:38 -06:00
Gregory Nutt
188588e87b Eliminate a warning 2016-12-06 07:16:40 -06:00
Gregory Nutt
a479f9abed Remove all usage of BOARDIOC_ADCTEST_SETUP 2016-12-05 17:12:33 -06:00
Gregory Nutt
ba47896c0f apps/examples/pwm: Remove BOARIOC_PWMSETUP command. 2016-12-05 14:55:41 -06:00
Gregory Nutt
7531568e6d Remove RGMP example. 2016-12-02 09:52:44 -06:00
Gregory Nutt
8374ab4363 Correct a few things from the last commit. 2016-12-01 16:56:47 -06:00
Gregory Nutt
38e3619e21 Graphics: Remove all NX server taks. Instead, call boardctl() to the the NX server kernel thread. 2016-12-01 16:33:45 -06:00
Gregory Nutt
3cce52e361 Update comments. 2016-11-22 08:02:30 -06:00
Gregory Nutt
fcf9e8d7a0 apps/examples/archbuttons: Removed becaue it violates OS interface principles 2016-11-22 07:32:10 -06:00
Sebastien Lorquet
637283d810 The examples/qencoder app was trying to init the encoder by a direct call into the board, cheating in a local header to declare the normally unavailable function prototype. 2016-11-22 07:32:09 -06:00
Gregory Nutt
3a98b97ea6 Revert "apps/examples/ostest: Skip the task_restart() test on SMP systems. This is not fully implemented."
This reverts commit 0ce49462d1.
2016-11-20 07:35:22 -06:00
Gregory Nutt
0ce49462d1 apps/examples/ostest: Skip the task_restart() test on SMP systems. This is not fully implemented. 2016-11-19 11:38:49 -06:00
Gregory Nutt
9ce4b6f82e apps/examples/timer: Should detach signal handler before exiting. 2016-11-18 08:17:15 -06:00
Gregory Nutt
cfe6476ac2 Revert "apps/examples: Remove the timer example. It uses a non-portable IOCTL and must be purged."
This reverts commit dba181d0af.
2016-11-17 15:04:14 -06:00
Gregory Nutt
dba181d0af apps/examples: Remove the timer example. It uses a non-portable IOCTL and must be purged. 2016-11-17 11:32:28 -06:00
Gregory Nutt
a82c0202bc examples/ostest: Eliminate some warnings 2016-10-26 07:34:30 -06:00
Gregory Nutt
f9d6e176e1 examples/cctype: Clean up KEY 2016-10-22 11:58:09 -06:00
Gregory Nutt
3d581297a3 Fix file date 2016-10-22 11:38:02 -06:00
Gregory Nutt
991defd7bb examples/cctype: Add an example to verify cctype fucntions 2016-10-22 11:35:17 -06:00
Alan Carvalho de Assis
909a4ec2ce Add a new buttons example that uses the button character driver instead of the architecture buttons directly 2016-10-11 14:25:55 -06:00
Alan Carvalho de Assis
f29c444363 Rename examples/buttons to examples/archbuttons 2016-10-11 14:21:08 -06:00
Gregory Nutt
8fc1529ef1 CONFIG_CL_MFR522, not CONFIG_WL_MFR522 2016-10-06 07:46:01 -06:00
Gregory Nutt
796171458f Correct path to header file 2016-10-06 07:31:17 -06:00
Gregory Nutt
b2b8b642b9 apps/examples/system: Add necessary dependency for selected. 2016-08-25 15:31:03 -06:00
Gregory Nutt
b1d44a81b4 apps/system/system: A much larger stack is needed to run reliably on the simulation. 2016-08-25 13:22:06 -06:00
Gregory Nutt
743234ea40 apps/examples/system: Add a simple test of the system command. Fix the first bug discovered by the test. 2016-08-25 12:38:13 -06:00
Gregory Nutt
b9d56991f3 Update some comments. Remove trailing whitespace noted by Michał Łyszczek 2016-08-19 06:25:42 -06:00
Gregory Nutt
2ff22da39d apps/examples/oneshot: A thought about how we might improve accuracy of long delays. 2016-08-15 12:54:05 -06:00
Gregory Nutt
0a6dd4a24e apps/examples/oneshot: If the requested delay is > max_delay, then break the delay up into several pieces. 2016-08-15 11:44:52 -06:00
Gregory Nutt
d8c7a8fff8 apps/examples: Add Oneshot timer example 2016-08-12 14:20:52 -06:00
Alan Carvalho de Assis
93f7809258 Add RFID_READUID sample application 2016-08-06 09:02:57 -06:00
Gregory Nutt
6624917285 Add some dependencies on new settings in apps/examples/pipe 2016-08-04 13:23:31 -06:00
Gregory Nutt
73b0ce0272 apps/exmples/gpio: Should not claim an error if we are only asked to read an output pin 2016-08-03 13:08:58 -06:00
Gregory Nutt
fce37aeafa apps/examples/gpio: Bug fixes from testing 2016-08-01 15:27:48 -06:00
Gregory Nutt
acbbd690f9 apps/examples/gpio: Add a simple test of the GPIO driver 2016-08-01 13:53:20 -06:00
Gregory Nutt
ac018597e4 Fix a syntax error in a Kconfig file. Update comments in another. 2016-07-29 13:12:28 -06:00
Gregory Nutt
a15bd864f5 Move include/nuttx/configdata.h to include/nuttx/mtd/configdata.h 2016-07-21 13:34:19 -06:00
Gregory Nutt
d5b7268d95 ramdisk.h moved from include/fs/nuttx/ to include/nuttx/drivers. 2016-07-20 14:02:41 -06:00
Gregory Nutt
ad9c53d0ed pwm.h moved from include/nuttx/ to include/nuttx/drivers. 2016-07-20 13:48:54 -06:00
Gregory Nutt
0042366255 can.h moved from include/nuttx/ to include/nuttx/drivers. 2016-07-20 13:39:12 -06:00
Gregory Nutt
c25159c0fa Driver related prototypes moved out of include/nuttx/fs/fs.h and into new include/drivers/drivers.h 2016-07-20 13:22:16 -06:00
Gregory Nutt
7d517413cb Things that use mkfifo() and pipe() depend on CONFIG_PIPES 2016-07-20 10:46:05 -06:00
Gregory Nutt
1a6bb2a47c apps/examples/pty_test: If CONFIG_SERIAL_TERMIOS is not selected, then don't call tcgetattr or tcsetattr. 2016-07-19 14:28:07 -06:00
Gregory Nutt
7f6a21ecac Eliminate some warnings 2016-07-18 11:26:45 -06:00
ziggurat29
20446c9e03 minor; media app is intended to take either a command line argument, or a compiled-in default value from config. However, the default is ignored, leading to confusing error messages. 2016-07-17 15:10:26 -05:00
Gregory Nutt
7e2980bee5 Fix comment string 2016-07-17 09:39:26 -06:00
Gregory Nutt
126592b85d apps/examples/pty_test: Use of POLL must be optional. There are still a few character drivers that do not support it. 2016-07-16 13:46:52 -06:00
Alan Carvalho de Assis
8a16e80cf3 apps/examples/pty_test: Add termios calls to convert LF to CR-LF on writes 2016-07-16 12:38:44 -06:00
Gregory Nutt
3cd17bcc7c Fix a couple of cosmetic alignment issues 2016-07-16 11:56:17 -06:00
Alan Carvalho de Assis
49ab72d9ac Extensions to examples/pty_test 2016-07-16 11:24:54 -06:00
Gregory Nutt
552d3c4712 PTY: Fix a few errors from early testing 2016-07-15 14:09:14 -06:00
Alan Carvalho de Assis
e3d0c6f15a apps/examples/pty_test: PTY test program 2016-07-15 13:28:38 -06:00
Sebastien Lorquet
2cbad44f1d This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h" 2016-07-11 10:11:18 -06:00
Matthias Renner
715fb8fa43 add canard app, untested 2016-07-08 07:55:30 -06:00
Gregory Nutt
0f1e86b2fd apps/include/tiff.h moved to apps/include/graphics/tiff.h 2016-07-01 07:03:26 -06:00
Gregory Nutt
0e76ca7474 Move apps/include/nsh.h to apps/include/nshlib/nshlib.h 2016-07-01 06:59:23 -06:00
Gregory Nutt
cd741c82cf apps/include: Move all header files associated with modules in apps/system to apps/include/system 2016-07-01 06:48:22 -06:00
Gregory Nutt
4343a6ef8b Move apps/include/ftpc.h to apps/include/netutils/ftpc.h 2016-07-01 06:36:07 -06:00
Sebastien Lorquet
546c381982 apps/examplex/can: Some variables were not declared in all required cases. 2016-06-23 08:05:06 -06:00
Gregory Nutt
d32f16450d Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err(). 2016-06-20 12:39:46 -06:00
Gregory Nutt
bb06f7368f Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info(). 2016-06-20 11:48:15 -06:00
Gregory Nutt
6e2f729add Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces. 2016-06-20 08:57:33 -06:00
Gregory Nutt
5098539063 Add _ to front of remaining debug macros 2016-06-16 12:12:34 -06:00
Gregory Nutt
cc03ecefc8 Rename err() to _err() 2016-06-16 11:44:22 -06:00
Gregory Nutt
a63d306549 apps/examples: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-14 18:23:49 -06:00
Gregory Nutt
586b0aa7e0 Change names of *dbg() * *err() 2016-06-11 15:51:27 -06:00
Gregory Nutt
f4bae25e32 Rename *lldbg to *llerr 2016-06-11 14:55:13 -06:00
Gregory Nutt
e82a54bf18 Reserver the name 'err' for other purposes 2016-06-11 14:49:55 -06:00
Gregory Nutt
468bdcf8e6 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:13:39 -06:00
Gregory Nutt
344c92e2a4 Replace all occurrences of vdbg with vinfo 2016-06-11 11:55:38 -06:00
Gregory Nutt
56e75e9db8 Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO 2016-06-11 11:50:38 -06:00
Sebastien Lorquet
d2aa24ad88 Make sure that APPNAME is defined in all Makefiles that generate applications 2016-06-09 10:51:04 -06:00
Gregory Nutt
6c09faedd3 Merge branch 'master' of bitbucket.org:nuttx/apps 2016-06-09 09:14:14 -06:00
Sebastien Lorquet
7ca5478da3 Rearrange to eliminate Kmenu files 2016-06-09 08:59:16 -06:00
Gregory Nutt
0dfe0baf2b apps/examples/ostest: SIG_DFL is no long assignment compatible with the sa_sigaction functin pointer. 2016-06-08 18:02:37 -06:00
Sebastien Lorquet
e9d6683402 Merge branch 'master' into recurse 2016-06-02 16:36:02 +02:00
Sebastien Lorquet
a9aa753fa4 Recursive Kconfig autogeneration 2016-06-02 16:34:00 +02:00
Sebastien Lorquet
bfff5e7179 Add empty preconfig rules to 'leaf' makefiles 2016-06-02 16:24:30 +02:00
Sebastien Lorquet
bfff7dc4ca add kmenu files 2016-06-02 15:23:50 +02:00
Gregory Nutt
59973da9ca apps/examples/alarm: ioctl call was clobbering file descriptor. 2016-06-02 06:58:45 -06:00
Gregory Nutt
7fff9a000a Prep for NuttX-7.16 release 2016-06-01 15:45:56 -06:00
Sebastien Lorquet
6142ed8e61 apps/exmamples/media: Allow choosign the device to be tested via a comman line argument 2016-06-01 08:15:10 -06:00
Paul A. Patience
b2f8a0f047 examples/uavcan: Update configuration 2016-05-25 09:35:28 -04:00
Gregory Nutt
172971fb3c Kconfig: Extend some help comments 2016-05-18 19:50:55 -06:00
Gregory Nutt
62fec5d57d apps/system/sched_note: Move the schduler note monitor from example/ to system/ 2016-05-18 19:22:47 -06:00
Gregory Nutt
4f33dd14d4 apps/examples/watchdog: Remove call to up_wdginitialize(). This must be done in board-specific initialization. The call fram application space is not permitted. 2016-05-18 19:21:51 -06:00
Gregory Nutt
6a68a12269 apps/examplessmp: Fix a place where a spurious semicolon causes bad conditional logic 2016-05-11 17:41:13 -06:00
Gregory Nutt
29e8b8e059 Several Makefiles: Add .PHONY definitions to prevent 'clean up to date' message weirdness; Add default definitions for some commonly used things when 'make clean' is used without .config or Make.defs files installed. 2016-05-10 15:40:20 -06:00
Gregory Nutt
e2654d8777 VNC: Finish initializing the VNC server once we have the NX handle 2016-04-22 13:38:06 -06:00
Gregory Nutt
3df1ea1a8a Merge branch 'master' of bitbucket.org:nuttx/apps 2016-04-22 08:54:51 -06:00
Gregory Nutt
e79f5518dd apps/examples/nximage: Add configuration option to select greyscale image 2016-04-22 08:54:30 -06:00
ziggurat29
5d61e3d6eb heap corruption due to buffer overrun when initializing txbuffer; incorrect size 2016-04-20 20:23:01 -05:00
Gregory Nutt
7308fdcdf2 Framebuffer driver: Add a display number to each interface in order to support multiple displays 2016-04-14 12:23:52 -06:00
Gregory Nutt
8763ff02fb Remove bad commit of a submodule; Also updates a README. 2016-04-06 16:42:49 -06:00
Gregory Nutt
5193d93cf5 apps/examples/alarm: Add a simple the RTC alarm ioctl commands 2016-04-03 09:19:19 -06:00
Gregory Nutt
0c124ca2e1 Fix some Kconfig files so that they authomatically select the correct BOARDCTL options 2016-03-30 07:37:45 -06:00
Gregory Nutt
0943afd2f9 Kconfig files: All USB-related options depend on CONFIG_LIB_BOARDCTRL and now set CONFIG_BOARDCTL_USBDEVCTL=y 2016-03-26 07:13:57 -06:00
Gregory Nutt
6951366eca Replace all calls to the OS internal usbdev_serialinitialize with proper calls to boardctl() 2016-03-25 16:00:28 -06:00
Gregory Nutt
a31300cb05 Replace calls to OS internal cdcacm_*, usbmsc_*, and composite_* with boardctl() calls 2016-03-25 13:26:00 -06:00
Gregory Nutt
f45d5a7ebf Minor changes from review 2016-03-24 11:22:24 -06:00
ziggurat29
bd273b9f13 minor; intialize buffer to well-known patter to make it easy to see if it was truly filled with random data 2016-03-24 11:43:45 -05:00
Gregory Nutt
badbb3ad9a Update a comment 2016-03-22 18:14:08 -06:00
Gregory Nutt
a473ececed apps/examples/sched_note: Fix some issues associated with monitoring critical sections 2016-03-21 17:09:18 -06:00
Gregory Nutt
5a95cb4601 apps/examples/sched_note: Add task state to suspend event output; fix some output formatting errors 2016-03-21 15:25:11 -06:00
Gregory Nutt
b44c9fa174 apps/examples/sched_note: Adjust example for changes to scheduler instrumentation 2016-03-21 14:09:25 -06:00
Gregory Nutt
2443278928 Fix error in time calculation 2016-03-17 16:13:43 -06:00
Gregory Nutt
6a5b6f8753 Add a simple test of the scheduler instrumentation logic. This initial version is still kind of buggy. 2016-03-17 16:02:28 -06:00
Gregory Nutt
84f453b7a1 apps/examples/ostest: Add a test of TLS 2016-03-11 14:02:00 -06:00
Gregory Nutt
4c10341269 apps/exampels/rgb: Make path to driver a configuration option 2016-02-23 07:04:54 -06:00
Alan Carvalho de Assis
855d2e70bf apps/examples/rgbled: Add an example using the RGB LED driver 2016-02-23 06:53:35 -06:00
Gregory Nutt
6125e9376e Standardize some naming in code section comments 2016-02-21 18:15:00 -06:00
Gregory Nutt
431695015e apps/examples/smp: Improvements/fixes 2016-02-21 13:29:25 -06:00
Gregory Nutt
65a6739593 Add test for verifying SMP operation 2016-02-21 11:33:13 -06:00
Gregory Nutt
65a1d53079 Add some REVISIT comments 2016-02-20 14:57:37 -06:00
Gregory Nutt
ec11a454f9 apps/examples/leds: Need to better used of the supported set 2016-02-20 14:06:34 -06:00
Gregory Nutt
6037ed8643 Some fixes to apps/examples/leds 2016-02-20 13:20:22 -06:00
Gregory Nutt
790899508e apps/examples/leds: An example showing how to use the LED driver 2016-02-20 12:11:42 -06:00
Gregory Nutt
7537a963b4 UAVCAN: Add a patch to make the verified version of UAVCAN compatible with the current NuttX code base 2016-02-15 19:11:52 -06:00
Gregory Nutt
d5c3bae6cd apps/: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 15:15:37 -06:00