Commit Graph

1106 Commits

Author SHA1 Message Date
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
patacongo ba31404b97 Move duplicate LCD orieations settings from configs/*/Kconfig to drivers/lcd/Kconfig
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5036 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-18 22:57:17 +00:00
patacongo 756715d077 STM32 USB host driver update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5035 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-18 21:22:16 +00:00
px4dev 12b3a39e39 Drop these; they should not have been added. 2012-08-17 21:30:48 -07:00
patacongo f5e6e25c7e More STM32 USB host logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5034 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-17 22:51:14 +00:00
patacongo a2162de80d Remove 'sudo' from Makefiles
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5033 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-17 14:54:09 +00:00
patacongo e207f076c9 Auto-configuration updates from Richard Cochran
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5032 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-17 14:07:48 +00:00
patacongo a740bc8335 Evolving STM32 USB host support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5031 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-16 22:48:26 +00:00
Lorenz Meier 73286f3262 Minor tweaks and command parsing debugging 2012-08-16 20:57:38 +02:00
patacongo 3f9f7e6d3c mkconfig now calculates DRAM_END if not provided
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5030 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-16 15:00:34 +00:00
patacongo 5a8984c800 A little more STM32 USB host logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5029 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-15 22:13:50 +00:00
patacongo dd681d7fff Some repartitioning of STM32 functionality to better support a USB host driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5028 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-15 17:58:54 +00: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
patacongo 756fc3f2db Misc updates (minor)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5014 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-06 17:59:41 +00:00
patacongo 722430d4d2 Fix more floating point formatting bugs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5013 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-06 14:38:47 +00:00
patacongo 181f52600b Fix a floating point presentation error
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5012 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-06 02:14:36 +00:00
patacongo 45b832c6ff cosmetic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5011 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-06 00:29:53 +00:00
px4dev cd3a49c3a2 This file is automatically generated and should not be checked in. 2012-08-05 16:31:31 -07:00
px4dev c513f5ade8 Adjust some scaling factors for more precise PWM output. 2012-08-05 16:31:04 -07:00
px4dev 145a6c4c49 Work in progress; standard mixer API and utility 2012-08-05 14:13:33 -07:00
Lorenz Meier 96b348af9f Minor fixes to HMC driver, mag calibration done 2012-08-05 22:51:31 +02:00