364 Commits

Author SHA1 Message Date
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
Lorenz Meier
35790e673b Merge pull request #214 from ghulands/sonar
Maxbotix I2C Sonar Support
2013-03-08 13:17:57 -08:00
Lorenz Meier
e8e52afcc4 Added minimum set of IO MAVLink text messages, report critical errors such as in-air restarts 2013-03-07 20:51:33 +01:00
Lorenz Meier
ebac51cad8 Working on restart resilience, hunting down multi-load mixer issue (still present) 2013-03-07 19:47:43 +01:00
Simon Wilks
8d1f80a9e8 Fix how we check for rc config init status 2013-03-07 01:03:38 +01:00
Simon Wilks
5c12b6a911 Request result of rc config upload from IO 2013-03-06 22:52:19 +01:00
Simon Wilks
07c3493825 Revert "testing"
This reverts commit 16aa618bb4338899fc5e4c239efc741818d725db.
2013-03-05 23:00:39 +01:00
Simon Wilks
16aa618bb4 testing 2013-03-05 14:36:45 +01:00
Greg Hulands
160ac722be Fix white space 2013-03-01 10:16:04 -08:00
Greg Hulands
d1e41f2c48 Missed the accel reference here 2013-03-01 10:14:11 -08:00
Greg Hulands
349af372d0 Changes from pull request feedback 2013-03-01 10:03:40 -08:00
Greg Hulands
6eca4ba462 Maxbotix I2C Sonar Support 2013-03-01 09:20:00 -08:00
Lorenz Meier
a35d214d98 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-26 21:30:05 +01:00