Commit Graph

898 Commits

Author SHA1 Message Date
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
patacongo aa09e05432 Revise recent changes to serial driver error handling: Errors other than EINTR may be returned when the driver is used very early in initialization. STM32 SPI driver will now survive repeated initializations
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5026 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-14 14:42:50 +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 91d1524837 Avoid reinitializing a SPI bus once it's been set up the first time. 2012-08-13 23:56:52 -07:00
px4dev 165105bd93 More ignorance. 2012-08-13 23:52:48 -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
patacongo a72ff3b651 Make the lib/ subdirectory build more like other directories
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5025 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-13 22:27:06 +00:00
Lorenz Meier a9d8a324bc Indendation fixes 2012-08-13 22:12:38 +02: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 d5c4c4da8d Fix bad AVR C++ include paths; remove stray typo from ctypes.h
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5024 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-13 14:02:06 +00:00
px4dev 56b3b46f75 Add heap used/free summaries to heap dump 2012-08-12 12:53:10 -07:00
patacongo 18669722d8 Define NULL to be (0) for C++
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5023 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-12 17:49:35 +00: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
px4dev 89037cc83a typo that causes the heap printer to fail by recursing infinitely 2012-08-11 20:53:42 -07:00
px4dev 67ae727365 Bootloader requires images be a multiple of 4 bytes; pad to comply. 2012-08-11 19:42:24 -07: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 6c4aadedf4 Switch back from max performance to size as the default optimization level. Individual modules can still override this if they need to. 2012-08-11 11:45:59 -07:00
px4dev a2116d2058 Adjust sample mixer configurations and documentation to match new syntax. 2012-08-11 11:28:05 -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
patacongo 0512367a9c Back out the last STM32 DMA priority change. It is not necessary; just dropping the SD frequency was sufficient
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5021 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-10 23:16:01 +00:00
patacongo 850df30e06 Drop STM32 F2/4 SDIO clock from 24 to 16 MHz. Seems to fix SD accesses on STM3240G-EVAL
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5020 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-10 22:42:46 +00:00
patacongo 7189150b33 STM32 SDIO DMA setup was losing DMA priority
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5019 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-10 22:01:12 +00:00
patacongo 35451abdd7 Add support for Olimex STM32-P107 board (contributed by Max Holtzberg)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5018 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-10 17:07:02 +00:00
Lorenz Meier 4eef4e1864 Ensured startup of USB link, updated port ids to read from 2012-08-10 16:18:45 +02: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
patacongo ddaa72597b STM32 CAN TX/RX pins reversed; inconsistent conditional compilation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5017 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-08 23:23:15 +00: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
px4dev 7a6a4b9352 Drop the X and + rotor mixers. We can't do multirotor mixing statically like that, as there is no mechanism for dealing with channel saturation. 2012-08-07 21:25:30 -07:00
patacongo 62cfd38241 Add a USB0 device header file for LPC43
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5016 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-07 23:51:47 +00: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
patacongo ed303232fa Update documentation to describe customization of NSH; Add the framework for a LPC43xx USB0 driver (not functional)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5015 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-07 20:18:56 +00:00