Commit Graph

1036 Commits

Author SHA1 Message Date
Sebastien Lorquet
297844b1ce Fix comments formatting 2017-05-19 17:50:26 +02:00
Sebastien Lorquet
aefddc3648 Second batch of changes (no problems) 2017-05-19 17:37:17 +02:00
Sebastien Lorquet
caeb6b32fd First batch of changes 2017-05-19 17:30:26 +02:00
Sebastien Lorquet
60ca4a1ef4 Ensure netlib will not be broken when setip will not bring the network up anymore 2017-05-19 17:13:27 +02:00
Juha Niskanen
0bcd50d7a1 apps/: Make more globals static to avoid name clashes 2017-05-19 07:13:12 -06:00
Alan Carvalho de Assis
22f48cfb5e apps/examples/can: ix can example app to print data when CONFIG_EXAMPLE_CAN_READ is defined 2017-05-17 16:07:34 -06:00
EunBong Song
c82d8b61b9 apps/examples/mtdpart: Prevent part array overflow. mtdpart examples create partions and allocate from 1 index not a 0 index to part[] array. This cause buffer overflow for part array. This change fixes this problem. 2017-05-17 08:16:45 -06:00
Gregory Nutt
e8f3d7f46b apps/examples/nettest: Fix an error in pre-processor expression. 2017-05-13 17:51:37 -06:00
Gregory Nutt
b08ea68a33 Move prototype from nuttx/include/nuttx/arch.h to apps/include/platform/cxxinitialize.h 2017-05-13 16:53:33 -06:00
Alan Carvalho de Assis
8011648ad0 Fix to use the new canardInit() function 2017-05-12 16:58:53 -03:00
Alan Carvalho de Assis
ed19c87029 Fix the new can.h header location 2017-05-12 11:58:57 -03:00
Gregory Nutt
13911d9b17 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:40:03 -06:00
Juha Niskanen
478049fc4f examples/configdata: add stacksize and priority 2017-05-10 08:44:01 -06:00
Gregory Nutt
f473842f96 Fix some calls to task_create(): argv[0] is the first parameter, not the name of the task. 2017-05-09 10:59:24 -06:00
Juha Niskanen
4d09ebcaec examples: random: avoid stack overflows 2017-04-26 10:32:20 -06:00
Gregory Nutt
9a49304527 examples/hidkbd: Add some missing configuration settings. 2017-04-18 07:24:15 -06:00
Juha Niskanen
65d59f8458 examples/ostest: clarify when pthread clean-up test mutex need to remain usable 2017-04-12 06:47:07 -06:00
Gregory Nutt
cfc71db80c pthreads: Backed most of last pthread changes. Found the 'real' root poblem. A one like error in pthread_mutex.c. 2017-04-10 09:51:44 -06:00
Gregory Nutt
b580d494e8 examples/ostest: pthread clean-up test must call pthread_consistent, not pthread_mutex_unlock() on cancellation if robust mutexes are enabled. 2017-04-10 08:13:06 -06:00
Juha Niskanen
64ad0684e7 examples/ostest: additional test for rwlock and one for cancel cleanup handlers 2017-04-10 07:20:48 -06:00
Mark Schulte
d7932d55df examples/ostest: pthread rwlock additional tests and bugfixes 2017-04-07 15:47:16 -06:00
Gregory Nutt
acb6077988 Remove CONFIG_PTHREAD_RWLOCK. Rwlock interfaces built unconditionally. 2017-04-07 07:30:52 -06:00
Mark Schulte
1fde89e2d9 examples/ostest: Add tests for pthread_rwlock. Adding tests to be used to verify the pthread_rwlock lock works 2017-04-07 07:23:14 -06:00
Gregory Nutt
07338ff2a9 examples/udpblaster: Add logic to bind the local UDP socket to a well-known address. 2017-04-06 11:58:55 -06:00
Gregory Nutt
14fc6d7575 examples/udpblaster: Several fixes to work with 6loWPAN. 2017-04-06 09:37:52 -06:00
Gregory Nutt
74ae283487 examples/nettest: If doing loopback, but not using the official loopback device, then use the server should use the configured client IP address 2017-04-04 15:13:11 -06:00
Gregory Nutt
eef0161dd4 examples/nettest: Trying to adapt to use for testing 6loWPAN. 2017-04-03 15:33:39 -06:00
Jussi Kivilinna
cf395b83b8 Add examples/usrsocktest application for USRSOCK testing 2017-04-03 09:25:49 -06:00
David Sidrane
2168119b73 apps/mm removed extraneous comment from Makefile 2017-03-28 14:36:03 +00:00
Gregory Nutt
c12348ad38 examples/mm: Fix Makefile. Built-in was not being registered. 2017-03-28 07:31:49 -06:00
Gregory Nutt
2c7dff70ec Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES 2017-03-27 09:08:00 -06:00
Gregory Nutt
531f5e1419 examples/ostest: Fix an error in last commit. 2017-03-27 08:58:23 -06:00
Gregory Nutt
a3fd7fdec0 examples/ostest: Robust mutex test needs to call pthread_mutexattr_setrobust(). 2017-03-27 06:55:51 -06:00
Gregory Nutt
879d269f41 examples/ostest: Add a test of robust mutexes. 2017-03-26 14:45:48 -06:00
Brian Webb
0ad3b3c03b Adds a test program for the XBox One controller driver (xbc_test). 2017-03-17 20:37:45 -07:00
Gregory Nutt
fca6da8248 apps/examples/usbterm: Removed because it is not very useful and because it can be configured to use an illegal call into the OS. 2017-03-09 15:37:16 -06:00
Gregory Nutt
c01db536e9 apps/examples/hidkbd: Remove call to arch_usbhost_initialize(). That is violation of the OS interfacing rules and will no longer be supported. USB host should be initialized as part of the normal board bring-up logic as with any other devices and should not involve illegal calls from applications into the OS. 2017-03-09 15:17:49 -06:00
Anton D. Kachalov
7c206fa16d Add missed dependency
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2017-03-09 16:52:48 +03:00
ahb
d8199fe460 increase number of supported PWM channels from 4 to 6 2017-03-09 11:52:37 +01:00
Gregory Nutt
ca95abd311 examples/button: Clean up confusing parameter passing. 2017-03-04 08:48:49 -06:00
Masayuki Ishikawa
5382806c5a Remove an unused variable when calling sigwaitinfo() 2017-03-02 13:41:08 +09:00
Masayuki Ishikawa
a05acc1abb Remove an unused variable when calling sigtimedwait() 2017-03-02 13:40:43 +09:00
Gregory Nutt
9eeff9b09a examples/canard: Remove warning for unused label 2017-02-27 09:06:45 -06:00
Gregory Nutt
f5fc7a0a29 C files that reference ANIOC_TRIGGER now need to include nuttx/analog/ioctl.h 2017-02-25 16:39:57 -06:00
Gregory Nutt
b83baa43dc examples/stat: Add test for fstatfs(). 2017-02-17 10:53:24 -06:00
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