Commit Graph

45 Commits

Author SHA1 Message Date
patacongo b121fbbb00 Add configurable application entry point
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5070 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-30 20:13:50 +00:00
patacongo f53d3ecc71 Add perror()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5061 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 19:01:14 +00:00
patacongo bbe3db55f2 Add some protection to the priority inheritance logic when sem_post() is called from an interrupt handler
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5060 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 14:40:12 +00:00
patacongo ce9b97b8f5 More patches/bugfixes from Kate
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5056 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 23:29:37 +00:00
patacongo 61fccacd85 waitpid(): Move some logic inside of a critical section
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5054 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 22:00:38 +00:00
patacongo fe493d8bb8 Fix some list handling associated with priority inheritance
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5053 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 21:35:14 +00:00
patacongo e207f076c9 Auto-configuration updates from Richard Cochran
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5032 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-17 14:07:48 +00:00
patacongo 3ec93230f3 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: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5008 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-04 22:00:18 +00:00
patacongo 6913926a96 Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4996 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-02 00:42:46 +00:00
patacongo 20324504d5 atexit() and on_exit() may now be configured to support multiple exit callbacks
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4995 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-01 17:47:54 +00:00
patacongo 10364c669f Lock the scheduler when starting NSH builtin applications to eliminate race conditions
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4988 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-28 18:38:13 +00:00
patacongo 4ea9aa3ff1 Fix STM32 F2/F4 SDIO clocking; Clean-up files in sched/ directory
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4940 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-14 19:30:31 +00:00
patacongo 4c222bcab1 Fix a bad interrupt state in the PIC32 IDLE loop when the work queue is enabled
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4805 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-06 01:44:57 +00:00
patacongo 81c4bcb9b5 Fix return values from sleep(), usleep(), and sigtimedwait(). Fix STM32 F2 I2C bug-for-bug compatibility
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4786 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-30 15:36:46 +00:00
patacongo 19e5ee4c81 Fix a C++ link issue: If constant strings used only in constructor, the don't get linked into the final executable
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4743 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-17 16:55:13 +00:00
patacongo 519ab1856f Fix several compiler errors that occur when CONFIG_SCHED_ONEXIT is enabled; on_exit is now used in NxWM::NxConsole to close the window with the NSH session exits
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4738 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-15 00:45:14 +00:00
patacongo 0aaa3c8baf Add task switching instrumentation for missing case. Contributed by Petri Tanskanen.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4734 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-14 01:03:19 +00:00
patacongo 882448de92 Fix some warnings and fix some simulator builds
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4688 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-02 15:36:19 +00:00
patacongo 87883c4b53 Configuration for Sparkfun UBW32 board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4660 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-26 20:11:46 +00:00
patacongo 3e1b2867ab Fix instrumenation in task_delete(); fix prctl parameter order
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4659 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-26 16:06:54 +00:00
patacongo 305cf084d4 Add interfaces to support getting/setting of thread/task names
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4658 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-26 15:00:35 +00:00
patacongo 6d6976b06e Rename some USB device files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4645 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-23 16:49:15 +00:00
patacongo 09eac48792 Fix atexit() function being called twice
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4644 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-23 13:59:31 +00:00
patacongo 2e53a5cf45 Fix sched_setscheduler() return value
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4629 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-18 13:24:39 +00:00
patacongo 0bb3d17f8a Kconfig update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4599 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-13 14:27:44 +00:00
patacongo 9e918288f2 Kconfig update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4597 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-12 21:52:04 +00:00
patacongo 0c9433d032 Misc STM32 OTF FS driver fixes + More Kconfig files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4590 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-11 17:13:04 +00:00
patacongo 74ed2d1e60 Updated Kconfig files from Lzyy
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4569 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-07 14:50:57 +00:00
patacongo 2ac0dff544 Add kconfig documentation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4567 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-06 16:45:52 +00:00
patacongo e54df74833 Adding skeleton Kconfig files (part 1 of 2)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4564 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-06 15:49:35 +00:00
patacongo b277d5c193 Fix read() return value for the case of permissions problem
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4545 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-31 15:13:12 +00:00
patacongo fb9d418f66 NFS update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4532 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-28 00:10:43 +00:00
patacongo 4bbb82261c Use const storage class on a few declarations to save SRAM
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4523 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-25 21:05:02 +00:00
patacongo 3e42396a44 Updated comments; starting to implement priority protection but backed everything out but some changes to comments
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4510 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-23 20:14:21 +00:00
patacongo 8bcfcd56d5 Add clock_synchronize() which may be used to re-synchonize the system time with an RTC after recovering from a low power state
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4503 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-22 14:52:46 +00:00
patacongo c22a13ef4a Move file-system header files to include/nuttx/fs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4499 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-21 18:01:07 +00:00
patacongo aa37eeaa03 Minor updates for PIC32 USB device driver bugs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4497 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-19 17:56:15 +00:00
patacongo 03c2be3856 Move all non-standard, NuttX header files into include/nuttx/net
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4450 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-03 23:18:34 +00:00
patacongo bdd5e8adcb Add a test to verify that FPU registers are properly saved and restored on context switches.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4421 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-24 21:34:55 +00:00
patacongo 35a1f247c4 Add on_exit(); Re-order some logic in the task shutdown sequence. Sometimes some complex logic needs to execute when closing file descriptors and this needs to happen early while the task is still healthy
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4354 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 23:39:12 +00:00
patacongo ed4ee27f70 Numerous cosmetic changes while debugging a telnet driver issue
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4353 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 20:32:49 +00:00
patacongo 695341cc6d Fix buffer full test in generic CAN driver (plus fixes to comments)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4259 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-04 20:49:47 +00:00
patacongo 157bef0d3d Fix an issue for architectures where interrupt numbers and vector numbers do not match 1-to-1
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4258 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-04 00:14:45 +00:00
patacongo 8f88c268c2 Fix an PIC32 error in scheduling of signal handlers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4229 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-26 16:24:43 +00:00
patacongo add995c32e Completes coding of the PWM module
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4200 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-19 19:24:09 +00:00