Commit Graph

1115 Commits

Author SHA1 Message Date
px4dev 92594ba76a Hack bus reset support into the old-style hmc5883 driver. 2012-08-22 22:26:09 -07:00
px4dev 0f74d08960 I2C configuration options to support up_i2creset 2012-08-22 22:25:45 -07: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
px4dev a3b78163c3 Add locking to the I2C bus reset API to prevent pre-emption and conflict when resetting at the same time that another transaction attempts to use the bus. 2012-08-22 22:24:22 -07:00
px4dev 6669c7faa9 Add an interface to the STM32 I2C driver that provides a way to reset the driver and the bus.
This can be used to unwedge the bus when transactions are failing due to a device being out of sync.
2012-08-22 22:13:17 -07:00
px4dev be85f895a0 Use a much shorter timeout for normal communication, and stretch it only when we are waiting for erase. 2012-08-22 17:06:58 -07:00
px4dev e0a9024b64 Add some simple interrupt latency tracking. 2012-08-22 16:56:52 -07:00
patacongo f1d8a9efab STM32 USB OTG FS host driver -- updates for NAK and data toggle fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5047 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-22 21:04:17 +00:00
Lorenz Meier 39eb2a3ba0 Merge branch 'px4dev_new_param' of github.com:PX4/Firmware into px4dev_new_param 2012-08-22 20:58:12 +02:00
patacongo b2fb8996ac STM32 USB OTG FS host driver update (almost done)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5046 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-22 18:13:04 +00:00
Lorenz Meier 06e18f14e6 Ensure that sensor drivers are loaded 2012-08-22 16:34:53 +02: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
patacongo 9ab1bb8a53 PM update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5045 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-22 12:27:05 +00: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 1bea49869b task file list gdb macro 2012-08-22 10:00:46 +02: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
patacongo 451e17f183 Several more bug fixes for STM32 OTG FS host driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5044 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-21 20:14:42 +00:00
Lorenz Meier 3a9f34b233 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_param 2012-08-21 20:18:31 +02:00
patacongo 42d23b06d9 Several bug fixes for STM32 OTG FS host driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5043 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-21 18:13:35 +00: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 7127c106cb Missing removed file 2012-08-20 23:53:09 +02:00
Lorenz Meier d1261e227c Porting to new param interface, updated mixers 2012-08-20 23:52:13 +02:00
patacongo 5a4b8d9930 Early STM32 USB OTF FS host debug changes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5042 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-20 21:22:03 +00: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
patacongo f58b0085d7 Changes for good auto-configuration of Micropendous3 board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5041 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-20 16:14:57 +00:00
patacongo 27bd0bbee4 Changes for clean STM32 USB host driver build
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5040 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-20 16:06:39 +00: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
patacongo 4f56a72bea STM32 USB host driver is code compelte (but untested)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5039 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-20 13:55:19 +00:00
patacongo 6211f4726e CONFIG_DRAM_END configuration change from Richard Cochran
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5038 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-20 12:44:15 +00: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