Commit Graph

814 Commits

Author SHA1 Message Date
px4dev 3df82e51b8 Defconfig tweak that might? be required. 2012-08-25 19:30:20 -07: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
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 bcee27c6cc Turn off the stock AT24xx EEPROM driver; we are going to use our own. 2012-08-23 23:03:13 -07:00
Lorenz Meier b378f7ecd9 Merge branch 'px4dev_new_param' of github.com:PX4/Firmware into px4dev_new_param 2012-08-23 07:44:38 +02:00
Lorenz Meier 72d9db9875 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_param 2012-08-23 07:44:24 +02:00
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 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 e0a9024b64 Add some simple interrupt latency tracking. 2012-08-22 16:56:52 -07:00
Lorenz Meier 3a9f34b233 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_param 2012-08-21 20:18:31 +02:00
px4dev 228fbb975a New-style driver for the HMC5883 on I2C. 2012-08-21 01:09:03 -07: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 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 7b4b3f7bf7 Kill off the old EEPROM driver's support for the on-board parameter EEPROM. 2012-08-19 01:31:26 -07:00
px4dev cd8a085e00 Support for a __param section in which we can put parameter things. 2012-08-19 01:31:26 -07: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 12b3a39e39 Drop these; they should not have been added. 2012-08-17 21:30:48 -07:00
Lorenz Meier 73286f3262 Minor tweaks and command parsing debugging 2012-08-16 20:57:38 +02: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
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
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 3c5bb3f57c New-style driver for the MPU6000. 2012-08-13 23:51:24 -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
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
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 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
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
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 7a912a3fe4 Minor but important fixes across system 2012-08-08 18:47:46 +02: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 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