Commit Graph

413 Commits

Author SHA1 Message Date
Gregory Nutt c7c62d5b2c Move AIO signal logic to a common location in aio_signal.c. Also fix several typos 2014-10-05 06:55:17 -06:00
Gregory Nutt c274acc48f Move AIO signal logic to a common location in aio_signal.c. Also fix several typos 2014-10-05 06:53:56 -06:00
Gregory Nutt 0c241ace72 Add initial implementatin of aio_return() and aio_error() 2014-10-04 18:17:54 -06:00
Gregory Nutt 3bef2b7a43 Update TODO list and comments in aio files 2014-10-04 17:47:54 -06:00
Gregory Nutt e8cef249cc Initial implementation of aio_write() 2014-10-04 17:30:24 -06:00
Gregory Nutt fa28c51c75 Fleshes out aio_read implementation 2014-10-04 14:44:57 -06:00
Gregory Nutt 9e8a4dd229 Add skeleton file for eventual implementation of aio_read() 2014-10-04 14:22:00 -06:00
Gregory Nutt 1f897daa27 Add empty skeleton file where lio_listio() will eventually be implemented 2014-10-04 11:23:17 -06:00
Gregory Nutt 11c2619838 Add a build structue to support asynchronous I/O 2014-10-04 10:31:11 -06:00
Gregory Nutt 92cc7a96e6 Change to lib_dtoa() to fix prescision error from trailing zeroes 2014-09-26 05:49:50 -06:00
Gregory Nutt 5e285b8bc4 More NxWM build fixes 2014-09-20 16:47:00 -06:00
Gregory Nutt 925fc9ad81 First round of changes to get the ELF configuration building again 2014-09-16 15:37:05 -06:00
Gregory Nutt abb60c9c2f Fix some backward conditional compilation 2014-09-15 16:23:31 -06:00
Gregory Nutt 398f7b594f execv() is a basic system interface. It should not be in libc/ but rather in sched/task. Its symboltable helper logic also belongs in the kernel but belings in binfmt/ with the other symbol table logic 2014-09-15 10:15:47 -06:00
Gregory Nutt da7a440b35 execv() is a basic system interface. It should not be in libc/ but rather in sched/task. Its symboltable helper logic also belongs in the kernel but belings in binfmt/ with the other symbol table logic 2014-09-15 10:15:19 -06:00
Gregory Nutt b255883b0a Rename everything associated with the dynamic process stack to ustack to make room in the name space for a kstack 2014-09-14 09:10:09 -06:00
Gregory Nutt e12213592b Don't build task_create() or task_spawn() interfaces if there is an addres environment 2014-09-14 08:22:21 -06:00
Gregory Nutt 1f3db86106 Fix one more dependency upon having a symbol table 2014-09-12 13:03:10 -06:00
Gregory Nutt 8f30804e05 Having a symbol table is an option. There are no symbol tables with CONFIG_BUILD_KERNEL, for example. 2014-09-12 12:48:22 -06:00
Gregory Nutt 6295203a82 Cosmetic changes 2014-09-12 12:44:03 -06:00
Gregory Nutt ba7d5acf94 Fix a couple more places where the wrong allocator is being used 2014-09-11 15:56:04 -06:00
Gregory Nutt fc35e35165 When a privileged thread exits, we have to use the kernel alloctor to free memory; when an unprivileged thread exits, we don't have to do anything... heap memory will be cleaned up when the address environment is torn down 2014-09-11 09:00:10 -06:00
Gregory Nutt 44499ed46c Rename some functions and reshuffling some paramters 2014-09-11 08:37:06 -06:00
Gregory Nutt 28ad8e7cfd Change commenting style to agree with coding standard 2014-09-08 08:02:37 -06:00
Gregory Nutt 9d03879c8b Correct atan2 implementations from Denis Arnst 2014-09-08 07:55:09 -06:00
Gregory Nutt e953fb11cd A const storage class to to phthread parameters. From Freddie Chopin 2014-09-08 06:21:48 -06:00
Gregory Nutt 1822b86373 Fix some conditional compilation in kernel build mode. And, while we are touching this logic, make g_default_pthread_attr const. 2014-09-07 10:46:58 -06:00
Gregory Nutt 47d55c28dc Mostly cosmetic changes 2014-09-04 10:28:38 -06:00
Gregory Nutt 23147c40a5 Remove final traces of the 8015 from the NuttX source tree 2014-09-01 13:21:15 -06:00
Gregory Nutt 54fa3b0b59 Rename kfree to kmm_free for consistency with other naming conventions 2014-08-31 17:04:02 -06:00
Gregory Nutt 9aca0c1c84 Rename kumalloc to kumm_malloc and kuzalloc to kumm_zalloc for consistency with other naming 2014-08-31 16:24:24 -06:00
Gregory Nutt 9ad7dae4c1 Rename kufree to kumm_free for consistency with other naming 2014-08-31 16:15:11 -06:00
Gregory Nutt 9cd1ddada4 Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency with other naming 2014-08-31 15:27:37 -06:00
Gregory Nutt e3ff0689bb Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL 2014-08-29 14:47:22 -06:00
Gregory Nutt a325cb9f0d sscanf(): NuttX libc tried to guess how many characters to parse, extracted them into a buffer, then ran strtol() on that buffer. That guess is often wrong. A better approach would be to call strtol() directly on the input data, using the endptr return value to determine how many characters to skip after parsing. From Kosma Moczek 2014-08-18 07:33:17 -06:00
Gregory Nutt 8428a58bdc Add support for an ioctl that can be used to notify an application when there is a change in the network status signalled by a PHY interrupt 2014-08-16 12:56:02 -06:00
Gregory Nutt f60ff46646 Remove libc/time/tzfile.h; content moved inside of libc/time/lib_localtime.c 2014-08-15 15:59:57 -06:00
Gregory Nutt 96bc77fb93 libc/time/lib_localtime.c is much closer to NuttX coding style. libc/time/private.h removed; incorporated into lib_localtime.c 2014-08-15 15:38:37 -06:00
Gregory Nutt 318270d849 Fix warning caused by change in mktime prototype 2014-08-12 13:50:08 -06:00
Gregory Nutt 7025465109 Adds support for localtime. From Max Neklyudov 2014-08-12 06:18:22 -06:00
Gregory Nutt e4ab3198e1 Slightly improved nanosecond calculation 2014-08-10 13:11:52 -06:00
Gregory Nutt 320707fdfa SAMA5: Fix bugs in timer/counter interrupts and one-shot timer 2014-08-10 10:47:38 -06:00
Gregory Nutt 6e0acd7cd4 WM8904: Don't use MSEC2TICK in timeout calculation 2014-08-08 11:02:45 -06:00
Gregory Nutt caba61999a Remove CONFIG_DISABLE_CLOCK 2014-08-07 12:35:24 -06:00
Gregory Nutt e214382264 Audio: Change how the end of the audio stream is detected by the leaf audio component. This used by be done by looking for the first partial buffer. That does not work with the in-place sub-sampling performed by the PCM decoder: That always reduces the size of the buffer so that all buffers only partially filled by the time they get to the leaf. Now, a flag is set in the audio buffer flags set to indicate the final buffer in the stream. 2014-07-31 16:36:09 -06:00
Gregory Nutt b7227f0088 Cosmetic changes, mostly to comments 2014-07-29 12:49:40 -06:00
Gregory Nutt 3384906cdd Lpc17xx Ethernet: Comment out an assertion that is reported to first inappropriately. From Max 2014-07-11 12:25:11 -06:00
Gregory Nutt 0da9aaeb09 Fix some recurring typos: postion->position, *atino->*ation 2014-07-08 13:12:36 -06:00
Gregory Nutt befcb1c961 Fix some cloned errors in SAM GPIO interrupt setup 2014-07-07 15:54:37 -06:00
Gregory Nutt 60246e613b 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 fa29170aa7 Make variable definitions 'static const' when possible to save RAM usage. From Kosma Moczek 2014-06-30 07:39:51 -06:00
Gregory Nutt 5ac94ff988 Fixes for networking and tiny webserver from Max 2014-06-29 09:30:09 -06:00
Gregory Nutt f0c90a39ca Change double_t to double in rint. Add rintf and rintl while we are at it 2014-06-28 10:14:29 -06:00
Gregory Nutt 33121dd0d0 Various changes associated with symbol tables. Most from Pelle Windestam 2014-06-27 08:14:07 -06:00
Gregory Nutt 2b5f8dbba5 Cosmetic cleanup 2014-06-18 08:24:53 -06:00
Gregory Nutt 038f10ed55 Add seekable standard streams 2014-06-14 16:19:42 -06:00
Gregory Nutt 0a331754f7 Add support for seekable raw streams 2014-06-14 15:46:59 -06:00
Gregory Nutt 24e603f23b Add support for seekable memory streams 2014-06-14 15:35:18 -06:00
Gregory Nutt 59846a8fe9 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:43 -06:00
Gregory Nutt 2abe0dd6dd Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt 972c4cbab5 Nucleo F401RE: Remove PX4 cruft that can in with the port 2014-04-22 12:18:08 -06:00
Gregory Nutt 3a1324741a More trailing whilespace removal 2014-04-13 14:32:20 -06:00
Gregory Nutt 890beea0b6 Remove dangling white space at the end of the line 2014-04-13 13:26:55 -06:00
Gregory Nutt f7e5953804 Cosmetic changes for coding style; removal of dangling spaces at the end of lines 2014-04-13 13:18:06 -06:00
Gregory Nutt 494387b33b Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt 303cc1902b Make sure that there is one space between if and condition 2014-04-12 12:53:19 -06:00
Gregory Nutt 2fcc57edb0 mv ramlog.h and syslog.h to new include/nuttx/syslog 2014-04-10 09:29:30 -06:00
Gregory Nutt ed294643bd sscanf: Use stroul() vs strol() for %u format. From kfrolov 2014-04-02 09:15:40 -06:00
Gregory Nutt 68025784b0 Fix ftell() bug: It was not accounting for data buffered in memory. From Macs N 2014-03-31 09:47:28 -06:00
Gregory Nutt cd135fe3a8 Complete fragmentary support for ferror(). From Macs N 2014-03-31 09:39:10 -06:00
Gregory Nutt 6bb8cc02df sscanf(): Was returning the wrong number of conversions in many cases; Also, needs to return EOF if there were no conversions 2014-03-30 14:24:38 -06:00
Gregory Nutt e6bd002d68 Use get_errno() instead of errno because I may do something different if used inside the OS 2014-03-30 11:33:47 -06:00
Gregory Nutt a0b330bd92 strncpy would fail if n==0 2014-03-28 15:17:43 -06:00
Gregory Nutt 29a4ca8f08 configs/rgmp/arm/default: Configuration converted to use the kconfig-frontends tools 2014-03-06 11:19:05 -06:00
Gregory Nutt a84a421248 Ooops... I left out a semicolon in the last sscanf() commit 2014-02-18 15:38:44 -06:00
Gregory Nutt 927ec9c792 sscanf() bug fixes from David Sidrane 2014-02-18 14:14:07 -06:00
Gregory Nutt 91b002a043 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt e10ab85d1d More changes to restore the native Windows build 2014-02-07 10:14:11 -06:00
Gregory Nutt a5b8755bea Add a patch to work around the bug in the ZDS-II 5.0.1 toolchain 2014-01-24 11:58:30 -06:00
Gregory Nutt 297896fe0e getopt(): Could leave optind in undefined state if argc == 1 2014-01-20 13:13:36 -06:00
Gregory Nutt e340fdb88c Minor documentation updates and other cosmetic changes 2014-01-20 13:10:30 -06:00
Gregory Nutt be14ee1f95 Move strol(), stroul(), and friends from libc/string to libc/stdlib where they belong 2014-01-16 08:03:26 -06:00
Gregory Nutt 803cdfdaf1 Changes to get PX4 config to build. Also some warning removal 2014-01-14 13:30:22 -06:00
Gregory Nutt 46a94ce6c5 Cosmetic clean-up in preparation for TCP write buffering change 2014-01-13 08:21:18 -06:00
Gregory Nutt 25fd6d1904 NSH: Separate command line parsing from command execution. Add support for multiple, semicolone separated commands on each line 2014-01-10 15:23:26 -06:00
Gregory Nutt 752068073a Forgot to add stpcpy.c in last commit 2014-01-10 07:09:59 -06:00
Gregory Nutt 4e2c140124 Add stpcpy() 2014-01-09 14:08:48 -06:00
Gregory Nutt a0808e7b6d Minor fixes to lib_fgets() typing 2014-01-08 11:24:28 -06:00
Gregory Nutt 0bdee120a1 Add lib_libfgets() to better support the small differences between gets(), gets_s(), and fgets() 2014-01-08 10:47:34 -06:00
Gregory Nutt e3b12cbaa9 Add x qualifier to fopen to support exlusive open 2014-01-07 17:18:38 -06:00
Gregory Nutt c5f9b8768e Add type rsize_t and function gets_s() 2014-01-07 16:27:45 -06:00
Gregory Nutt 53ce920eae Add FAR to a couple of functions. The Z16F cares about such things 2014-01-02 12:36:20 -06:00
Gregory Nutt a1f8bd0f58 The user-mode work queue was not being started 2013-12-31 12:48:11 -06:00
Gregory Nutt 90b269568b Fix some minor kernel mose NxWM build issues 2013-12-30 14:09:58 -06:00
Gregory Nutt a457105a0b Move the NX components out of libc and into its own library, libnx 2013-12-28 08:40:03 -06:00
Gregory Nutt 090a18f863 Decoupling NX user interfaces to support NX kernel build (phase 5) 2013-12-27 16:30:18 -06:00
Gregory Nutt ae29bcb5ab Decoupling NX user interfaces to support NX kernel build (phase 4) 2013-12-27 15:51:26 -06:00
Gregory Nutt 1e690c5a49 Decoupling NX user interfaces to support NX kernel build (phase 3) 2013-12-27 14:49:40 -06:00
Gregory Nutt 425d0cccaf Decoupling NX user interfaces to support NX kernel build (phase 2) 2013-12-27 14:30:13 -06:00
Gregory Nutt 2507017695 Decoupling NX user interfaces to support NX kernel build (phase 1) 2013-12-27 13:18:20 -06:00
Gregory Nutt c4380b5a8f ARMv7-A: If the page table does not like in same address range as .text and primary RAM, then we will need to set up an additional mapping for the page table at boot time. 2013-12-16 08:26:07 -06:00
Gregory Nutt 46b77e2544 Support /proc/uptime 2013-12-14 10:34:08 -06:00
Gregory Nutt 7aff059fd0 Move sleep() and usleep() from sched/ to libc/unistd/. These functions now are simple wrappers for nanosleep(). Remove sleep() and usleep() from system calls; add nanosleep() to system calls 2013-12-13 07:57:13 -06:00
Gregory Nutt 2e8b0d97e2 strftime should also return zero if the resulting string is truncated and/or not properly NUL terminated 2013-12-12 18:03:04 -06:00
Gregory Nutt 2fac3de49e strftime(): Need null-termination on generated string. From Max Holtzberg 2013-12-12 17:41:07 -06:00
Gregory Nutt 33a3bb0e37 Pattern matching logic extended by Ken Pettit 2013-12-12 08:40:54 -06:00
Gregory Nutt bdf1ad69d6 libc logic should not directly assign errno, but should use set_errno() macro. This is because in the kernel build, errno is a system call 2013-12-11 14:54:22 -06:00
Gregory Nutt 692b087d07 LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks 2013-12-05 10:37:55 -06:00
Gregory Nutt 78936f7260 Changes for ZDS-II ez80 build 2013-11-28 17:47:03 -06:00
Gregory Nutt 05d50e6379 A few changes needed for compilation with ZDS-II 2013-11-28 15:57:41 -06:00
Gregory Nutt 390378bfcf Remove unused apb_prepare function 2013-11-11 08:14:56 -06:00
Gregory Nutt 4ad7f73f54 libc/audio/lib_buffer.c must must correct allocation for execution domain 2013-11-10 12:22:01 -06:00
Gregory Nutt 725ef58a19 SAMA5 SSC: Add support for loopback mode. Plus unrelated Make.defs file from the last checkin 2013-11-10 11:46:45 -06:00
Gregory Nutt 8b73558ad7 Moved audio/buffer.c to libc/audio/lib_buffer.c so that it can be shared betweent he OS and applications in a kernel build 2013-11-10 11:20:06 -06:00
Gregory Nutt 545cef3223 scanf() fixes from kfrolov: 1) sscanf() function hangs in the following example: sscanf(2, %u,%u,%u,%u, ...), 2) sscanf() returns incorrect number of parsed numbers if some arguments can't be parsed: sscanf(=2, %u,%u,%u,%u,...)==1 instead of 0, and 3) using of char* instead of const char* in vsscanf function leads to warnings from GCC. 2013-10-21 10:41:15 -06:00
Gregory Nutt 566857bcbd Clean-up routing table design. 2013-10-05 12:05:51 -06:00
Gregory Nutt 02b8a8bf19 Clean up queue files so that they look more like others 2013-10-05 12:03:31 -06:00
Gregory Nutt 0ff3852b2f Add a user interface to manage the routing table 2013-10-02 10:51:48 -06:00
Gregory Nutt 30ffd2364c Remove some warnings 2013-10-01 12:10:09 -06:00
Gregory Nutt dc4c6bcb57 When creating kernel dependencies, need to define __KERNEL__ 2013-09-29 15:03:10 -06:00
Gregory Nutt c038f4efe0 Dependency generation fix for directories that keep object files in a sub-directory 2013-09-29 11:46:10 -06:00
Gregory Nutt 417f67c132 Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt 41f0c86cad Optimized sendfile() from Max Holtzberg 2013-09-28 14:47:49 -06:00
Gregory Nutt bc46b447dc Fix all occurrences of "the the" in documentation and comments 2013-08-27 09:40:19 -06:00
Gregory Nutt 352c313fa7 Fix typo/compilation error with USB device DMA memory allocation is enabled 2013-07-12 07:09:24 -06:00
Gregory Nutt 4d8a4b69a4 Add CRC16 support 2013-07-07 17:35:35 -06:00
Gregory Nutt 961837eaaf Fix an assertion 2013-06-02 16:49:41 -06:00
Gregory Nutt 44450511d4 Add dprintf() and vdprintf() 2013-06-02 15:49:52 -06:00
Gregory Nutt 4748599a43 .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00
Gregory Nutt 7554d2888e 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 1a636e1896 More SLCD-related fixes 2013-05-26 11:26:34 -06:00
Gregory Nutt 777e0c5da0 Extentions SCLD test; SCLD CODEC and LCD1602 driver bug fixes 2013-05-26 09:28:57 -06:00
Gregory Nutt af870d7ae3 Fix bugs in SLCD test and in SLCD CODEC 2013-05-24 11:11:48 -06:00
Gregory Nutt abf8c8a13a STM32L-Discovery LCD driver is code compele but untested 2013-05-23 15:23:29 -06:00
Gregory Nutt c1f6d50093 Add logic to encode/decode special SLCD actions 2013-05-23 10:23:41 -06:00
Gregory Nutt 88c0911fb1 Various changes and bigfixes for problems detected by CppCheck 2013-05-09 14:23:34 -06:00
Gregory Nutt ba52f8d3ec Misc changes for clean built od mikroe-stm32f4 configurations 2013-05-01 09:21:13 -06:00
Gregory Nutt f9be47ead2 Add configuration and example to test MTD partitions 2013-04-30 15:54:02 -06:00
Gregory Nutt b553609351 New Kconfig convention: Extra indentation in comments will render as HTML preformatted text 2013-04-22 09:10:58 -06:00
Gregory Nutt c23ad7963f Fixes to strchr, mkfats, and NxWidgets from Petteri Aimonen 2013-04-22 08:01:43 -06:00
Gregory Nutt 06871729dd Support for printing NaN and infinity from Andrew Tridgell 2013-04-17 07:40:48 -06:00
Gregory Nutt db78b76102 Mostly updates and corrections to .gitignore files 2013-04-04 15:39:50 -06:00
Gregory Nutt 23db0682b7 Clone svn:ignore directory atributed to .gitignore files 2013-04-04 14:27:29 -06:00
patacongo 997666ed44 Fixes to get SDRAM working on the Open1788. Works but is not reliable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5794 42af7a65-404d-4744-a932-0658087f49c3
2013-03-27 16:24:45 +00:00
patacongo a1344d8a44 Rework of kernel build signal dispatch to user-space handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5778 42af7a65-404d-4744-a932-0658087f49c3
2013-03-23 14:46:02 +00:00
patacongo 5453d1f2e5 In the kernel build, pass task paramters in the stack, not using the arrary in the TCB
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5770 42af7a65-404d-4744-a932-0658087f49c3
2013-03-21 21:51:15 +00:00
patacongo 6c2fb4405c Directories where the same source files are used to build different objects need to keep those objects in separate directories; LPC17xx updates from Chris Taglia
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5762 42af7a65-404d-4744-a932-0658087f49c3
2013-03-19 23:40:07 +00:00
patacongo 1a67cb9e1e Fix for trailing %n bug in sscanf (with help from Lorenz Meier)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5754 42af7a65-404d-4744-a932-0658087f49c3
2013-03-18 00:41:42 +00:00
patacongo b3890db5ce Add support for calling to and returning from signal handlers in in user-mode threads
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5750 42af7a65-404d-4744-a932-0658087f49c3
2013-03-17 00:40:49 +00:00
patacongo 76d1ad21f2 Fix bad conditional logic in mkconfig.c; Add user-mode pthread start-up logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5748 42af7a65-404d-4744-a932-0658087f49c3
2013-03-16 17:37:40 +00:00
patacongo 6239b70352 Prep for 6.26 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5745 42af7a65-404d-4744-a932-0658087f49c3
2013-03-15 18:07:34 +00:00
patacongo 3e8bfb1fe1 Switch to user-mode before starting a new task
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5742 42af7a65-404d-4744-a932-0658087f49c3
2013-03-14 22:44:06 +00:00
patacongo d960ca3b8d itoa() from Ryan Sundberg
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5741 42af7a65-404d-4744-a932-0658087f49c3
2013-03-14 18:30:06 +00:00
patacongo 1549b649a6 Reorganize some AT91SAM3U files; Add an NSH kernel build configuration to the WaveSahhare Open1788 board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5732 42af7a65-404d-4744-a932-0658087f49c3
2013-03-11 20:26:55 +00:00
patacongo 2433c1461b Remove user_map.h; replace with a header at the beginning of the user-space blob. User work queue no started by os_brinup() on behalf of the application
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5727 42af7a65-404d-4744-a932-0658087f49c3
2013-03-10 23:42:49 +00:00
patacongo 1ef904003e Create sched_ufree and sched_kfree from sched_free; Use user-accessible heap to allocae stacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5725 42af7a65-404d-4744-a932-0658087f49c3
2013-03-10 15:32:33 +00:00
patacongo 1c52dce216 More changes for a kernel-mode allocator (more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5724 42af7a65-404d-4744-a932-0658087f49c3
2013-03-09 21:12:20 +00:00
patacongo feca2c077e With these fixes, the kernel build is basically functional (but there is more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5722 42af7a65-404d-4744-a932-0658087f49c3
2013-03-09 01:27:42 +00:00
patacongo 6feabf0fee Implement user-mode work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5712 42af7a65-404d-4744-a932-0658087f49c3
2013-03-06 00:02:07 +00:00
patacongo 4134862fb2 Move work queue logic from sched/ to libc/wqueue. It is not core logic and will be extended to support user-space work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5711 42af7a65-404d-4744-a932-0658087f49c3
2013-03-05 18:57:51 +00:00
patacongo 059aa5135a Many STM32 header files updated for F3 support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5635 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 19:07:13 +00:00
patacongo 426f8f0214 LPC17xx now supports FPU needed by LPC1788; LPC17xx can not use Mike's common vectors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5623 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 00:17:54 +00:00
patacongo 329328e5df New interface task_spawn(); exec_builtin() now uses task_spawn(); All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5598 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 19:31:30 +00:00
patacongo a3df67ef8a NxWidgets updates from Petteri Aimonen; buildroot GDB build fix from Ken Bannister
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5592 42af7a65-404d-4744-a932-0658087f49c3
2013-02-01 14:53:38 +00:00
patacongo 10a3ef0995 The USB monitor now works with the stm32f4discover/nsh configuration (but not with the usbnsh configuration)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5580 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 17:42:58 +00:00
patacongo ad430fc198 Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 21:55:16 +00:00
patacongo 328b6d41a0 Misc SYSLOG and STM32 serial fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5576 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 17:43:55 +00:00
patacongo 68b11dc1ee Add configs/stm32f4discovery/usbnsh
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5572 42af7a65-404d-4744-a932-0658087f49c3
2013-01-27 19:17:56 +00:00
patacongo a71843ef91 Move stream data from TCB to task group structure.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5569 42af7a65-404d-4744-a932-0658087f49c3
2013-01-26 22:25:21 +00:00
patacongo 44c3becee8 Add psock_poll(); Fix some warnings reported by Lorenz Meier; lm4f logic from JP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5557 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 18:39:53 +00:00
patacongo 3888a00d2d 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: svn://svn.code.sf.net/p/nuttx/code/trunk@5531 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 01:52:42 +00:00
patacongo e222dcd354 Misc bug fixes related to NSH file execution
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5530 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 20:25:32 +00:00
patacongo 4a801e4904 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: svn://svn.code.sf.net/p/nuttx/code/trunk@5529 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 18:32:13 +00:00
patacongo 555e3fe1f5 Add support for dup2'ing files. Infrastructure and ROMFS done. Still need FAT, BINFS, NXFFS, and NFS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5516 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 15:42:03 +00:00
patacongo 3f0b723b7c 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 6455ec191c Documentation update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5512 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 21:51:54 +00:00
patacongo 901912f4e5 Fix an error handling bug in the fread logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5511 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 19:08:51 +00:00
patacongo eb413a9145 Various changes while debugging posix_spawn
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5510 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 16:53:44 +00:00
patacongo 9f1b5b2ff6 Fix problem with initialization of file actions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5508 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 23:06:23 +00:00
patacongo 061b48fe88 Added a test of posix_spawn()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5507 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 21:39:57 +00:00
patacongo 2aa149a02d Add interfaces to dynamically change symbol tables used by posix_spawn, execv, and execl. This is needed for testing.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5506 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 20:00:08 +00:00
patacongo b7369de8e4 Add missing support for signal masks to posix_spawn.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5505 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 18:31:08 +00:00
patacongo f6485fe177 Completes implementation of posix_spawn. Still untested and undocumented
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5504 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 17:37:29 +00:00
patacongo d7efa5a6ae Removed posix_spawn signal masks - they cannot be supported in NuttX; Add skeleton for posix_spawn proposer - still incomplete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5503 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 15:26:09 +00:00
patacongo cb85fb1daa Add spawn attribute logic which will eventually be needed to support posix_spawn()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5501 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 00:45:11 +00:00
patacongo 21684b51f1 Add file action logic which will eventually be needed to support posix_spawn()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5500 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 21:31:36 +00:00
patacongo 1d6f741412 Use kconfig- prefix to avoid tool name conflicts (from Jose Pablo Carballo)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5496 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 12:55:13 +00:00
patacongo ddb0ad618e Documentation update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5493 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 16:51:22 +00:00
patacongo c76795d32b Add execv() and execl(); Move lm3s header files for compatibility
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5492 42af7a65-404d-4744-a932-0658087f49c3
2013-01-08 16:25:30 +00:00
patacongo 226d3e404f Extend tools/configure.c for better compatibility with configure.sh
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5481 42af7a65-404d-4744-a932-0658087f49c3
2013-01-05 16:07:37 +00:00
patacongo fc04cbdcc4 The default should be CONFIG_LIB_KBDCODEC=n
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5475 42af7a65-404d-4744-a932-0658087f49c3
2013-01-03 16:18:44 +00:00
patacongo b4b3c78e54 Fix bad conditional in nuttx/libc/misc/Make.defs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5474 42af7a65-404d-4744-a932-0658087f49c3
2013-01-03 15:45:57 +00:00
patacongo 7459202633 Add support for key release events
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5464 42af7a65-404d-4744-a932-0658087f49c3
2012-12-27 14:01:59 +00:00
patacongo d028533b8a Verified USB HID KBD driver encoding of special characters; apps/examples/hidkbd now decodes encoded keyboar characters.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5463 42af7a65-404d-4744-a932-0658087f49c3
2012-12-26 21:37:50 +00:00
patacongo 9c8152f308 Implement encoding the usbhost HID keyboard driver; configre olimex-lpc1766stk HID keyboard configuration to use the kconfig-frontends tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5461 42af7a65-404d-4744-a932-0658087f49c3
2012-12-26 18:54:59 +00:00
patacongo 4cc97f2930 Add logic to serialize and marshal out-of-band keyboard commands
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5460 42af7a65-404d-4744-a932-0658087f49c3
2012-12-25 17:22:58 +00:00
patacongo df9a72994f configs/xtrs/nsh and pashello now use kconfig-frontends and build Windows native
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5422 42af7a65-404d-4744-a932-0658087f49c3
2012-12-09 17:34:53 +00:00
patacongo 5306523bce Patches from Petteri Aimonen + stdbool and rand() changes for Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5415 42af7a65-404d-4744-a932-0658087f49c3
2012-12-07 16:00:56 +00:00
patacongo 431ad8c567 Fix the fat, flat line bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5407 42af7a65-404d-4744-a932-0658087f49c3
2012-12-02 17:34:08 +00:00
patacongo 65548d2ae0 Another random number generator update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5406 42af7a65-404d-4744-a932-0658087f49c3
2012-12-01 18:44:57 +00:00
patacongo 131684fb54 Correct some errors in lib_rand.c from last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5405 42af7a65-404d-4744-a932-0658087f49c3
2012-12-01 18:04:10 +00:00
patacongo 929ffc14d2 Add one to internal result of random number generator to avoid the value zero, from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5404 42af7a65-404d-4744-a932-0658087f49c3
2012-12-01 16:32:03 +00:00
patacongo 57419a9b19 Verify that z8 targets still build (under Cygwin)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5396 42af7a65-404d-4744-a932-0658087f49c3
2012-11-28 15:53:42 +00:00
patacongo 469ec154c0 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
patacongo 92cc274d33 Fix typo introduced into many Makefiles with last changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5370 42af7a65-404d-4744-a932-0658087f49c3
2012-11-19 19:53:53 +00:00
patacongo 26c9112ad2 Most of the changes needed to support Windows native clean; distclean is has a problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
2012-11-17 18:54:53 +00:00
patacongo f751d36eee Move some (hopefully) un-necessary quotes in Makefiles for Mike
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
2012-11-15 17:43:29 +00:00
patacongo a5f761c24e Correct some issues with last check-in; ez80 still does not build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5339 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 23:44:31 +00:00
patacongo a1cf659333 Completes removal bash ARCHIVE loop; Adds basic Makefile for native windows build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5338 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 18:36:28 +00:00
patacongo 3d2879fc4e Partial change: Removing bash ARCHIVE loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5335 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 15:42:12 +00:00
patacongo 98361244f0 Generated libraries are now installed in a new lib/ directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5332 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 00:57:22 +00:00
patacongo 5cb8226727 OK.. I think the directory has been recovered and renamed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5331 42af7a65-404d-4744-a932-0658087f49c3
2012-11-10 16:34:46 +00:00
patacongo 42997ede83 Still trying to recover directory contents
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5330 42af7a65-404d-4744-a932-0658087f49c3
2012-11-10 16:19:12 +00:00