Commit Graph

656 Commits

Author SHA1 Message Date
px4dev 0d89da96a3 Adjust the mixer tables for observed yaw sign behavior. 2012-09-03 02:45:33 -07:00
Lorenz Meier c62e78a060 Merge branch 'master' of github.com:PX4/Firmware 2012-09-03 08:36:23 +02:00
Lorenz Meier 60dabef756 Cleaned up HIL interface 2012-09-03 08:24:08 +02:00
px4dev edaa40f1d3 Fix typo in roll controller initialization; now roll and pitch controllers respond in a comparable fashion. 2012-09-02 15:56:56 -07:00
px4dev 6576edb47e Merge with trunk NuttX
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5079 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-02 12:17:16 -07:00
Lorenz Meier 8aa41f7d34 Add actuator controls output 2012-09-02 12:21:54 +02:00
Lorenz Meier 436648fff0 Ported MAVLink app to actuator_armed topic 2012-09-02 11:45:22 +02:00
Lorenz Meier cae070c73e Changed to publishing armed state in commander 2012-09-02 11:33:52 +02:00
Lorenz Meier e9373752d1 Fixed arming state setting / publication 2012-09-02 11:20:36 +02:00
px4dev eb8e3a2942 Reduce slightly the rate at which we can be spammed with arming-state change messages. 2012-09-02 02:16:44 -07:00
px4dev 00ba1d629b Redo the math in the ms5611 driver to a) avoid re-computing scaling factors for every pressure measurement, b) be perhaps more readable and follow the data sheet more closely, and c) support calibration of the MSL pressure. 2012-09-01 16:26:12 -07:00
Lorenz Meier cf62c892f9 Added temperature measurement, added led system command 2012-09-01 19:56:42 +02:00
patacongo d1764ac57e Remove CONFIG_LIBC_PERROR_DEVNAME. What was I thinking?
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5074 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-01 00:26:37 +00:00
patacongo 0eb58dfb72 The content for uIP web server demo is no longer canned, but is not built dynameically (Thanks to Max Holtzberg)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5073 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-31 23:05:51 +00:00
patacongo 035e89e554 Fix some places in library where semaphore is not released on error conditions
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5071 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-31 16:03:17 +00:00
Lorenz Meier 39fd8b9cda Fixed minor compile warnings (just warnings, no effect on execution) in BMA180 2012-08-31 14:38:55 +02:00
Lorenz Meier 4ba8036d80 minor typo in comment 2012-08-31 14:06:34 +02:00
Lorenz Meier 5f131e8c11 Checkpoint: Operational BMA180 driver 2012-08-31 14:02:23 +02:00
px4dev 63485b91b2 Kick the BMA180 driver mostly into shape. Still not reading data correctly. 2012-08-30 22:33:20 -07:00
px4dev 116306ae3e units in comments 2012-08-30 22:32:54 -07:00
px4dev 1e80bd544b Make the buffer ring work.
Avoid reading from the misaligned structure more than once.
Discard some redundant whitespace / prototype.
2012-08-30 22:32:42 -07:00
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
px4dev 45885f15dc Fix the readout transfer size. 2012-08-29 23:25:14 -07:00
px4dev da3cd24352 Be a bit more careful with which bits we stuff into the l3gd20 registers. 2012-08-29 23:16:38 -07:00
px4dev d0898cb947 Something approximating a driver for the L3GD20 2012-08-29 22:55:15 -07:00
px4dev d0f10a3550 driver work in progress 2012-08-29 21:40:48 -07:00
px4dev 732e23a883 Add some documentation for the warn/err functions. 2012-08-29 21:38:52 -07:00
Lorenz Meier c816cca816 fixed a param save bug 2012-08-29 22:56:29 +02:00
Lorenz Meier 676daf7c46 minor changes for default options, closing properly all subscriptions in multirotor att control now on exit 2012-08-29 22:33:06 +02:00
Lorenz Meier 7cd89520cc More black magic put into the attitude estimation - works nicely now 2012-08-29 15:53:11 +02:00
Lorenz Meier 7d87f2b06e Fixed calibration, added calibration for accel, working on further filter improvements 2012-08-29 14:20:55 +02:00
Lorenz Meier cbf020de87 Minor improvements to ardrone interface, ready for prime time 2012-08-29 09:30:57 +02:00
px4dev 6fd7e12e13 Sorry Tait, Bryan… your body is not welcome. 2012-08-29 00:08:02 -07:00
px4dev 255b0f68af Let's not get too smart; we can't const these. 2012-08-28 23:37:23 -07:00
px4dev 268db3dd9b mavlink parameter load should discard all current parameters before loading from EEPROM 2012-08-28 22:55:56 -07:00
px4dev 168e32cd1b Try not to return an unconditional error from the parameter save path.
Simplify the test for no parameter file on the parameter load path.
2012-08-28 22:54:28 -07:00
px4dev 1a781c6c4a Make the distinction between "parameter import" which merges parameters, and "parameter load" which blows away any current changes. 2012-08-28 22:15:25 -07:00
px4dev f0286d1a10 Distinguish between the end of the top-level BSON object and an error so that parameter loading can complete. 2012-08-28 21:52:26 -07:00
px4dev 1e90fd5bec Let's not leave the R/C channel scaling factor as a NAN or INF. It makes many things sad.
Also, clean up the calculation of same.  Really, is it easier to type out the same calculation 8 times, or perhaps you might be interested in this thing we call a 'loop'…
2012-08-28 21:13:00 -07:00
Lorenz Meier 68ac20cc3a fixed range of debug printing 2012-08-28 22:50:47 +02:00
Lorenz Meier a1963805e7 left debug output active to allow finishing off this issue 2012-08-28 22:48:00 +02:00
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