Commit Graph

117 Commits

Author SHA1 Message Date
patacongo
1a017b411e Fix some places in library where semaphore is not released on error conditions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5071 42af7a65-404d-4744-a932-0658087f49c3
2012-08-31 16:03:17 +00:00
patacongo
02eb94cd00 Add configurable application entry point
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5070 42af7a65-404d-4744-a932-0658087f49c3
2012-08-30 20:13:50 +00:00
patacongo
0924661c3e Add perror()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5061 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 19:01:14 +00:00
patacongo
9019c148da Add some protection to the priority inheritance logic when sem_post() is called from an interrupt handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5060 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 14:40:12 +00:00
patacongo
8aa93837e2 More patches/bugfixes from Kate
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5056 42af7a65-404d-4744-a932-0658087f49c3
2012-08-26 23:29:37 +00:00
patacongo
a123dd9628 Add terminating NULL to argv[] list
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5055 42af7a65-404d-4744-a932-0658087f49c3
2012-08-26 22:28:21 +00:00
patacongo
6670d6da33 Prep for 6.21 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5052 42af7a65-404d-4744-a932-0658087f49c3
2012-08-25 16:40:31 +00:00
patacongo
feec38f264 Fixes to apps/*/Make.defs files needed for auto-configuration build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5027 42af7a65-404d-4744-a932-0658087f49c3
2012-08-14 15:45:53 +00:00
patacongo
19580c73bf drivers/serial/serial.c open, read, write, and poll methods will not return a short transfer or an EINTR error if a signal is received while waiting (only)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5022 42af7a65-404d-4744-a932-0658087f49c3
2012-08-12 17:37:04 +00:00
patacongo
40d7a25240 Fix max filename size report by FAT statfs with long file names; Add missing logic to support fieldwidth and justification for %s format; Add extended help options. Default help command just shows a short list of commands. Verbose and single command help options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5008 42af7a65-404d-4744-a932-0658087f49c3
2012-08-04 22:00:18 +00:00
patacongo
5528942d9c Add the NSH df command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5007 42af7a65-404d-4744-a932-0658087f49c3
2012-08-04 00:37:25 +00:00
patacongo
f5544c80cf Extend the NSH mount command so that it will enumerate mountpoints if no arguments are provided
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5006 42af7a65-404d-4744-a932-0658087f49c3
2012-08-03 23:47:32 +00:00
patacongo
6653351013 Add support for testing multiple ADC, PWM, and QE devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4993 42af7a65-404d-4744-a932-0658087f49c3
2012-07-30 16:51:43 +00:00
patacongo
52fe89eb98 Lock the scheduler when starting NSH builtin applications to eliminate race conditions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4988 42af7a65-404d-4744-a932-0658087f49c3
2012-07-28 18:38:13 +00:00
patacongo
cea531d7dc PM update; NSH extension to catch return values
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4987 42af7a65-404d-4744-a932-0658087f49c3
2012-07-28 15:18:26 +00:00
patacongo
6071b29253 Don't use strerror in apps/modbus; Add CONFIG_MB_TERMIOS to enable/suppress use of termios.h interfaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4968 42af7a65-404d-4744-a932-0658087f49c3
2012-07-22 17:41:19 +00:00
patacongo
e467b61785 Use NuttX types in FreeModBus port; Add FreeModBus demo at apps/examples/modbus; Add new termios APIs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4964 42af7a65-404d-4744-a932-0658087f49c3
2012-07-21 21:23:18 +00:00
patacongo
2c2d649c9c Check-in of initial, unmodified freemodbus-v1.5.0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4960 42af7a65-404d-4744-a932-0658087f49c3
2012-07-21 13:35:35 +00:00
patacongo
a1f980bc9d Header file clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4948 42af7a65-404d-4744-a932-0658087f49c3
2012-07-17 03:58:11 +00:00
patacongo
3d935c341c Prep for release 6.20
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4937 42af7a65-404d-4744-a932-0658087f49c3
2012-07-12 17:57:31 +00:00
patacongo
16dc9afc30 Correct an error in named application priority when SCHED_RR is enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4928 42af7a65-404d-4744-a932-0658087f49c3
2012-07-11 02:43:12 +00:00
patacongo
23c742b882 Prep for 6.19 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4847 42af7a65-404d-4744-a932-0658087f49c3
2012-06-15 16:23:17 +00:00
patacongo
6104a388de Add NSH mv command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4830 42af7a65-404d-4744-a932-0658087f49c3
2012-06-11 23:47:31 +00:00
patacongo
bf760f29b4 Add support for the USB trace cability in NSH when a USB console is used
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4774 42af7a65-404d-4744-a932-0658087f49c3
2012-05-26 18:05:26 +00:00
patacongo
d2ef14cc47 Now have to press enter 3 times to start with USB NSH console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4772 42af7a65-404d-4744-a932-0658087f49c3
2012-05-26 01:45:37 +00:00
patacongo
66eeafb87a Fix packet size calculation in CDC/ACM and PL2303 USB serial drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4771 42af7a65-404d-4744-a932-0658087f49c3
2012-05-25 22:10:40 +00:00
patacongo
fcc07454f1 Prep for 6.18 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4751 42af7a65-404d-4744-a932-0658087f49c3
2012-05-19 15:26:38 +00:00
patacongo
fe520bd7ad NxWM: Finishes touchscreen implementation; NuttX: Standardize touchscreen initialization interfaces for all boards
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4721 42af7a65-404d-4744-a932-0658087f49c3
2012-05-11 00:05:25 +00:00
patacongo
ca34a1bc4d Add STM32 watchdog configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4617 42af7a65-404d-4744-a932-0658087f49c3
2012-04-16 17:20:36 +00:00
patacongo
8436fa9493 Add a watchdog timer test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4614 42af7a65-404d-4744-a932-0658087f49c3
2012-04-15 22:31:05 +00:00
patacongo
3c0dfb00dd Add skeleton file for STM32 watchdog timer driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4611 42af7a65-404d-4744-a932-0658087f49c3
2012-04-15 01:11:54 +00:00
patacongo
564b45fb82 Prep for 6.17 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4607 42af7a65-404d-4744-a932-0658087f49c3
2012-04-14 15:11:38 +00:00
patacongo
15cbd20975 Move include/math.h to include/nuttx/math.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4568 42af7a65-404d-4744-a932-0658087f49c3
2012-04-07 14:08:37 +00:00
patacongo
a23edf1066 Add framework in NxConsole to support VT100 escape sequences
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4542 42af7a65-404d-4744-a932-0658087f49c3
2012-03-30 18:42:40 +00:00
patacongo
393713e778 Can now run an NSH session within an NX window
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4539 42af7a65-404d-4744-a932-0658087f49c3
2012-03-29 22:20:47 +00:00
patacongo
aaa9db283e Add a test for the NX console device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4528 42af7a65-404d-4744-a932-0658087f49c3
2012-03-27 16:59:15 +00:00
patacongo
4c4cd3f8e2 NFS update + make some examples configurable as NSH built-ins
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4501 42af7a65-404d-4744-a932-0658087f49c3
2012-03-22 00:51:01 +00:00
patacongo
29e228f370 Extend examples/can so that it can be used in other contexts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4489 42af7a65-404d-4744-a932-0658087f49c3
2012-03-14 01:19:27 +00:00
patacongo
b10e90e4f6 Prep for 6.16 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4475 42af7a65-404d-4744-a932-0658087f49c3
2012-03-10 18:58:41 +00:00
patacongo
e8c43f0463 Add support for use of a USB serial device to provide NSH console I/O. Verified on the Sure PIPIC32MX board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4458 42af7a65-404d-4744-a932-0658087f49c3
2012-03-06 20:21:57 +00:00
patacongo
fafd67fe82 Add logic to NSH startup to call C++ static initializers on startup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4439 42af7a65-404d-4744-a932-0658087f49c3
2012-02-28 23:38:59 +00:00
patacongo
f68d3a9b19 Extend CDC/ACM driver so that can be connected/disconnected under software control; Add new NSH commands sercon and serdis that will connect and disconnect the CDC/ACM serial device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4436 42af7a65-404d-4744-a932-0658087f49c3
2012-02-28 18:14:55 +00:00
patacongo
68b07a2da4 readline() (and hence NSH) now accept the DEL character as well as the Backspace character for the backspace functionality
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4428 42af7a65-404d-4744-a932-0658087f49c3
2012-02-25 20:46:18 +00:00
patacongo
bf175eeebb Add a test to verify that FPU registers are properly saved and restored on context switches.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4421 42af7a65-404d-4744-a932-0658087f49c3
2012-02-24 21:34:55 +00:00
patacongo
5a3cdb8779 Add QE support to STM32F4Discovery; add a test of the quadrature encoder driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4395 42af7a65-404d-4744-a932-0658087f49c3
2012-02-15 17:51:30 +00:00
patacongo
8dfdb061cf Prep for 6.15 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4387 42af7a65-404d-4744-a932-0658087f49c3
2012-02-13 01:42:03 +00:00
patacongo
3ef447cf6e Add dmesg command that can be used to dump the syslog
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4382 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 15:27:44 +00:00
patacongo
eeff74085e Add the beginnings of an FTP server
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4368 42af7a65-404d-4744-a932-0658087f49c3
2012-02-04 21:02:45 +00:00
patacongo
fe6136766a Move lib/stdio/lib_fgets.c to apps/system/readline; simplify fgets(); use readline instead of fgets in NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4356 42af7a65-404d-4744-a932-0658087f49c3
2012-02-01 19:07:57 +00:00
patacongo
1e0243297a Get rid of psock.h (bad idea); Add logic to clone the socket structure when wrapping the telnet connection as a character driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4349 42af7a65-404d-4744-a932-0658087f49c3
2012-01-30 23:13:29 +00:00