Commit Graph

388 Commits

Author SHA1 Message Date
patacongo 598b4b2879 Minor tweak to last bugfix
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5540 42af7a65-404d-4744-a932-0658087f49c3
2013-01-19 19:45:08 +00:00
patacongo 1094575ce5 Fix a bug where recv[from]() would hang when remote host gracefully closed connection
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5539 42af7a65-404d-4744-a932-0658087f49c3
2013-01-19 19:18:44 +00:00
patacongo 070651221f Add split package logic to improve TCP send performance with delayed ACKs
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5538 42af7a65-404d-4744-a932-0658087f49c3
2013-01-19 16:40:43 +00:00
patacongo 53e8b454bf Add configuration for Wave Share Open1788 (fragmentary)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5537 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 22:42:37 +00:00
patacongo eb1e5b46af Add vectors for the LPC1788 - from Rommel Marcelo
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5536 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 21:05:17 +00:00
patacongo a79a2bfbd6 More LPC1788 register definitions from Rommel Marcelo
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5535 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 20:25:32 +00:00
patacongo 40041c8792 Refactor all lpc17xx header files (more like STM32 header file structure now)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5534 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 19:16:44 +00:00
patacongo 3ff155d048 Beginnings of definitions for the LPC1788; convert olimex-lpc1766stk to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5533 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 16:37:37 +00:00
patacongo 55b9700d59 STM32 I2C changes from Mike Smith
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5532 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 13:34:09 +00:00
patacongo 76753ad9cb Add internal API task_reparent(), used in posix_spawn(). Move libc/spawn/lib_ps.c to sched/task_posixspawn.c; Move libc/spawn/spawn.h to include/nuttx/spawn.h
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5531 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 01:52:42 +00:00
patacongo 2f653578c6 Misc bug fixes related to NSH file execution
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5530 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 20:25:32 +00:00
patacongo 19e43efe23 NSH will now run files from the file system; Add logic to unload and clean-up after running a task from a file system; Extensions to builtin apps from Mike Smith
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5529 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 18:32:13 +00:00
patacongo e9d0885500 Add logic to automatically unload module on exit; Several patches from Mike Smith
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5528 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 14:43:55 +00:00
patacongo caeef71797 Change the way thread priority is handled in binfmt/ to better match the way that priority is set up for the builtin tasks
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5527 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 00:30:12 +00:00
patacongo e7e1c6aee0 convert configs/sim/nsh to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5526 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 21:38:00 +00:00
patacongo a568e1e63a Add a binary 'loader' so that builtin applications can be executed from the BINFS file system
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5525 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 19:08:23 +00:00
patacongo 38efdf0ce3 Rename apps/include/apps.h to builtin.h. Move parts of apps/builtins/exec_builtin.c to binfmt/libbuiltin/libbuiltin_utils.c
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5524 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 17:05:00 +00:00
patacongo 4f7967b4c6 apps/builtin/binfs.c moved to nuttx/fs/binfs/fs_binfs.c
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5523 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 15:41:27 +00:00
patacongo 77efc9f9cd BINFS now supports open, close, and FIOC_FILENAME ioctl
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5522 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 14:14:14 +00:00
patacongo fcb316906d Implement redirection of output from NSH builtin commands to a file in a mounted volume
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5521 42af7a65-404d-4744-a932-0658087f49c3
2013-01-15 21:01:37 +00:00
patacongo 90a72e97d3 Implement vfork() for the MIPS32 architecture
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5520 42af7a65-404d-4744-a932-0658087f49c3
2013-01-15 15:40:18 +00:00
patacongo f55cabeb59 Don't build drivers/mtd unless CONFIG_MTD is defined (Denis Carikli)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5519 42af7a65-404d-4744-a932-0658087f49c3
2013-01-15 00:03:58 +00:00
patacongo 87b33d3546 Configre configs/ubw32/ostest to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5518 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 22:06:19 +00:00
patacongo cc3614dfe8 Finish dup logic for open files; fix bug in sigtimedwait(), would return wrong signo value if the signal was already pending
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5517 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 19:22:32 +00:00
patacongo 930f9a1351 Add support for dup2'ing files. Infrastructure and ROMFS done. Still need FAT, BINFS, NXFFS, and NFS
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5516 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 15:42:03 +00:00
patacongo b3f3dd123c Use SIGCHLD with waitpid(); implemented wait() and waitid()
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5515 42af7a65-404d-4744-a932-0658087f49c3
2013-01-13 18:53:00 +00:00
patacongo ffda55b34a Cosmetic cleanup from SIGCHLD changes
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5514 42af7a65-404d-4744-a932-0658087f49c3
2013-01-13 00:35:47 +00:00
patacongo b58281cab8 Fix a *critical* bug in the task exit logic. Implements SIGCHILD
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5513 42af7a65-404d-4744-a932-0658087f49c3
2013-01-12 19:58:45 +00:00
patacongo db161f73bc Documentation update
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5512 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 21:51:54 +00:00
patacongo 43e22b2b98 Fix an error handling bug in the fread logic
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5511 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 19:08:51 +00:00
patacongo e7a5090e55 Various changes while debugging posix_spawn
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5510 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 16:53:44 +00:00
patacongo b26d1e1453 Update STM32 F1 DMA to parity with F2/F4
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5509 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 13:30:23 +00:00
patacongo 7609c9a192 Fix problem with initialization of file actions
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5508 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 23:06:23 +00:00
patacongo f011bd7ef6 Added a test of posix_spawn()
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5507 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 21:39:57 +00:00
patacongo 6f241ed044 Add interfaces to dynamically change symbol tables used by posix_spawn, execv, and execl. This is needed for testing.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5506 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 20:00:08 +00:00
patacongo 9f8f8fc6dc Add missing support for signal masks to posix_spawn.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5505 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 18:31:08 +00:00
patacongo 322e9d18c7 Completes implementation of posix_spawn. Still untested and undocumented
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5504 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 17:37:29 +00:00
patacongo 91cfebc978 Removed posix_spawn signal masks - they cannot be supported in NuttX; Add skeleton for posix_spawn proposer - still incomplete
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5503 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 15:26:09 +00:00
patacongo 35c5bb8e0f Fix rounding in clock_time2ticks(). From Mike Smith.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5502 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 14:07:30 +00:00
patacongo 5ac907eb39 Add spawn attribute logic which will eventually be needed to support posix_spawn()
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5501 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 00:45:11 +00:00
patacongo 44fdf6fc7a Add file action logic which will eventually be needed to support posix_spawn()
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5500 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 21:31:36 +00:00
patacongo d844f61f8a Re-partition Stellaris vector logic
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5499 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 19:49:16 +00:00
patacongo 35cc14be43 Change naming of all Stellaris pre-processor symbols from LM3S_ to LM_ to make room in the namespace for LM4F
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5498 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 18:15:02 +00:00
patacongo 51fc8af31f Rename LM3S files, variables, and types from lm3s_ to lm_; Rename configuration variables from CONFIG_LM3S_ to CONFIG_LM_
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5497 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 14:48:55 +00:00
patacongo 8156a2bed1 Use kconfig- prefix to avoid tool name conflicts (from Jose Pablo Carballo)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5496 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 12:55:13 +00:00
patacongo 3f4d206288 Rename arch/arm/src/lm3s to arch/arm/src/lm to allow a namespace that will include the lm4f
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5495 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 20:56:40 +00:00
patacongo 23cc9f459c Eliminate arch/arc/src/lm3s/lm3s_internal.h; replace with several header files
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5494 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 19:27:38 +00:00
patacongo fd45b36c04 Documentation update
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5493 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 16:51:22 +00:00
patacongo 14f72f7a21 Add execv() and execl(); Move lm3s header files for compatibility
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5492 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 16:25:30 +00:00
patacongo 3d160e45b6 Documentation update
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5491 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 00:04:12 +00:00