Commit Graph

376 Commits

Author SHA1 Message Date
px4dev a7fc1b74bf Merge branch 'export-build' of https://github.com/PX4/Firmware into fmuv2_bringup 2013-04-26 19:25:31 -07:00
px4dev 01e427b17c Merge working changes into export-build branch. 2013-04-26 16:14:32 -07:00
px4dev 46085b43d1 Use the I2C bus number from the board config, not a hardcoded value. 2013-04-26 13:00:48 -07:00
px4dev 264cf65d0f Fix an error in a #error 2013-04-26 13:00:27 -07:00
px4dev 74c62a131e Fix the way that we idle the tone_alarm pin so that the board defines what is the 'safe' state. 2013-04-26 13:00:12 -07:00
px4dev 187f7603b9 Merge branch 'export-build' into fmuv2_bringup
Sync with master via export-build.
2013-04-26 12:35:45 -07:00
Lorenz Meier ed9fbbce59 HIL bugfixing 2013-04-25 17:25:42 +02:00
yvestroxler 873b0f40b5 Update ubx.cpp
GPS didn't work before this change was made
2013-04-22 19:44:40 +03:00
Julian Oes 76497502cb Moved the L3GD20 driver to the new driver, working on FMU v1 and v2 2013-04-17 12:41:56 -07:00
Pat Hickey 64ec950c58 px4iov2 nsh boots 2013-04-14 20:53:42 -07:00
Julian Oes 1a8cca92e9 Fixed axis in L3GD20 driver 2013-04-09 23:34:35 +02:00
Julian Oes 8c70f4412d Fixed axis in L3GD20 driver 2013-04-08 23:29:24 -07:00
px4dev 2557f0d2de Rename the 'device' directory back to 'drivers', it's less confusing that way.
Move the fmuv2 board driver out into the new world.
2013-04-06 23:04:32 -07:00
px4dev 8eeefcce05 Add GPIO driver access to the power supply control/monitoring GPIOs for FMUv2 2013-04-06 22:46:50 -07:00
px4dev c355275669 Make the 'fmu' command build for v2. Should be enough to get the FMU-side PWM outputs working, but untested. 2013-04-06 19:20:08 -07:00
px4dev 706dcb6a53 Move the FMU driver from the old universe to the new universe so that we can teach it about v2. 2013-04-06 18:38:32 -07:00
px4dev e7e35616c0 Fix the way that tone_alarm idles the GPIO and make it idle safely for v2 boards. 2013-04-06 15:47:34 -07:00
px4dev e5fa9dbcea Move the LSM303D driver over into the new world. 2013-04-06 11:16:24 -07:00
Julian Oes d1d4d1d1e2 Some defines and comments (still WIP) 2013-04-06 11:36:53 +02:00
Julian Oes f288c65baa LSM303D accel and mag working (still WIP) 2013-04-06 11:36:45 +02:00
Julian Oes 2187dc8e9a LSM303D accel raw values look ok (work in progress) 2013-04-06 11:36:38 +02:00
Lorenz Meier b4483a09b2 Added LSM303D driver 2013-04-06 11:36:26 +02:00
Lorenz Meier 4a5505b044 Added LSM303D driver skeleton 2013-04-06 11:36:18 +02:00
Julian Oes 4ccf252b76 Changed I2C bus for blinkm, tested on fmuv2 2013-04-06 11:36:04 +02:00
px4dev f243f6ef66 Scratch in a mostly-building board config for fmuv2 2013-04-01 01:23:05 -07:00
px4dev b7d65bf8fc HOTFIX: correct some logic errors with SPI chipselect generation.
Tested by Tridge.
2013-03-19 21:03:27 -07:00
px4dev 60eca61e41 HOTFIX: Adjust the FMU update rate adaption logic to avoid constant debug message spew when not in a PWM mode.
Fixes #229
2013-03-17 15:54:19 -07:00
Lorenz Meier 26d45d5e34 Silence MS5611 driver, the perf command still captures the error count / rate. Unfortunately this is necessary as general users are concerned about something that is (at a reasonable rate) not actual safety critical. 2013-03-17 22:49:16 +01:00
px4dev 8d47b3c6d4 Merge pull request #220 from PX4/tone_alarm_PLAY
New tone_alarm driver that uses ANSI music / GWBasic PLAY strings
2013-03-17 10:39:01 -07:00
px4dev 8fe14fdfdb Silence the tone for pauses in legato tunes. Some tunes sound better now.
Add new, distinctive error/notification tones.

Reduce the amount of data space consumed by the largest tune.
2013-03-17 10:38:18 -07:00
px4dev da529bb83b Fix a typo in several of the basic alarm beep tones. 2013-03-17 10:07:42 -07:00
Lorenz Meier 1ae4edab22 Merge pull request #224 from PX4/pwm-multirate
Pwm multirate
2013-03-17 02:49:18 -07:00
Lorenz Meier 1b16387a99 Merge pull request #221 from PX4/const-sweep
Mark a number of things (most particularly the ROMFS) const to save RAM
2013-03-16 14:58:59 -07:00
Lorenz Meier 37c1f30598 Fixed typo 2013-03-15 19:58:20 +01:00
Lorenz Meier 7e4d6133ae Make communication rate between IO and FMU configurable 2013-03-15 19:19:52 +01:00
px4dev 7011fe563b Move PWM rate configuration, etc. into a separate utility and out of the individual drivers. 2013-03-12 22:22:50 -07:00
px4dev 57429fd12c Convert HIL and FMU drivers to the new multirate PWM interface. 2013-03-12 22:22:49 -07:00
px4dev 6cf0758b24 Changes for multi-rate PWM output; default and alternate rates. ioctl protocol, PX4IO support. 2013-03-12 22:22:49 -07:00
Lorenz Meier 1d444f80a3 Fixed comment 2013-03-10 22:01:13 +01:00
px4dev 157b54ab4a Script name pointer array can be const. Fix a couple of lint errors while I'm here. 2013-03-10 13:46:55 -07:00
px4dev 4bc2ea744e more constness 2013-03-10 12:56:52 -07:00
px4dev 18d9956876 One more tune. Might be a bit big to keep. 2013-03-10 12:36:59 -07:00
px4dev 32e67883e8 Add one more tune. Improve error handling. Be less picky about tunes passed on the command-line. 2013-03-10 12:14:09 -07:00
px4dev 02fc6812d4 Add support for arbitrary user tunes on the commandline. 2013-03-10 00:29:19 -08:00
px4dev 0d9d009961 New tone_alarm driver, now features GWBasic PLAY / ANSI music string format 2013-03-10 00:05:16 -08:00
Lorenz Meier 921ef9178d Hotfix: Correctly publish servo outputs 2013-03-10 00:16:55 +01:00
Lorenz Meier 802d0ae2fa Made dtors virtual, tested on IO and FMU 2013-03-09 21:07:29 +01:00
Lorenz Meier 5baea153e7 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-03-09 13:22:32 +01:00
Lorenz Meier e7df439ea1 Hotfix: Extend GPS lost timeout by a small delta to prevent timeout aliasing, GPS app does not report any more losses 2013-03-09 13:21:57 +01:00
Lorenz Meier 11cb9df05b After the mb12xx driver was merged way too early, make the best out of it and fix up the init phase to the driver bails out if there is no sensor connected 2013-03-09 11:20:06 +01:00