Commit Graph

1215 Commits

Author SHA1 Message Date
Lorenz Meier 5b81a51a82 Merge branch 'params' of github.com:PX4/Firmware 2012-08-28 21:44:38 +02: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
px4dev 30b670a6ee Merge branch 'NuttX/master'
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5060 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 09:43:37 -07:00
px4dev 936940abc9 Force a parameter update when the sensors thread starts. 2012-08-28 09:15:12 -07: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
Lorenz Meier fa32184973 params debugging 2012-08-28 13:56:39 +02:00
Lorenz Meier d8210a8e2f Implemented missing IOCTLs to set MPU scalings 2012-08-28 11:30:45 +02:00
Lorenz Meier 9a750ae698 Correct scaling for calibration routines 2012-08-28 11:30:30 +02:00
Lorenz Meier a0925e4703 Ramped up MAVLink stack size as real use seems to need it 2012-08-28 08:50:47 +02:00
Lorenz Meier 2fca24f803 Added missing calibration announcement for gyro cal in commander 2012-08-28 08:50:23 +02:00
px4dev e6f6a81d5b Allow the EEPROM driver to consider itself started even if NXFFS fails to mount. 2012-08-27 19:42:40 -07:00
Lorenz Meier 36a8b00ab1 Added sensor offset setting 2012-08-27 23:43:56 +02:00
Lorenz Meier 2d2548e714 Final parameter interface cleanup - removed last bit of old cruft, fixed a bug on parameter update notification, cleaned up API slightly in naming 2012-08-27 22:57:20 +02:00
Lorenz Meier 2a6a151342 Added common conversion functions 2012-08-27 22:55:19 +02:00
Lorenz Meier b090298b12 Minor cleanups, added more error verbosity, XXX parameters get now read it at maximum sensors speed, needs to be waiting on a param change notice (but not on the vehicle status topic, as before. 2012-08-27 17:24:17 +02:00
Lorenz Meier 97d9e67e67 Really ugly but safe hack to make 30 deg rotations work 2012-08-27 15:44:50 +02:00
Lorenz Meier 967c0869a9 Cleaned up MPU driver slightly 2012-08-27 09:48:16 +02:00
Lorenz Meier 248bb11d93 removed stop() from I2C driver startup routines, work in progress on MPU scaling 2012-08-27 09:08:34 +02:00
Lorenz Meier 58b51743f2 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_driver_wip 2012-08-27 07:25:05 +02: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
px4dev e214981d11 Merge branch 'NuttX/master'
Conflicts:
	apps/netutils/thttpd/thttpd_cgi.c
	nuttx/Documentation/NuttX.html
	nuttx/arch/8051/src/Makefile
	nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
	nuttx/arch/avr/Kconfig
	nuttx/arch/avr/src/atmega/atmega_lowinit.c
	nuttx/arch/mips/Kconfig
	nuttx/arch/z80/src/Makefile.sdcc
	nuttx/configs/amber/README.txt
	nuttx/configs/amber/hello/defconfig
	nuttx/configs/avr32dev1/README.txt
	nuttx/configs/avr32dev1/nsh/defconfig
	nuttx/configs/avr32dev1/ostest/defconfig
	nuttx/configs/c5471evm/README.txt
	nuttx/configs/c5471evm/httpd/defconfig
	nuttx/configs/c5471evm/nettest/defconfig
	nuttx/configs/c5471evm/nsh/defconfig
	nuttx/configs/c5471evm/ostest/defconfig
	nuttx/configs/compal_e88/nsh_highram/defconfig
	nuttx/configs/compal_e99/nsh_compalram/defconfig
	nuttx/configs/compal_e99/nsh_highram/defconfig
	nuttx/configs/demo9s12ne64/README.txt
	nuttx/configs/demo9s12ne64/ostest/defconfig
	nuttx/configs/ea3131/nsh/defconfig
	nuttx/configs/ea3131/ostest/defconfig
	nuttx/configs/ea3131/pgnsh/defconfig
	nuttx/configs/ea3131/usbserial/defconfig
	nuttx/configs/ea3131/usbstorage/defconfig
	nuttx/configs/ea3152/ostest/defconfig
	nuttx/configs/eagle100/README.txt
	nuttx/configs/eagle100/httpd/defconfig
	nuttx/configs/eagle100/nettest/defconfig
	nuttx/configs/eagle100/nsh/defconfig
	nuttx/configs/eagle100/nxflat/defconfig
	nuttx/configs/eagle100/ostest/defconfig
	nuttx/configs/eagle100/thttpd/defconfig
	nuttx/configs/ekk-lm3s9b96/README.txt
	nuttx/configs/ekk-lm3s9b96/nsh/defconfig
	nuttx/configs/ekk-lm3s9b96/ostest/defconfig
	nuttx/configs/ez80f910200kitg/ostest/defconfig
	nuttx/configs/ez80f910200zco/dhcpd/defconfig
	nuttx/configs/ez80f910200zco/httpd/defconfig
	nuttx/configs/ez80f910200zco/nettest/defconfig
	nuttx/configs/ez80f910200zco/nsh/defconfig
	nuttx/configs/ez80f910200zco/ostest/defconfig
	nuttx/configs/ez80f910200zco/poll/defconfig
	nuttx/configs/hymini-stm32v/README.txt
	nuttx/configs/hymini-stm32v/buttons/defconfig
	nuttx/configs/hymini-stm32v/nsh/defconfig
	nuttx/configs/hymini-stm32v/nsh2/defconfig
	nuttx/configs/hymini-stm32v/nx/defconfig
	nuttx/configs/hymini-stm32v/nxlines/defconfig
	nuttx/configs/hymini-stm32v/usbserial/defconfig
	nuttx/configs/hymini-stm32v/usbstorage/defconfig
	nuttx/configs/kwikstik-k40/README.txt
	nuttx/configs/kwikstik-k40/ostest/defconfig
	nuttx/configs/lincoln60/README.txt
	nuttx/configs/lincoln60/nsh/defconfig
	nuttx/configs/lincoln60/ostest/defconfig
	nuttx/configs/lm3s6432-s2e/README.txt
	nuttx/configs/lm3s6432-s2e/nsh/defconfig
	nuttx/configs/lm3s6432-s2e/ostest/defconfig
	nuttx/configs/lm3s6965-ek/README.txt
	nuttx/configs/lm3s6965-ek/nsh/defconfig
	nuttx/configs/lm3s6965-ek/nx/defconfig
	nuttx/configs/lm3s6965-ek/ostest/defconfig
	nuttx/configs/lm3s8962-ek/README.txt
	nuttx/configs/lm3s8962-ek/nsh/defconfig
	nuttx/configs/lm3s8962-ek/nx/defconfig
	nuttx/configs/lm3s8962-ek/ostest/defconfig
	nuttx/configs/lpc4330-xplorer/README.txt
	nuttx/configs/lpc4330-xplorer/nsh/defconfig
	nuttx/configs/lpc4330-xplorer/ostest/defconfig
	nuttx/configs/lpcxpresso-lpc1768/README.txt
	nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig
	nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig
	nuttx/configs/lpcxpresso-lpc1768/nx/defconfig
	nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig
	nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig
	nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig
	nuttx/configs/m68332evb/defconfig
	nuttx/configs/mbed/README.txt
	nuttx/configs/mbed/hidkbd/defconfig
	nuttx/configs/mbed/nsh/defconfig
	nuttx/configs/mcu123-lpc214x/README.txt
	nuttx/configs/mcu123-lpc214x/composite/defconfig
	nuttx/configs/mcu123-lpc214x/nsh/defconfig
	nuttx/configs/mcu123-lpc214x/ostest/defconfig
	nuttx/configs/mcu123-lpc214x/usbserial/defconfig
	nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
	nuttx/configs/micropendous3/README.txt
	nuttx/configs/micropendous3/hello/defconfig
	nuttx/configs/mirtoo/README.txt
	nuttx/configs/mirtoo/nsh/defconfig
	nuttx/configs/mirtoo/nxffs/defconfig
	nuttx/configs/mirtoo/ostest/defconfig
	nuttx/configs/mx1ads/ostest/defconfig
	nuttx/configs/ne64badge/README.txt
	nuttx/configs/ne64badge/ostest/defconfig
	nuttx/configs/ntosd-dm320/nettest/defconfig
	nuttx/configs/ntosd-dm320/nsh/defconfig
	nuttx/configs/ntosd-dm320/ostest/defconfig
	nuttx/configs/ntosd-dm320/poll/defconfig
	nuttx/configs/ntosd-dm320/thttpd/defconfig
	nuttx/configs/ntosd-dm320/udp/defconfig
	nuttx/configs/ntosd-dm320/uip/defconfig
	nuttx/configs/nucleus2g/README.txt
	nuttx/configs/nucleus2g/nsh/defconfig
	nuttx/configs/nucleus2g/ostest/defconfig
	nuttx/configs/nucleus2g/usbserial/defconfig
	nuttx/configs/nucleus2g/usbstorage/defconfig
	nuttx/configs/olimex-lpc1766stk/README.txt
	nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
	nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
	nuttx/configs/olimex-lpc1766stk/nettest/defconfig
	nuttx/configs/olimex-lpc1766stk/nsh/defconfig
	nuttx/configs/olimex-lpc1766stk/nx/defconfig
	nuttx/configs/olimex-lpc1766stk/ostest/defconfig
	nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig
	nuttx/configs/olimex-lpc1766stk/thttpd/defconfig
	nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
	nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
	nuttx/configs/olimex-lpc1766stk/wlan/defconfig
	nuttx/configs/olimex-lpc2378/nsh/defconfig
	nuttx/configs/olimex-lpc2378/ostest/defconfig
	nuttx/configs/olimex-stm32-p107/nsh/defconfig
	nuttx/configs/olimex-stm32-p107/ostest/defconfig
	nuttx/configs/olimex-strp711/nettest/defconfig
	nuttx/configs/olimex-strp711/nsh/defconfig
	nuttx/configs/olimex-strp711/ostest/defconfig
	nuttx/configs/pcblogic-pic32mx/README.txt
	nuttx/configs/pcblogic-pic32mx/nsh/defconfig
	nuttx/configs/pcblogic-pic32mx/ostest/defconfig
	nuttx/configs/pic32-starterkit/README.txt
	nuttx/configs/pic32-starterkit/nsh/defconfig
	nuttx/configs/pic32-starterkit/nsh2/defconfig
	nuttx/configs/pic32-starterkit/ostest/defconfig
	nuttx/configs/pic32mx7mmb/README.txt
	nuttx/configs/pic32mx7mmb/nsh/defconfig
	nuttx/configs/pic32mx7mmb/ostest/defconfig
	nuttx/configs/pjrc-8051/defconfig
	nuttx/configs/qemu-i486/nsh/defconfig
	nuttx/configs/qemu-i486/ostest/defconfig
	nuttx/configs/rgmp/arm/default/defconfig
	nuttx/configs/rgmp/arm/nsh/defconfig
	nuttx/configs/rgmp/x86/default/defconfig
	nuttx/configs/rgmp/x86/nsh/defconfig
	nuttx/configs/sam3u-ek/README.txt
	nuttx/configs/sam3u-ek/knsh/defconfig
	nuttx/configs/sam3u-ek/nsh/defconfig
	nuttx/configs/sam3u-ek/nx/defconfig
	nuttx/configs/sam3u-ek/ostest/defconfig
	nuttx/configs/sam3u-ek/touchscreen/defconfig
	nuttx/configs/sim/mount/defconfig
	nuttx/configs/sim/nettest/defconfig
	nuttx/configs/sim/nsh/defconfig
	nuttx/configs/sim/nsh2/defconfig
	nuttx/configs/sim/nx/defconfig
	nuttx/configs/sim/nx11/defconfig
	nuttx/configs/sim/nxffs/defconfig
	nuttx/configs/sim/nxwm/defconfig
	nuttx/configs/sim/ostest/defconfig
	nuttx/configs/sim/pashello/defconfig
	nuttx/configs/sim/touchscreen/defconfig
	nuttx/configs/skp16c26/ostest/defconfig
	nuttx/configs/stm3210e-eval/Kconfig
	nuttx/configs/stm3210e-eval/README.txt
	nuttx/configs/stm3210e-eval/RIDE/defconfig
	nuttx/configs/stm3210e-eval/buttons/defconfig
	nuttx/configs/stm3210e-eval/composite/defconfig
	nuttx/configs/stm3210e-eval/nsh/defconfig
	nuttx/configs/stm3210e-eval/nsh2/defconfig
	nuttx/configs/stm3210e-eval/nx/defconfig
	nuttx/configs/stm3210e-eval/nxconsole/defconfig
	nuttx/configs/stm3210e-eval/nxlines/defconfig
	nuttx/configs/stm3210e-eval/nxtext/defconfig
	nuttx/configs/stm3210e-eval/ostest/defconfig
	nuttx/configs/stm3210e-eval/pm/defconfig
	nuttx/configs/stm3210e-eval/src/up_idle.c
	nuttx/configs/stm3210e-eval/usbserial/defconfig
	nuttx/configs/stm3210e-eval/usbstorage/defconfig
	nuttx/configs/stm3220g-eval/Kconfig
	nuttx/configs/stm3220g-eval/README.txt
	nuttx/configs/stm3220g-eval/dhcpd/defconfig
	nuttx/configs/stm3220g-eval/include/board.h
	nuttx/configs/stm3220g-eval/nettest/defconfig
	nuttx/configs/stm3220g-eval/nsh/defconfig
	nuttx/configs/stm3220g-eval/nsh2/defconfig
	nuttx/configs/stm3220g-eval/nxwm/defconfig
	nuttx/configs/stm3220g-eval/ostest/defconfig
	nuttx/configs/stm3220g-eval/src/Makefile
	nuttx/configs/stm3220g-eval/src/stm3220g-internal.h
	nuttx/configs/stm3220g-eval/src/up_boot.c
	nuttx/configs/stm3220g-eval/src/up_nsh.c
	nuttx/configs/stm3220g-eval/telnetd/defconfig
	nuttx/configs/stm3240g-eval/Kconfig
	nuttx/configs/stm3240g-eval/README.txt
	nuttx/configs/stm3240g-eval/dhcpd/defconfig
	nuttx/configs/stm3240g-eval/include/board.h
	nuttx/configs/stm3240g-eval/nettest/defconfig
	nuttx/configs/stm3240g-eval/nsh/defconfig
	nuttx/configs/stm3240g-eval/nsh2/defconfig
	nuttx/configs/stm3240g-eval/nxconsole/defconfig
	nuttx/configs/stm3240g-eval/nxwm/defconfig
	nuttx/configs/stm3240g-eval/ostest/defconfig
	nuttx/configs/stm3240g-eval/telnetd/defconfig
	nuttx/configs/stm32f4discovery/README.txt
	nuttx/configs/stm32f4discovery/include/board.h
	nuttx/configs/stm32f4discovery/nsh/defconfig
	nuttx/configs/stm32f4discovery/nxlines/defconfig
	nuttx/configs/stm32f4discovery/ostest/defconfig
	nuttx/configs/stm32f4discovery/pm/defconfig
	nuttx/configs/sure-pic32mx/README.txt
	nuttx/configs/sure-pic32mx/nsh/defconfig
	nuttx/configs/sure-pic32mx/ostest/defconfig
	nuttx/configs/sure-pic32mx/usbnsh/defconfig
	nuttx/configs/teensy/README.txt
	nuttx/configs/teensy/hello/defconfig
	nuttx/configs/teensy/nsh/defconfig
	nuttx/configs/teensy/src/up_spi.c
	nuttx/configs/teensy/usbstorage/defconfig
	nuttx/configs/twr-k60n512/README.txt
	nuttx/configs/twr-k60n512/nsh/defconfig
	nuttx/configs/twr-k60n512/ostest/defconfig
	nuttx/configs/ubw32/README.txt
	nuttx/configs/ubw32/nsh/defconfig
	nuttx/configs/ubw32/ostest/defconfig
	nuttx/configs/us7032evb1/nsh/defconfig
	nuttx/configs/us7032evb1/ostest/defconfig
	nuttx/configs/vsn/README.txt
	nuttx/configs/vsn/nsh/defconfig
	nuttx/configs/xtrs/nsh/defconfig
	nuttx/configs/xtrs/ostest/defconfig
	nuttx/configs/xtrs/pashello/defconfig
	nuttx/configs/z16f2800100zcog/ostest/defconfig
	nuttx/configs/z16f2800100zcog/pashello/defconfig
	nuttx/configs/z80sim/nsh/defconfig
	nuttx/configs/z80sim/ostest/defconfig
	nuttx/configs/z80sim/pashello/defconfig
	nuttx/configs/z8encore000zco/ostest/defconfig
	nuttx/configs/z8f64200100kit/ostest/defconfig
2012-08-26 16:26:39 -07:00
patacongo 029bbeb3db Add terminating NULL to argv[] list
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5055 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 22:28:21 +00:00
Lorenz Meier 2963dc679a Driver debugging (scaling, ranges, endianess) MPU-6000 needs more love 2012-08-26 23:48:16 +02: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
Lorenz Meier 56e66a80cd Printing fixes 2012-08-26 15:01:08 +02:00
Lorenz Meier dfa5cc52d5 MS5611 test is now printing floats. Note that the issue with the scheduled reads of the sensor started BEFORE this change and is thus unrelated. 2012-08-26 14:52:44 +02:00
Lorenz Meier 848c156140 Added negative float printing to test range 2012-08-26 14:51:52 +02:00
Lorenz Meier 207b077d8a Cleaned up scaling / offset handling for mag and gyro / acc 2012-08-26 14:51:33 +02:00
Lorenz Meier 6026595d83 Fixed axis assignment and raw value outputs. Scaling and offsets to be done 2012-08-26 13:51:18 +02:00
px4dev 656bc9e2ce Documentation, cleanup. 2012-08-25 19:56:29 -07:00
px4dev efda95101f Streamline mag and baro topic advertisement now that handles are global.
Use perf counters for error counting in mag/baro drivers.
2012-08-25 19:27:12 -07:00
px4dev 35009cd332 clean up an error message 2012-08-25 19:09:23 -07:00
px4dev 93f26e3c96 Factor out the ADC code. 2012-08-25 19:09:10 -07:00
px4dev 665014a3e0 Run accel/gyro at 500Hz as intended. 2012-08-25 18:31:12 -07:00
px4dev a1b17326a4 Fix sensor subscriptions.
Default to publishing.
Make the sensors command and the sensors task visibly distinct in a task listing.
Correctly check for bma180/l3gd20 in use.
2012-08-25 18:27:34 -07:00
px4dev 26244c43f2 make the I2C and SPI device signons distinct 2012-08-25 18:26:21 -07:00
px4dev 5c6b6038a7 turn off debug output from the mpu6000 driver 2012-08-25 18:25:56 -07:00
px4dev 544d427155 fix warn() not printing error strings. 2012-08-25 18:25:39 -07:00
px4dev e05ef2bcab Let's do the sensors in C++. It's much tidier. 2012-08-25 16:13:38 -07:00
px4dev 30e0354fd8 Add some C++ friendliness. Not enough, but some. 2012-08-25 16:12:48 -07:00
px4dev f2ab85756c This field can't be const, it's written to. 2012-08-25 16:12:27 -07:00
px4dev e51b23d309 Now that it's safe to perform SPI transfers from interrupt context, re-enable the mpu6000 auto-poller. 2012-08-25 13:15:23 -07:00
px4dev e5e2d7216c Make it non-fatal to perform SPI transfers from interrupt context. 2012-08-25 13:15:23 -07:00
Lorenz Meier 380d136483 Fixed a few readout bugs in sensors app 2012-08-25 21:44:01 +02:00
Lorenz Meier b0493e9aec Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver 2012-08-25 21:31:09 +02:00
px4dev 23d8b69e3d Sensor drivers should run all the time, not just when their device is open.
Disable this for the mpu6000 driver though, as it's currently busted in that regard.
2012-08-25 11:52:44 -07:00
Lorenz Meier 731621a309 Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver 2012-08-25 20:42:05 +02:00
px4dev 0dc0a0539d Increase the retry count while probing for I2C sensors. This will also unwedge stuck sensors. 2012-08-25 10:53:14 -07:00
Lorenz Meier 656596896a Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver 2012-08-25 19:30:43 +02:00
Lorenz Meier 8eeba595ee Improved param load / store text feedback, ported sensors app to new driver model, ready for merge and test 2012-08-25 19:16:12 +02:00
patacongo d6b8fcdcf0 Prep for 6.21 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5052 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-25 16:40:31 +00:00
px4dev 4456ca8827 Sensor IOCTL reorganization. Common sensor operations are now shared across sensor drivers.
Revamp hmc5883, ms5611 and mpu6000 driver startup and test code.
2012-08-25 00:12:11 -07:00
px4dev f901a35bd4 Remove erroneous sensor read timing checks. 2012-08-24 08:55:30 -07:00
px4dev d55dd67d77 Remove spurious I2C clock frequency resets. 2012-08-24 08:18:18 -07:00
Lorenz Meier d12c09cc86 improvements / debugging on I2C drivers 2012-08-24 14:58:14 +02:00
Lorenz Meier 45e178eaa3 Made error message more verbose 2012-08-24 11:50:01 +02:00
Lorenz Meier a1b99a3f03 Kicked out mix_and_link, deleted old MPU driver, disabled (still needed for reference) old HMC and MS5611 drivers. Removed driver init from up_nsh.c. Reworked fixedwing_control to be closer to up-to-date api, still more clean up needed. Fixed a bug that limited the motor thrust for multirotor control 2012-08-24 11:40:42 +02:00
px4dev 0472eeae05 Add EEPROM read/write performance counters. 2012-08-23 23:15:55 -07:00
px4dev 5ef6a41012 Add a modified version of the stock AT24xx EEPROM driver tweaked for our uses.
Use I2C_TRANSFER to avoid racing with other devices on the bus.
Clock at 400kHz.
2012-08-23 23:04:26 -07:00
px4dev f28a757f92 We need to init the gyro subdevice, or there is no device node. Oops. 2012-08-23 20:32:13 -07:00
Lorenz Meier 295e9da1ba Added required scalings, added gyro to MPU6000 test, changed sensors app to read from new drivers 2012-08-24 02:16:26 +02:00
Lorenz Meier 0e44d3810e Removed old file 2012-08-24 00:01:35 +02:00
Lorenz Meier 62e07358b4 Ported almost everything to new param interface, ready for serious testing 2012-08-24 00:01:23 +02:00
Lorenz Meier b07de1379d moved commander to new param interface 2012-08-23 20:45:28 +02:00
Lorenz Meier 88f75ebc00 Ported attitude controller to new param interface 2012-08-23 13:31:40 +02:00
Lorenz Meier a7266d539c Bolted new param interface into the sensors app, continuing porting across codebase 2012-08-23 09:44:26 +02:00
px4dev a0b9c056d7 Add a bus reset on I2C error. Also add a mechanism for automated retries of operations. 2012-08-22 22:25:10 -07:00
Lorenz Meier 5f259e41d5 Sensor readout, testing and driver adjustments 2012-08-22 16:20:05 +02:00
Lorenz Meier fa9f145b08 Fixed a bunch of issues in the arming state machine for multirotors, arming / disarming works fine now. Porting of various processes needed 2012-08-22 14:35:22 +02:00
px4dev 44ff4d4ee2 Fix parameter change advertisement to conform to API change. 2012-08-22 01:09:06 -07:00
px4dev 1eccfb7ccb Add link to the BSON spec. 2012-08-22 01:08:43 -07:00
Lorenz Meier d2e757aa3c Merged parameter changes 2012-08-22 09:19:43 +02:00
Lorenz Meier 72979032e9 Merge branch 'master' into px4dev_new_param 2012-08-22 08:56:33 +02:00
px4dev 88f0080a0f Fix an architectural issue with the ORB that prevented publication from interrupt context.
ORB topic advertisements are now global handles that can be used in any context.  It is still possible to open a topic node as a publisher, but it's not the default.  As a consequence, the type of the handle returned from orb_advertise has changed; all other API remains the same.
2012-08-21 23:44:22 -07:00
px4dev 8c22e2a092 Whitespace 2012-08-21 22:30:04 -07:00
px4dev 5f77561ed4 Fix output scaling for the hmc5883 driver. Add data checking, and fix an issue where the ORB topic could not be published due to being advertised in the wrong context. 2012-08-21 22:05:42 -07:00
px4dev 63831fa908 Fix an issue where the baro ORB topic was advertised from the wrong context and thus could not be published to. 2012-08-21 22:04:38 -07:00
px4dev a0ae2cb175 Add a set of ORB topics for advertising actuator outputs.
This is part of \#7
2012-08-21 20:14:43 -07:00
Lorenz Meier f3c1a7475d Improved tuning for current attitude estimation hack, needs to be removed ASAP 2012-08-21 17:42:24 +02:00
px4dev 228fbb975a New-style driver for the HMC5883 on I2C. 2012-08-21 01:09:03 -07:00
Lorenz Meier c8645a7e53 Added more params, old read-in code not yet replaced 2012-08-21 09:02:09 +02:00
Lorenz Meier 89f36087da Fixed and improved error messages for MAVLink param read / write 2012-08-21 08:33:35 +02:00
px4dev 14e60e9b4d Back out a change that snuck in from another branch. 2012-08-20 21:46:52 -07:00
px4dev 503cb0ea03 Add an ORB topic that can be subscribed for notification of changes in the parameter set. 2012-08-20 21:17:50 -07:00
px4dev a043702af5 Merge branch 'master' into px4dev_new_param 2012-08-20 18:03:12 -07:00
px4dev 3246568c82 sscanf field widths seem to be broken, don't use them. 2012-08-20 17:59:21 -07:00
Lorenz Meier d1261e227c Porting to new param interface, updated mixers 2012-08-20 23:52:13 +02:00
Lorenz Meier df07ff8056 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_param 2012-08-20 19:38:40 +02:00
px4dev 4ddf93bd06 Tweak the MAVlink parameter load/save path to deal with NXFFS. 2012-08-20 09:55:53 -07:00
Lorenz Meier 821306bc4d Allow to disable USB interface (but leave it enabled as default), give uORB more stack space 2012-08-20 17:48:31 +02:00
Lorenz Meier d17bbc7a0b Minor fixes to EEPROM params 2012-08-20 17:26:59 +02:00
pixhawk 801697c540 fixed sensors error printing 2012-08-20 16:08:27 +02:00
Lorenz Meier e3fffa23e0 Merge branch 'master' into px4dev_new_param 2012-08-20 13:16:09 +02:00
Lorenz Meier 78db6c990b Testing larger stack for sensors app 2012-08-20 13:11:19 +02:00
px4dev f20c61ccdf Various BSON codec fixes. Simple load/save test is working now. 2012-08-20 04:06:44 -07:00
Lorenz Meier aaf2a23f18 Reduced optimistic send rates, better mag scaling 2012-08-20 12:38:45 +02:00
Lorenz Meier 0d28187960 Fixed attitude mag scaling 2012-08-20 11:36:44 +02:00
Lorenz Meier 767f253976 Fixed attitude rate limiting 2012-08-20 11:15:44 +02:00
px4dev 56bba7816f Merge branch 'px4dev_new_param' of https://github.com/PX4/Firmware into px4dev_new_param 2012-08-20 01:53:37 -07:00
px4dev cc7a9c9b66 Update for the new BSON coders. Not working right yet. 2012-08-20 01:52:39 -07:00
px4dev 26c2c2d2cf Goodbye to the Mongo BSON codec; too big. Hello to a really small SAX-style decoder and matching encoder. 2012-08-20 01:52:21 -07:00
px4dev a9dd3564ed Don't delete the parameter file on failed load. 2012-08-20 01:51:18 -07:00
Lorenz Meier 41172f24d5 Moved parameter command handling to mavlink app 2012-08-20 09:32:42 +02:00
Lorenz Meier 2c8fafd12a Reworked MAVLink parameter interface to support new parameter storage, tested. 2012-08-20 09:07:33 +02:00
Lorenz Meier 4a7f92fad0 Merge branch 'px4dev_new_param' of github.com:PX4/Firmware into px4dev_new_param 2012-08-20 07:51:07 +02:00
Lorenz Meier fd04ab0d44 Fixed / extended comments 2012-08-20 07:50:56 +02:00
px4dev 532b61c5a2 Tweak the test to work with the changed parameter export path 2012-08-19 22:16:10 -07:00
px4dev b0d13c9556 wrapper commands for saving and loading parameters 2012-08-19 22:15:51 -07:00
px4dev f8efb60b59 Major cleanup of the param code; more layering, more comments. Parameter import. 2012-08-19 22:15:29 -07:00
Lorenz Meier d07a63c169 Fixed compile errors and warnings in param test 2012-08-19 19:33:01 +02:00
Lorenz Meier e28af802ce Merge branch 'master' into px4dev_new_param 2012-08-19 17:08:48 +02:00
Lorenz Meier 9b239bc001 fixed typo, removed deamon example from default build 2012-08-19 16:43:51 +02:00
Lorenz Meier 86ed36579a Updated ROMFS scrips, created new ardrone_interface to jointly use multirotor_att_control on all multirotors, including AR.Drone frames 2012-08-19 16:32:54 +02:00
Lorenz Meier dae0b922f1 Added deamon example, reworked / merged multirotor attitude control. Ready for AR.Drone interface changes and integration tests 2012-08-19 15:52:59 +02:00
Lorenz Meier 85bc4f683a Cleaned up position control (WIP), moved PID structs (should become classes) to systemlib, added deamon app example 2012-08-19 11:29:07 +02:00
px4dev d903311dce Add support for setting and exporting parameters. 2012-08-19 01:31:27 -07:00
px4dev a9dc84231e Import of the Mongo C-BSON library with light modifications for PX4.
From https://github.com/mongodb/mongo-c-driver.git at 8ae2c57e95a3939850a77fb9329c129b2bcfcd1a
2012-08-19 01:31:27 -07:00
px4dev 2c85075221 Import of Troy Hanson's uthash package, v1.9.6 2012-08-19 01:31:27 -07:00
px4dev a86974e3e3 Hand over control of the onboard EEPROM to the NuttX I2C EEPROM driver and NXFFS. 2012-08-19 01:31:27 -07:00
px4dev d91f5f3dd7 The beginnings of a new parameter system. 2012-08-19 01:31:26 -07:00
Lorenz Meier 2a5fcd9174 Fixed incorrect scaling of acceleration values 2012-08-19 09:35:58 +02:00
Lorenz Meier dcf71d5f69 Merge branch 'master' of github.com:PX4/Firmware 2012-08-19 08:38:14 +02:00
Lorenz Meier 23ae096911 Added simple, but complete code example 2012-08-19 08:38:01 +02:00
px4dev 8477754411 Share the PX4IO protocol header, such as it is, between the two apps.
Stop using systemlib in the PX4IO firmware; it has expectations that can't reasonably be met.
2012-08-18 22:56:04 -07:00
px4dev fcad5b52c5 Teach err.c how to live without standard I/O 2012-08-18 22:24:58 -07:00
Lorenz Meier 9a56be6907 Changed mavlink and sensors apps to deamons, now started with mavlink start and sensors start. 2012-08-19 01:26:42 +02:00
Lorenz Meier 7874bbd37f Updated tests suite properly to MPU-6000 driver, should pass now 2012-08-18 23:01:17 +02:00
Lorenz Meier a4b2710928 Merge branch 'master' of github.com:PX4/Firmware 2012-08-18 22:40:12 +02:00
Lorenz Meier d48f7ea9f2 Fixed sensors test 2012-08-18 22:39:57 +02:00
px4dev 99d5ec78a1 Add <err.h> modeled on the BSD functions of the same name; this will let us clean up a lot of output from various shell tools. 2012-08-18 12:57:52 -07:00
Lorenz Meier dc484c1d21 State machine cleanup, introduced variable rates for MAVLink depending on the baud rate 2012-08-18 16:48:43 +02:00
Lorenz Meier 5aa91b6f17 Updated MPU test to new driver model 2012-08-18 12:29:04 +02:00
Lorenz Meier c6eff9eb8b Removed outdated sensors bringup app 2012-08-18 09:34:49 +02:00
Lorenz Meier 8a8b6b7165 Fixed PI wrapping code, debugging more sensor code, possible misalignment of mag and acc frames in filter 2012-08-17 18:38:52 +02:00
Lorenz Meier bce043a21b Fixed mag axis assignment, fixed mag calibration 2012-08-17 17:37:58 +02:00
Lorenz Meier 73286f3262 Minor tweaks and command parsing debugging 2012-08-16 20:57:38 +02:00
Lorenz Meier 8575d8cd49 Fixed arming bug 2012-08-16 17:20:41 +02:00
Lorenz Meier 18e71843be Increased attitude estimator bm stack 2012-08-16 16:57:44 +02:00
Lorenz Meier 46c4b987cc Various fixes for params interface 2012-08-16 15:49:56 +02:00
Lorenz Meier e95662f505 mag cal, scaling of throttle 2012-08-16 13:33:16 +02:00
Lorenz Meier b30e443f28 Updated start script, checking commander mishaps 2012-08-16 13:09:35 +02:00
Lorenz Meier 1530aeccae Working towards full sensor flexibility 2012-08-16 11:21:59 +02:00
px4dev e84d0f41fa fix a fatal one-character typo in the multirotor output scaling logic 2012-08-16 00:10:58 -07:00
px4dev 5198a9daf7 New multirotor mixer; builds, not yet tested. 2012-08-15 00:46:15 -07:00
px4dev 74980af6c9 Merge branch 'NuttX/master' from git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5027 7fd9a85b-ad96-42d3-883c-3090e2eb8679 2012-08-14 09:07:59 -07:00
px4dev 34118c72ef mechanical style fixups 2012-08-14 08:47:04 -07:00
patacongo 3cc812dbad Fixes to apps/*/Make.defs files needed for auto-configuration build
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5027 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-14 15:45:53 +00:00
Lorenz Meier 92a1fab0fd Integrated optical flow 2012-08-14 11:40:08 +02:00
Lorenz Meier ebbdbac97b Merge branch 'master' of github.com:PX4/Firmware 2012-08-14 09:08:52 +02:00
Lorenz Meier ab8d1b3b3b Reworked ardrone / multirotor control 2012-08-14 09:08:31 +02:00
px4dev 735f8ffa3d Config tweaks to enable the new-style ms5611 driver. 2012-08-14 00:07:19 -07:00
px4dev 35c4a21ca1 Simplify an error message to avoid a bad pointer deref. 2012-08-13 23:52:32 -07:00
px4dev f1f843099b Nuke a dead file. 2012-08-13 23:51:46 -07:00
px4dev 3c5bb3f57c New-style driver for the MPU6000. 2012-08-13 23:51:24 -07:00
px4dev edfdb8f47e force 8-bit SPI transactions for device::SPI drivers. 2012-08-13 23:50:55 -07:00
Lorenz Meier 1d029b01fe First initial revision of ACC driver and gyro 2012-08-13 22:10:03 +02:00
Lorenz Meier 6fb3bbb5da Merge branch 'master' of github.com:PX4/Firmware 2012-08-13 21:09:17 +02:00
Lorenz Meier d92cdc7cfa Improved float tests 2012-08-13 21:09:08 +02:00
Lorenz Meier 9014577aff Massive improvements in state machine, still tracing wrong throttle scaling in manual input path 2012-08-13 18:53:37 +02:00
patacongo 2b184e2630 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: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5022 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-12 17:37:04 +00:00
Lorenz Meier 43019ba618 Further cleanups, added sanity check against system state machine 2012-08-12 01:44:21 +02:00
Lorenz Meier 5adb691f89 Streamlined ar drone interface, removed a lot of old cruft, preparing for generic multirotor control 2012-08-12 01:25:41 +02:00
Lorenz Meier 22c1a03af7 Merge branch 'master' of github.com:PX4/Firmware 2012-08-11 21:19:27 +02:00
px4dev 24688ae7f9 Merge branch 'NuttX/master' 2012-08-11 12:03:04 -07:00
px4dev 65aec69705 Syntax change to improve readability; output scalers are now labelled O: instead of looking like control scalers.
Make mixer terminology more consistent; mixer inputs are 'controls'.
2012-08-11 11:27:07 -07:00
Lorenz Meier 18c6c620c0 Added manual control abstraction layer, reworked sensors and ardrone_control apps to use it instead of direct RC channels 2012-08-11 19:45:32 +02:00
px4dev 42ace38e31 Don't try to mix if we have no mixer installed. 2012-08-11 10:34:54 -07:00
px4dev 67e0f8b179 Rework the mixer architecture based on discussions about arbitrary geometry mixing and plugins.
Now the mixer is a C++ library that can be fairly easily bolted into an output driver to provide mixing services.

Teach the FMU driver how to use it as an example.  More testing is still required.
2012-08-10 00:30:40 -07:00
Lorenz Meier 04d280564c Merge branch 'master' of github.com:PX4/Firmware 2012-08-08 18:48:09 +02:00
Lorenz Meier 7a912a3fe4 Minor but important fixes across system 2012-08-08 18:47:46 +02:00
px4dev 2b6eca225f build fixes 2012-08-08 00:59:11 -07:00
Lorenz Meier 1a3f78657e Fine tuning 2012-08-07 23:32:11 +02:00
Lorenz Meier e9af999dc6 Introduced multirotor control 2012-08-07 23:15:04 +02:00
Lorenz Meier c519f28b98 minor polishing 2012-08-07 17:31:41 +02:00
Lorenz Meier 962a3464a6 Minor cleanups in WP handling 2012-08-07 17:24:48 +02:00
Ivan Ovinnikov 9536bfa3ca HIL fixed, fixedwing control fixes 2012-08-07 14:18:09 +02:00
Lorenz Meier 2b09a7914f Sending back current position setpoints (global and local) 2012-08-07 08:36:20 +02:00
Lorenz Meier 7f2a63eb96 Completed calibration state machine, calibration state now propagating to sensor, scale calibration soon 2012-08-06 23:43:09 +02:00
Lorenz Meier f88bba0cec Merge branch 'master' of github.com:PX4/Firmware 2012-08-06 20:20:49 +02:00
px4dev 3860f72665 Sketchy diagnostic commands useful for testing. 2012-08-05 19:46:55 -07:00
px4dev 4f0875ab73 Reject mixer definition lines too short to be valid. 2012-08-05 19:46:27 -07:00
px4dev 59962bc3da Add a sample mixer definition and documentation.
Add support for comments in mixer definitions.
2012-08-05 16:30:28 -07:00
Lorenz Meier 31850115bb Merge branch 'master' of github.com:PX4/Firmware 2012-08-05 23:15:16 +02:00
Lorenz Meier df42d0604e Using float precision where already anyway available 2012-08-05 23:15:03 +02:00
px4dev 9804447a66 More work on the mixer architecture.
Solve the multiple publishers issue with 'control groups', one group per controller.  Mixer inputs now specify both group and control offset within the group.

Avoid using %f when loading/saving mixers; use scaled integers instead.
2012-08-05 14:13:34 -07:00
px4dev 9804776a0c Checkpoint: more work in progress on mixer load/save 2012-08-05 14:13:33 -07:00
px4dev 145a6c4c49 Work in progress; standard mixer API and utility 2012-08-05 14:13:33 -07:00
Lorenz Meier 62e18b580c Minor cleanups in printing 2012-08-05 23:09:47 +02:00
Lorenz Meier 96b348af9f Minor fixes to HMC driver, mag calibration done 2012-08-05 22:51:31 +02:00
patacongo fca1ea81db I learned how to spell PSEUDO
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5010 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-05 17:44:11 +00:00
Lorenz Meier 139cd09176 Faster sensor bus resets on timeouts, massively reworked fixed wing app, tested 2012-08-05 15:56:24 +02:00
Lorenz Meier b5f7adfc10 Many Doxygen style fixes 2012-08-05 11:27:02 +02:00
px4dev 4f4a3a48bf Build fix. 2012-08-04 15:56:30 -07:00
px4dev f7ebc45871 Merge branch 'NuttX/master' 2012-08-04 15:29:34 -07:00
patacongo 60889d41f6 Update NSH documentation; Add option to reduce size of help commnd without completely eliminating it
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5009 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-04 22:17:37 +00:00
px4dev 8a365179ea Fresh import of the PX4 firmware sources. 2012-08-04 15:12:36 -07: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 2545e9bc4b Add the NSH df command
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5007 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-04 00:37:25 +00:00
patacongo aa8c93baab Extend the NSH mount command so that it will enumerate mountpoints if no arguments are provided
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5006 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-03 23:47:32 +00:00
patacongo 606c031000 Improve capability to traverse inodes in the NuttX psuedo-filesystem; now returns statfs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5005 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-03 22:04:14 +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 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 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 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 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 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 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 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 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 91e5d3ac52 Prep for release 6.20
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4937 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-12 17:57:31 +00:00
patacongo ff4a5027fb Correct an error in named application priority when SCHED_RR is enabled
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4928 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-11 02:43:12 +00:00
patacongo 109c9cdd7f Fix another LPC43xx pin configuration problem
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4926 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-10 20:51:39 +00:00
patacongo 8bbd7a5455 Prep for 6.19 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4847 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-15 16:23:17 +00:00
patacongo 03e8602c57 Improve NFS retry logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4845 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-14 23:27:02 +00:00
patacongo 1c2b2798b4 Clean up NFS user interface; Fix NFS disconnect bug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4841 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-14 14:35:31 +00:00
patacongo c3cba92265 Minor change to NFS interface
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4840 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-14 13:08:48 +00:00
patacongo a27028feab NFS just finished a major weight reduction program
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4838 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-14 00:47:42 +00:00
patacongo 23817b959f Add NSH mv command
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4830 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-11 23:47:31 +00:00
patacongo 4a54aad4b2 Fix typo in example code
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4816 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-08 02:16:26 +00:00
patacongo 2f382d0878 More IPv6 rambling
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4815 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-08 01:53:26 +00:00
patacongo 11d938dd21 First round of compile fixes for IPv6
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4813 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-07 22:00:19 +00:00
patacongo 5a87fd158b A little more cleanup after the big STMPE11->811 name change
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4783 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-29 01:43:51 +00:00
patacongo 5e0db56108 Massive naming fix: STMPE11->STMPE811
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4782 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-29 00:54:22 +00:00
patacongo 516a0a7adb Add support for the USB trace cability in NSH when a USB console is used
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4774 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-26 18:05:26 +00:00
patacongo 7b37a5a7ba remove a warning
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4773 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-26 02:34:34 +00:00
patacongo 18c23f126b Now have to press enter 3 times to start with USB NSH console
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4772 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-26 01:45:37 +00:00
patacongo 983e72ea39 Fix packet size calculation in CDC/ACM and PL2303 USB serial drivers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4771 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-25 22:10:40 +00:00
patacongo 232ce4e980 Prep for 6.18 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4751 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-19 15:26:38 +00:00
patacongo ae3a9e76b5 NFS update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4746 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-18 01:11:57 +00:00
patacongo 5baa9ac0f9 Update of NSH nfsmount command
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4735 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-14 14:25:57 +00:00
patacongo c4c802e7b3 Add Calypso-related fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4730 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-13 15:14:53 +00:00
patacongo e72205be3c NxWM: Finishes touchscreen implementation; NuttX: Standardize touchscreen initialization interfaces for all boards
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4721 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-11 00:05:25 +00:00
patacongo 5d31022f9d The STMPE11/touchscreen is now fully functional on the STM3240G-EVAL
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4715 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-08 22:10:29 +00:00
patacongo b66dd903b6 NxWidgets: Fix a potential deadlock that can occur waiting for toolbard geometry data
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4709 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-07 15:05:07 +00:00
patacongo 424579fcba Add configuration for testing NxWM
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4708 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-07 12:03:33 +00:00
patacongo 6aadb593e2 NSH fix
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4707 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-07 11:49:16 +00:00
patacongo 69f4e02c17 Mostly cosmetic, partial fixes for STM3240G-EVAL LCD
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4705 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-07 01:40:39 +00:00
patacongo 36f080fa7d Add GPIO support to STMPE11 driver; NFS update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4701 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-05 23:17:25 +00:00
patacongo f812f168dd NSF update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4696 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-03 23:37:34 +00:00
patacongo 743103b228 NSF update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4695 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-03 23:32:53 +00:00
patacongo 3c07d3cb2b Add beginning of NxWM NxConsole application
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4681 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-05-01 14:52:54 +00:00
patacongo 2ff8d05734 More STM3240G-EVAL LCD updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4665 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-27 18:29:04 +00:00
patacongo b1cb7ef744 NFS update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4650 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-23 23:21:30 +00:00
patacongo 01de46fb3f NFS fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4649 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-23 21:07:03 +00:00
patacongo 0073ac83ff NFS updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4647 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-23 20:33:25 +00:00
patacongo 31640bb6a6 Kconfig updated + NFS update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4646 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-23 19:55:32 +00:00
patacongo cfbb78e266 More NFS updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4639 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-21 00:11:17 +00:00
patacongo 7c722206dd More NFS updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4638 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-20 23:15:41 +00:00
patacongo fb15304eb4 Some STM32 bugfixes from Mike Smith
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4635 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-19 17:52:14 +00:00
patacongo 5dd35e83ca More Kconfig stuff
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4623 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-17 00:24:19 +00:00
patacongo 1837532bd7 Fix a couple of bugs in the STM32 IWDG driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4620 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-16 22:15:33 +00:00
patacongo e1920cbcb3 Add STM32 watchdog configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4617 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-16 17:20:36 +00:00
patacongo 3be0d43036 Add a watchdog timer test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4614 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-15 22:31:05 +00:00
patacongo be4a25e5b5 Add skeleton file for STM32 watchdog timer driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4611 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-15 01:11:54 +00:00
patacongo 5868e1dc92 More Kconfig updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4610 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-14 20:22:48 +00:00
patacongo 585a703015 Developing a new way to handle application configurations
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4609 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-14 20:01:08 +00:00
patacongo 5286a4c849 Kconfig updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4608 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-14 18:01:45 +00:00
patacongo 9c8f49c100 Prep for 6.17 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4607 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-14 15:11:38 +00:00
patacongo 211fe84e0b update Kconfig files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4598 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-13 02:14:09 +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 f1c5ee72b9 Correction to the ZLP fix for the STM32 F4 OTG FS driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4591 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-11 18:12:03 +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 fe091124b6 Modify configuration for use with STM32 OTG FS driver testing
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4580 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-09 21:08:37 +00:00
patacongo 36e37f5da4 Move include/math.h to include/nuttx/math.h
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4568 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-07 14:08:37 +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 373c6c3757 Adding skeleton Kconfig files (part 3 of 2)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4566 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-04-06 16:33:17 +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 6542745de8 Add framework in NxConsole to support VT100 escape sequences
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4542 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-30 18:42:40 +00:00
patacongo 55d55c1e70 Add ASCII and VT100 header files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4541 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-30 16:08:28 +00:00
patacongo e04a96b580 Can now run an NSH session within an NX window
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4539 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-29 22:20:47 +00:00
patacongo 2ad4791dfa NFS update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4538 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-28 23:27:24 +00:00
patacongo 9e5d37dcdd NX console should only be available if NX multi-user mode is enabled
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4535 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-28 17:19:17 +00:00
patacongo 07e5222a41 NX console updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4534 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-28 16:06:56 +00:00
patacongo 52bf8b3bf1 More NX Console fixes... good progress but still not ready for prime time
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4533 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-28 01:52:00 +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 1a975c0a58 Updaes for NX Console
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4531 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-27 22:33:15 +00:00
patacongo f5211035ab Add a test for the NX console device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4528 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-27 16:59:15 +00:00
patacongo 1018c9e441 NFS update + make some examples configurable as NSH built-ins
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4501 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-22 00:51:01 +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 310e63cd28 NFS update; fix STM32 enabling of CAN2 clock
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4494 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-17 00:25:34 +00:00
patacongo 16f7ec20bd Extend examples/can so that it can be used in other contexts
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4489 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-14 01:19:27 +00:00
patacongo fd38715cba Add a PIC32 configuration that supports only a Telnet console
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4486 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-13 19:21:04 +00:00
patacongo b2664b46db Fix some multiply defined symbols by making some static
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4482 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-13 12:47:59 +00:00
patacongo 65e4af6e20 Prep for 6.16 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4475 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-10 18:58:41 +00:00
patacongo 0a89a8ade3 Add support for use of a USB serial device to provide NSH console I/O. Verified on the Sure PIPIC32MX board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4458 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-06 20:21:57 +00:00
patacongo 29772a3432 The PIC32 USB device driver is (finally) functional
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4457 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-06 15:51:03 +00:00
patacongo 40f49928b0 Several fixes to the PIC32 USB device OUT path logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4451 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-04 17:38:00 +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 b34d35b328 A little more work (but not much progress) on the PIC32 USB device driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4440 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-29 21:53:28 +00:00
patacongo 157e80bb9d Add logic to NSH startup to call C++ static initializers on startup
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4439 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 23:38:59 +00:00
patacongo 82da59c616 Add support for C++ static constructors (at least to a few platforms)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4438 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 21:58:24 +00:00
patacongo 56bcc7b105 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: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4436 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 18:14:55 +00:00
patacongo 1784e4785b Add single precision operations to FPU test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4429 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-26 15:27:36 +00:00
patacongo 2bc54edaf3 readline() (and hence NSH) now accept the DEL character as well as the Backspace character for the backspace functionality
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4428 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 20:46:18 +00:00
patacongo fe55532f34 Fix bugs in lazy FPU register saving
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4427 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 19:32:16 +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 112e4f55ba Fix an error the TCP/IP received sequence number counting
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4416 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-23 15:53:27 +00:00
patacongo d8c42f1ed5 Misc fixes to quadrature encoder debug output
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4411 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-21 23:23:18 +00:00
patacongo 20b15f2d8c STM32 SDIO DMA: Ignore DMA FIFO errors; these seem to be bogus. SD multiple block transfers result in CRC errors; avoid them by using smaller FTP buffer sizes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4410 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-21 22:00:28 +00:00
patacongo c3e6ead339 Correct a buffer size error in the STM32 ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4403 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-18 22:09:09 +00:00
patacongo f04310d559 Correct and error in recv() and recvfrom() return value
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4402 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-18 18:13:30 +00:00
patacongo 2fa893134f Document recvfrom() bug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4399 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-16 02:33:01 +00:00
patacongo 4d73d93489 Fixes all known FTP server bugs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4398 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-15 23:37:37 +00:00
patacongo a2e2f34390 Minor FTPD updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4397 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-15 22:41:17 +00:00
patacongo 46e984d523 Extend the Quad Encoder test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4396 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-15 19:12:19 +00:00
patacongo 3625222c6c Add QE support to STM32F4Discovery; add a test of the quadrature encoder driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4395 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-15 17:51:30 +00:00
patacongo 9a03521b43 Prep for 6.15 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4387 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-13 01:42:03 +00:00
patacongo 592c4f7deb Add dmesg command that can be used to dump the syslog
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4382 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-11 15:27:44 +00:00
patacongo 84df1adb64 Fix an FTPD bug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4378 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-09 23:10:15 +00:00
patacongo 1b3d8f3148 Fix a bug in the FAT statfs() implementation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4375 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-07 00:29:06 +00:00
patacongo 3d264a6502 A little more FTP daemon cleanup
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4374 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-05 22:46:56 +00:00
patacongo 0b3d4e92e2 Fix more FTP server bugs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4373 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-05 22:18:14 +00:00
patacongo 76f187ba85 FTP server is marginally functional
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4372 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-05 19:32:42 +00:00
patacongo 3d42ab8282 FTPD daemon and example now build without errors
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4371 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-05 17:36:13 +00:00
patacongo c6e75138be Add build environment for the FTP daemon
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4370 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-04 22:49:42 +00:00
patacongo c8c29e73a8 Add the beginnings of an FTP server
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4368 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-04 21:02:45 +00:00
patacongo 05e846f340 Tried to get the Composite driver working on the LPC2148 (and failed)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4362 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 19:42:55 +00:00
patacongo 7a586daed8 NSH now uses the new Telnet daemon and built-in tasks started by NSH can be used over Telnet
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4361 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 16:04:09 +00:00
patacongo bede2bcc72 Add David Hewson's corrections to the LPC214x USB device driver; Add LPC214x configuration to test the USB composite device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4359 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 04:35:35 +00:00
patacongo a1646787df Re-verficatin of examples/telnetd after refactoring of fgets/readline functionality
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4358 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-01 21:10:40 +00:00
patacongo 2a2655f8e0 Use realine instead of fgets in several other places
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4357 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-01 19:47:12 +00:00
patacongo 6a4e8b32b3 Move lib/stdio/lib_fgets.c to apps/system/readline; simplify fgets(); use readline instead of fgets in NSH
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4356 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-01 19:07:57 +00:00
patacongo 47fa99c4a8 Add tcsetattr and tcgetattr
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4355 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-01 16:17:12 +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 7702043472 Fix a error the telnet driver read method. Don't return if only protocol stuff is read
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4352 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 17:38:45 +00:00
patacongo 1df049bbc3 Various fixes for the telnet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4351 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 15:41:07 +00:00
patacongo 019b83fc54 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: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4349 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-30 23:13:29 +00:00
patacongo 1e4d04d53b A few more telnet updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4348 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-30 22:20:42 +00:00
patacongo 622ac27bfa Add new psock layer; telnet session is now wrapped in a character device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4347 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-30 21:29:59 +00:00
patacongo a11ad68eed Candidate fix for the libboard.a dependency problem (from Mike Smith)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4346 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-29 20:07:16 +00:00
patacongo 6c72068d14 Correct a typo in STM32 I2C3 support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4345 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-29 14:15:20 +00:00
patacongo 41d243ce3e Most USB Composite device debug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4344 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-27 21:03:20 +00:00
patacongo b8e32a94f3 First round of changes from debug of USB composite device (still has problems)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4342 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-27 16:25:57 +00:00
patacongo cd24ef4a30 Add a text for the new composite USB device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4341 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-26 23:14:27 +00:00
patacongo 758d4cd6e6 More name changes: USBSER->PL2303 CDCSER->CDCACM
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4337 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 23:04:17 +00:00
patacongo 402addc937 Massive name change USB STRG -> USB MSC
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4335 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 20:50:57 +00:00
patacongo 6eb0403ddd If we are using a USB serial console, then NSH must wait for the USB device to be connected
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4327 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-24 00:00:31 +00:00
patacongo b179df901e Add support for extended (29-bit) CAN IDs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4319 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-20 21:52:35 +00:00
patacongo c55b63c7e3 Prep for 6.14 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4301 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-15 16:11:32 +00:00
patacongo 10cc67fe13 Add definitions for another Sure Elec. PIC32 board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4299 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-12 00:24:54 +00:00
patacongo a734f89a13 Correct GPIO dump output
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4288 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-10 16:25:52 +00:00
patacongo f28db5c1c3 Add pulse count support to apps/examples/pwm
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4286 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-09 18:56:05 +00:00
patacongo b63c7c35d3 Improve LPC17xx CAN interrupt handling; Additions to LPC17xx SPI driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4255 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-03 13:47:40 +00:00
patacongo 4f07eda719 Add support for STM32 Potentiometer via ADC3
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4252 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-02 18:22:19 +00:00
patacongo 3d3bc75c12 The STM32 F4 CAN driver has been verified in loopback mode
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4251 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-02 16:33:05 +00:00
patacongo 9a1c94e294 Fix some LPC17xx GPIO/button interrupt logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4246 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-31 23:09:33 +00:00
patacongo 2901574aff STM32 GPIO fix; Fixes for PIC32 USB term example
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4241 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-30 14:54:43 +00:00
patacongo f01e35e651 Prep for 6.13 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4231 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-26 20:07:04 +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 8953e3a370 Calibrated all PIC32 delay loops
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4217 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 22:24:00 +00:00
patacongo 60006bab7a Update to the STM32 ADC and CAN drivers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4215 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 21:55:54 +00:00
patacongo bfc578860c Add loopback support to STM32 CAN driver; Add apps/examples/can loopback test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4213 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 15:59:50 +00:00
patacongo 59f355daeb STM32 ADC driver update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4211 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 00:31:47 +00:00
patacongo 468bf27b12 Update M25P driver per feedback from Mohammed Elwakeel
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4207 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 21:16:39 +00:00
patacongo 0047c1f1b1 First round of PWM driver debug changes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4204 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 14:41:32 +00:00
patacongo b7edb56d6f Add a test for PWM drivers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4202 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-19 23:06:41 +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