Commit Graph

181 Commits

Author SHA1 Message Date
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
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
c11c4d6bd9 Add si_errno to siginfo_t 2015-08-14 10:12:35 -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
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
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
d5b6949c9f Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:14:53 -06:00
Juha Niskanen
2f67a661e7 sched/pthread: Implement pthread_mutex_trylock() for recursive mutexes 2015-06-16 08:32:20 -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
3e16e0a0f9 apps/examples: Modify/simpify apps/examples build files. From Roman Saveljev. 2015-05-06 08:19:54 -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
ad61a44791 apps/examples/ostest: Add a test for the sigprocmask, sighold, and sigrelse 2015-04-09 15:53:59 -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
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
0d8247ef29 apps/examples/ostest: Missing prototype for nsem_test() 2014-12-06 07:33:40 -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
48a185f691 Trivial AIO-related changes 2014-10-09 08:34:49 -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
0a4258db6d MAINOBJ needs to be added to object list in many Makefile 2014-09-11 06:48:11 -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
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
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
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
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
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
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
b14f1f48ec apps/examples/ostest: Spelling fix from Richard Cochran 2014-01-23 07:00:02 -06:00
Gregory Nutt
7ca7ae9fd6 Add Z16F NSH configuration 2014-01-01 12:40:18 -06:00
Gregory Nutt
d69d133f62 Add FPU configuration options for the OS test 2013-09-18 10:30:52 -06:00
Gregory Nutt
459d89d9db Remove CONFIG_XYZ_BUILTIN configurations, replace with the single CONFIG_NSH_BUILTIN_APPS. Add SAM3/4 sam_periphclks.h which is just a header file that includes the right header file. Misc SAM3U-EK cleanup 2013-06-12 17:32:00 -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
86052985d9 Cancel test needs to wait for the thread to set non-cancelable mode at one point 2013-04-18 11:37:38 -06:00
Gregory Nutt
470a04b8f9 Clone svn:ignore directory atributed to .gitignore files 2013-04-04 14:27:29 -06:00
patacongo
11b87dd5d9 Add port to Zilogic Systems ZKIT-ARM-1769 board (more coming)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5673 42af7a65-404d-4744-a932-0658087f49c3
2013-02-26 14:09:43 +00:00
patacongo
5ff8bb8c4f Minor changes to make OS test more robust in the presence of many memory allocation failures
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5672 42af7a65-404d-4744-a932-0658087f49c3
2013-02-26 00:56:59 +00:00
patacongo
b8c07cfa53 STM32F3Discovery passes all OS tests; Delay loop has been calibrated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5629 42af7a65-404d-4744-a932-0658087f49c3
2013-02-09 00:26:52 +00:00
patacongo
2ad5349d4c Fix some problems with the vfork() test on the STM32F3Discovery
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5628 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 22:53:14 +00:00
patacongo
2cac96c9c9 STM32F3Discovery port is complete, builds, and is ready for testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5622 42af7a65-404d-4744-a932-0658087f49c3
2013-02-07 22:11:40 +00:00
patacongo
a3b2882a10 Changed needed to fix issues with task_restart()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5615 42af7a65-404d-4744-a932-0658087f49c3
2013-02-06 15:43:28 +00:00
patacongo
4dd288e570 Misc clean-up and bugfixes related to multi-thread group signalling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5614 42af7a65-404d-4744-a932-0658087f49c3
2013-02-06 00:06:35 +00:00
patacongo
9acfb81b34 Moving pending signals to task group; Logic to recover some MQ resources on pthread_cacancel or task_delete; Now obeys rules for delivering signals to a process with threads
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5613 42af7a65-404d-4744-a932-0658087f49c3
2013-02-05 19:50:37 +00:00
patacongo
1529b30bd1 Move pthread join and key creation data into the task group
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5602 42af7a65-404d-4744-a932-0658087f49c3
2013-02-03 16:43:58 +00:00
patacongo
d36101683c Fix some compilation errors when child status disabled; new waitpid logic not encoding/decoding status properly
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5561 42af7a65-404d-4744-a932-0658087f49c3
2013-01-25 00:01:08 +00:00
patacongo
00cde57256 Fix some missing logic and inconsistencies in child status logic; Fix a bug introduced into sigaction()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5560 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 23:18:32 +00:00
patacongo
65c2f3e7ff Use SIGCHLD with waitpid(); implemented wait() and waitid()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5515 42af7a65-404d-4744-a932-0658087f49c3
2013-01-13 18:53:00 +00:00
patacongo
77960c8ca8 Cosmetic cleanup from SIGCHLD changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5514 42af7a65-404d-4744-a932-0658087f49c3
2013-01-13 00:35:47 +00:00
patacongo
e3b0979fcf Fix a *critical* bug in the task exit logic. Implements SIGCHILD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5513 42af7a65-404d-4744-a932-0658087f49c3
2013-01-12 19:58:45 +00:00
patacongo
c363996ee4 Fixed ARM vfork; re-enabled vfork OS test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5490 42af7a65-404d-4744-a932-0658087f49c3
2013-01-07 23:50:25 +00:00
patacongo
12817ab49f Disable the vfork() OS test... it fails
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5489 42af7a65-404d-4744-a932-0658087f49c3
2013-01-07 23:09:09 +00:00
patacongo
ecaf2037fd Add ostest vfork test (does not work yet)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5488 42af7a65-404d-4744-a932-0658087f49c3
2013-01-07 21:41:20 +00:00
patacongo
3e98f528a4 Some fixes to apps/builtin/registry need to handle some additional cases
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5456 42af7a65-404d-4744-a932-0658087f49c3
2012-12-24 13:15:57 +00:00
patacongo
b104cce86b Remove .context kludge from apps/ directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5455 42af7a65-404d-4744-a932-0658087f49c3
2012-12-23 22:17:09 +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