Commit Graph

796 Commits

Author SHA1 Message Date
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 8a4cf655d7 LPC17xx serial now supports minimal termios ioctls; serial driver ioctl methods should not set errno variable
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4994 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-31 23:45:21 +00:00
patacongo cb77f5961d Add support for testing multiple ADC, PWM, and QE devices
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4993 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-30 16:51:43 +00:00
patacongo a4f9a7805d More board configurations updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4992 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-29 18:34:47 +00:00
patacongo 6c75c18bae Review and update some board configurations
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4991 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-29 18:30:48 +00:00
patacongo b8fef0cc97 Add memccpy{}
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4990 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-29 14:50:02 +00:00
patacongo 1b70837411 Add memchr()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4989 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-28 20:45:29 +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 3f57f313a1 PM update; NSH extension to catch return values
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4987 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-28 15:18:26 +00:00
patacongo 0464a6d9be PM update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4986 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-27 23:31:10 +00:00
patacongo 25e9fa05c7 STM32F4Discovery configuration clean-up
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4985 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-27 21:08:56 +00:00
patacongo cdc05213b8 Add support for PIC32MX1/2 ANSEL register; Mirtoo NXFFS configuration now uses the Pinquino toolchain by default:
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4984 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-27 17:25:35 +00:00
patacongo 30cabc02d4 PM updates (missed last night)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4983 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-27 13:32:21 +00:00
patacongo 9b7cbb006a PM update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4982 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-27 00:14:38 +00:00
patacongo 6ea6b7d6b8 Add SSD1783 LCD driver for C155 phone
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4981 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-26 23:04:36 +00:00
patacongo 94b6f9e9cc Mostly cosmetic updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4980 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-26 20:38:46 +00:00
patacongo cbc32cd067 Fix logic error in configuring PGA11x devices in a daisy chain. Add logic interface with individual PGA11x chips in a daisy-chain
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4979 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-25 21:21:45 +00:00
patacongo 7e70b4bdf6 PGA11x driver belongs in analog/ not input/
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4978 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-25 18:58:45 +00:00
patacongo cf48e3c73f Add support for the TI PGA11x amplifier/multiplexer
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4977 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-25 18:41:10 +00:00
patacongo ca8620083e Add PM support for the STM32F4Discovery -- still a work in progress
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4976 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-25 13:35:36 +00:00
patacongo d7280d4382 Combine cfset[o|i]speed to cfsetspeed; combine cfget[o|i]speed for cfgetspeed
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4975 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-24 22:56:36 +00:00
patacongo ac6f7a722b Ooops.. c_speed is now read-only
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4974 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-24 17:16:25 +00:00
patacongo 4b1fcb6da8 SDIO fixes for the STM32 F2 from Gary Teravskis and Scott Rondestvedt
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4973 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-24 15:49:01 +00:00
patacongo 393b2646c2 Remove BOTHER
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4972 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-24 15:10:21 +00:00
patacongo 464f8d822b LP43xx SPIFI MTD driver update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4971 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-23 20:08:56 +00:00
patacongo 1e15a6d1cf Baud definitions (B9600 for example) are again encoded; Now supports the BOTHER settings which allows specifying the baud via c_ispeed and c_ospeed termios fields
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4970 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-23 15:37:13 +00:00
patacongo fce36677c1 Loosen up termios interfaces to allow more flexible baud settings; remove AIX-like interfaces of last check-in
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4969 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-22 18:56:50 +00:00
patacongo ad37fa6505 Don't use strerror in apps/modbus; Add CONFIG_MB_TERMIOS to enable/suppress use of termios.h interfaces
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4968 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-22 17:41:19 +00:00
patacongo 81d5f42a18 Add support for extended BAUD settings
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4967 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-22 17:01:25 +00:00
patacongo 200e62a958 Make serial setup configurale in apps/examples/modbus
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4966 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 23:03:37 +00:00
patacongo 2bc1ef34ad Missed a couple of files in the last check-in
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4965 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 21:24:51 +00:00
patacongo dfa161e3c2 Use NuttX types in FreeModBus port; Add FreeModBus demo at apps/examples/modbus; Add new termios APIs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4964 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 21:23:18 +00:00
patacongo 68c76413ca FreeModBus now builds
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4963 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 16:18:16 +00:00
patacongo 358240268d Add FreeModBus to NuttX build system
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4962 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 15:33:53 +00:00
patacongo 4c2b6c49c9 FreeModBus is now integrated with the Nuttx configuration system
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4961 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 14:56:21 +00:00
patacongo 3eafac29cd Check-in of initial, unmodified freemodbus-v1.5.0
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4960 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 13:35:35 +00:00
patacongo 11774cfb20 Add completed but untested support for RS-485 on the LPC43xx
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4959 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-20 18:32:16 +00:00
patacongo 3dd3e950cb Add infrastructure to support RS-485 on the LPC43xx (logic still incomplete)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4958 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-20 16:58:39 +00:00
patacongo bfeaf56050 Add missing file needed for stm32f100xx port
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4957 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-20 01:42:40 +00:00
patacongo 3f48ca481b Fix some questionable MAC addresses
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4956 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-19 22:32:19 +00:00
patacongo 43b043c496 Add support for STM32F100x value line. Contributed by Mike Smith. Still missing a file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4955 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-19 18:02:32 +00:00
patacongo 0497992c2c Make name of RTC ALARM interrupt common on STM32 F1,2,4
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4954 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-19 14:33:14 +00:00
patacongo a5ad297f34 Add STM32 PM sleep support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4953 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-18 22:54:33 +00:00
patacongo 9dd0adc100 Update driver to work with and external SPIFI library (vs. ROM)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4952 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-18 21:04:15 +00:00
patacongo bc3cb304a0 Create an MTD driver for SPIFI
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4951 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-18 18:38:49 +00:00
patacongo 36009cb960 Drop SPIFI frequency.. spifi_init no longer reports errors
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4950 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-17 22:03:50 +00:00
patacongo 2224c2734a Add logic to initialize the LPC43xx SPIFI device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4949 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-17 20:02:57 +00:00
patacongo 0f1567878c Header file clean-up
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4948 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-17 03:58:11 +00:00
patacongo e5455995a6 STM32: Add logic to attach the RTC alarm EXTI interrupt
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4947 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-17 00:22:48 +00:00
patacongo 919354a96a Fix LPC43xx clocking bugs; LPC43xx now runs at 204MHz
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4946 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-16 21:25:29 +00:00