patacongo
e4fa1da557
Fix a possible sigsegv in getopt
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1252 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 14:54:29 +00:00
patacongo
0e2ca53487
Add str[n]casecmp
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1239 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 14:26:22 +00:00
patacongo
ae2977a82e
Eliminate warnings
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1186 42af7a65-404d-4744-a932-0658087f49c3
2008-11-10 23:19:07 +00:00
patacongo
18d67eb782
Syntax error when field width not supported
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1183 42af7a65-404d-4744-a932-0658087f49c3
2008-11-10 15:01:08 +00:00
patacongo
6cb7caab02
Make use of FAR consistent in stdio.h
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1182 42af7a65-404d-4744-a932-0658087f49c3
2008-11-10 14:40:03 +00:00
patacongo
43a3c09982
Added low-level, verbose debug support
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1081 42af7a65-404d-4744-a932-0658087f49c3
2008-10-27 16:37:48 +00:00
patacongo
7595ec8761
cosmetic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@936 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 00:17:30 +00:00
patacongo
ab3beedeba
cosmetic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@897 42af7a65-404d-4744-a932-0658087f49c3
2008-09-08 18:49:28 +00:00
patacongo
0179e3a363
Fix compile error
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@863 42af7a65-404d-4744-a932-0658087f49c3
2008-09-01 23:59:10 +00:00
patacongo
4f58db9c18
Fix fseek/ftell; add fsetpos/fgetpos
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@862 42af7a65-404d-4744-a932-0658087f49c3
2008-09-01 20:35:41 +00:00
patacongo
84a75fdeab
Remove warning
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@856 42af7a65-404d-4744-a932-0658087f49c3
2008-08-30 23:02:16 +00:00
patacongo
3f2dfbb298
Added ch and pwd to NSH
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@841 42af7a65-404d-4744-a932-0658087f49c3
2008-08-23 15:16:10 +00:00
patacongo
3afb380432
fix error in getopt with no arguments
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@839 42af7a65-404d-4744-a932-0658087f49c3
2008-08-23 15:04:50 +00:00
patacongo
709263b6d8
Add chdir() and getcwd()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@837 42af7a65-404d-4744-a932-0658087f49c3
2008-08-22 23:38:33 +00:00
patacongo
266c90f8b1
NSH redirected output
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@823 42af7a65-404d-4744-a932-0658087f49c3
2008-08-16 18:39:46 +00:00
patacongo
62d29ea215
Remove duplicate strtok() implementatin
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@822 42af7a65-404d-4744-a932-0658087f49c3
2008-08-16 13:47:33 +00:00
patacongo
57cb16a605
Fix EOF detection
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@818 42af7a65-404d-4744-a932-0658087f49c3
2008-08-12 23:59:07 +00:00
patacongo
f9f5454c2b
cosmetic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@817 42af7a65-404d-4744-a932-0658087f49c3
2008-08-11 23:17:34 +00:00
patacongo
2b2b7f7f0b
Removed duplicate getenv() implementation
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@815 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 22:16:04 +00:00
patacongo
360cc0a648
typos
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@799 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 17:22:22 +00:00
patacongo
faf168d93c
Fix bug: Using unsigned to detect errno<0
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@791 42af7a65-404d-4744-a932-0658087f49c3
2008-07-31 00:28:24 +00:00
patacongo
4daf380c0c
Fix important task shutdown bugs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@750 42af7a65-404d-4744-a932-0658087f49c3
2008-05-15 10:50:29 +00:00
patacongo
14570ca238
fix compilation errors/warnings
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@643 42af7a65-404d-4744-a932-0658087f49c3
2008-02-06 20:11:39 +00:00
patacongo
e3bd6172aa
fflush(NULL) returns error
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@636 42af7a65-404d-4744-a932-0658087f49c3
2008-02-06 01:29:23 +00:00
patacongo
5622797411
Various fixes for buffered R/W I/O and seeking
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@630 42af7a65-404d-4744-a932-0658087f49c3
2008-02-05 18:13:13 +00:00
patacongo
2f1acf6786
Add fseek()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@613 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 22:32:16 +00:00
patacongo
3ae27c3c9e
Typo in unused #else
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@583 42af7a65-404d-4744-a932-0658087f49c3
2008-01-29 22:17:06 +00:00
patacongo
8aa92af787
Fix some Z16F serial bugs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@582 42af7a65-404d-4744-a932-0658087f49c3
2008-01-29 20:13:18 +00:00
patacongo
37d20db817
Z16F Debug
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@579 42af7a65-404d-4744-a932-0658087f49c3
2008-01-29 00:50:16 +00:00
patacongo
d15ab7811c
Eliminate some Z16F compilation warnings.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@575 42af7a65-404d-4744-a932-0658087f49c3
2008-01-28 15:45:39 +00:00
patacongo
76d4673969
Fix a16f serial bugs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@568 42af7a65-404d-4744-a932-0658087f49c3
2008-01-26 14:35:25 +00:00
patacongo
291270beb5
Using tool-specific clean
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@545 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 18:23:08 +00:00
patacongo
e881da738c
Compiles with ZDS-II
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@540 42af7a65-404d-4744-a932-0658087f49c3
2008-01-09 22:53:52 +00:00
patacongo
817b284a13
Support C pre-processors without variable-arg macros
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@535 42af7a65-404d-4744-a932-0658087f49c3
2008-01-09 01:13:24 +00:00
patacongo
d8b91b19e5
Make logic reorganized for non-GNU toolchain
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@528 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 17:06:21 +00:00
patacongo
131931c877
Reduce make output
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@526 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 13:41:00 +00:00
patacongo
71f2d3d25d
ZNeo compiler now works
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@525 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 13:02:47 +00:00
patacongo
c5a589f25b
Add support for tools that can't make dependencies
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@522 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 00:19:24 +00:00
patacongo
db57264e1f
Fix deadlock cases
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@475 42af7a65-404d-4744-a932-0658087f49c3
2008-01-01 14:53:16 +00:00
patacongo
d9080fb256
Debug NSH on z80sim
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@474 42af7a65-404d-4744-a932-0658087f49c3
2007-12-31 23:52:53 +00:00
patacongo
98c638416d
Fixed for 8051 w/SDCC compiler
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@454 42af7a65-404d-4744-a932-0658087f49c3
2007-12-28 22:10:14 +00:00
patacongo
84ff909d06
Add ether_ntoa() and inet_ntoa()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@440 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 14:23:58 +00:00
patacongo
a019c26daa
Add vsnprintf
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@407 42af7a65-404d-4744-a932-0658087f49c3
2007-11-25 16:49:08 +00:00
patacongo
18e3cfd272
fs/ and lib/ debug can be selectively enabled
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@406 42af7a65-404d-4744-a932-0658087f49c3
2007-11-24 13:59:57 +00:00
patacongo
2ce5085cc8
Verified recvfrom()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@402 42af7a65-404d-4744-a932-0658087f49c3
2007-11-23 19:25:39 +00:00
patacongo
26c91f4733
Add strcat() and strncat()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@390 42af7a65-404d-4744-a932-0658087f49c3
2007-11-20 15:42:11 +00:00
patacongo
5698f351b1
Add strncmp()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@385 42af7a65-404d-4744-a932-0658087f49c3
2007-11-18 14:32:06 +00:00
patacongo
01207cc66e
Added network init; refactored some header files
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@338 42af7a65-404d-4744-a932-0658087f49c3
2007-09-09 11:58:50 +00:00
patacongo
7015014104
Added snprintf
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@325 42af7a65-404d-4744-a932-0658087f49c3
2007-09-02 19:43:16 +00:00
patacongo
d82d41387b
Add ntohs&l() and htons&l
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@324 42af7a65-404d-4744-a932-0658087f49c3
2007-09-02 15:32:03 +00:00
patacongo
29aeec7b8a
Added support for socket descriptors
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@318 42af7a65-404d-4744-a932-0658087f49c3
2007-09-01 18:06:15 +00:00
patacongo
fb5466800f
Add basename, dirname, strrchr
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@301 42af7a65-404d-4744-a932-0658087f49c3
2007-07-01 17:37:11 +00:00
patacongo
00d1800b76
Add getopt
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@286 42af7a65-404d-4744-a932-0658087f49c3
2007-06-10 18:13:03 +00:00
patacongo
9ab11697a8
Simply conditional build; fix conditional compilation
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@275 42af7a65-404d-4744-a932-0658087f49c3
2007-06-09 19:11:00 +00:00
patacongo
a48fe435f8
Function incorrectly named
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@270 42af7a65-404d-4744-a932-0658087f49c3
2007-06-07 00:20:35 +00:00
patacongo
c9bc5c5c0e
Add strspn() and strcspn()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@243 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 19:27:02 +00:00
patacongo
007667f845
Bad return value
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@229 42af7a65-404d-4744-a932-0658087f49c3
2007-05-19 21:10:23 +00:00
patacongo
448c7f4618
Container being deallocated before buffers in container. Caused memory leak.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@177 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 16:53:03 +00:00
patacongo
8b9fcf354e
Moved exclusion logic to a higher level so that printf output is more readable when the same stdout FILE* is shared
...
by many pthreads (tasks did not have this probablem because they have separate stdout streams).
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@174 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 14:21:31 +00:00
patacongo
47118057ea
Create a place to hold board specific header files
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@146 42af7a65-404d-4744-a932-0658087f49c3
2007-03-26 16:47:17 +00:00
patacongo
d551204f84
Cosmetic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@140 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:55:21 +00:00
patacongo
3f1b80218e
Restructure header files for POSIX compliance; eliminate compile warnings
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@107 42af7a65-404d-4744-a932-0658087f49c3
2007-03-20 16:51:12 +00:00
patacongo
2af231841b
long and long long have the same problem as integer
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@104 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 21:43:53 +00:00
patacongo
9ce040cfc6
Fix handling of signed decimal values
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@103 42af7a65-404d-4744-a932-0658087f49c3
2007-03-19 21:42:32 +00:00
patacongo
238334bcd9
Add strerror()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@80 42af7a65-404d-4744-a932-0658087f49c3
2007-03-17 16:18:49 +00:00
patacongo
d46387cc8b
Bug fix: Cannot call free from null task (it might need to wait). Call sched_free instead
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@70 42af7a65-404d-4744-a932-0658087f49c3
2007-03-16 21:29:34 +00:00
patacongo
08199e1216
Add 8052 IRQ test; Fix places where IDLE task could try to wait on semaphores
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@61 42af7a65-404d-4744-a932-0658087f49c3
2007-03-14 18:58:21 +00:00
patacongo
b4fd3cdcf4
task_create now accepts variable number of arguments; 8051 bringup changes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@56 42af7a65-404d-4744-a932-0658087f49c3
2007-03-11 17:37:47 +00:00
patacongo
aab0d08d21
Add to nsh, add limits.h, gets, strtok, strtok_r
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@54 42af7a65-404d-4744-a932-0658087f49c3
2007-03-10 14:42:30 +00:00
patacongo
435fe50ea6
Fix IRQ-related bugs, fix serial read logic, add fgets
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@51 42af7a65-404d-4744-a932-0658087f49c3
2007-03-10 00:17:29 +00:00
patacongo
31c51190dd
Debug instrumentation
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@47 42af7a65-404d-4744-a932-0658087f49c3
2007-03-09 15:27:47 +00:00
patacongo
282b5da0c3
Botched the case for n=0
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@40 42af7a65-404d-4744-a932-0658087f49c3
2007-03-06 21:35:03 +00:00
patacongo
af1289c019
Re-design vsprintf so that it does not use so much stack; handle 8051's 2-byte generic pointers.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@38 42af7a65-404d-4744-a932-0658087f49c3
2007-03-05 20:38:39 +00:00
patacongo
4b1edc8ea5
Add capability to manager memory in discontiguous regions.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@35 42af7a65-404d-4744-a932-0658087f49c3
2007-03-04 15:23:22 +00:00
patacongo
9014f894a2
Code complete for 8051 (not tested)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@29 42af7a65-404d-4744-a932-0658087f49c3
2007-03-02 21:27:47 +00:00
patacongo
bcd6ba97bd
This creates a 8051 build that can run in 24Kb of RAM
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@26 42af7a65-404d-4744-a932-0658087f49c3
2007-03-01 21:05:55 +00:00
patacongo
3a4de8b8a8
Fix link problems
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@24 42af7a65-404d-4744-a932-0658087f49c3
2007-02-28 13:42:19 +00:00
patacongo
1de7dd2cf2
8051 does not have type double
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@23 42af7a65-404d-4744-a932-0658087f49c3
2007-02-28 01:31:18 +00:00
patacongo
bb072cb0d2
Working toward successful link using aslink
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@21 42af7a65-404d-4744-a932-0658087f49c3
2007-02-27 23:59:20 +00:00
patacongo
a60059d9d0
Finally, a clean SDCC compile
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@20 42af7a65-404d-4744-a932-0658087f49c3
2007-02-27 21:17:21 +00:00
patacongo
b8f3bd857b
Progress toward clean SDCC compilation
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@18 42af7a65-404d-4744-a932-0658087f49c3
2007-02-21 21:55:16 +00:00
patacongo
4881fed8bf
Working toward compiler independence: Removed inline funcs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@15 42af7a65-404d-4744-a932-0658087f49c3
2007-02-20 23:16:24 +00:00
patacongo
3c0e634aee
Eliminating GCC dependencies
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@14 42af7a65-404d-4744-a932-0658087f49c3
2007-02-20 22:39:56 +00:00
patacongo
b08a86171f
NuttX RTOS
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3 42af7a65-404d-4744-a932-0658087f49c3
2007-02-17 23:21:28 +00:00