Commit Graph

33 Commits

Author SHA1 Message Date
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 f243f6ef66 Scratch in a mostly-building board config for fmuv2 2013-04-01 01:23:05 -07: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
px4dev 6cf0758b24 Changes for multi-rate PWM output; default and alternate rates. ioctl protocol, PX4IO support. 2013-03-12 22:22:49 -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 a35d214d98 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-26 21:30:05 +01:00
Lorenz Meier dee0a30e16 Hotfix: ensure PWM output on IO and FMU stops when disarming 2013-02-26 21:27:33 +01:00
px4dev 3d53b1d551 Fix it here, too. 2013-02-24 11:50:57 -08:00
px4dev 923a7cc505 Add an interrupt-safe way of comparing a timestamp with the current time.
Add an interrupt-safe way of storing the current time into a timestamp.
2013-02-24 11:41:26 -08:00
Lorenz Meier dad7f9f436 Selected adjustments / fixes to make old apps compatible with new-style ADC driver 2013-01-12 00:38:49 +01:00
px4dev b167912b1b Enable the temperature sensor channel for F2/F4 devices. 2012-12-31 18:31:37 -08:00
px4dev bc432b1feb Cleanup and add support for multiple channels. 2012-12-31 17:06:30 -08:00
px4dev 22f5a1dc94 First cut at a simple® ADC driver built on our driver framework. 2012-12-31 01:30:57 -08:00
px4dev 76895af6eb Fix several aspects of the PWM output driver; enable auto-reload, use named constants for various control bits, and use a more polite mechanism at disarm time to avoid runt pulses.
This may address an issue we've seen where we get occasional malformed PWM output pulses, possibly due to a race between compare updates and the timer.
2012-12-18 00:35:28 -08:00
Lorenz Meier e7f2c053c2 Quickly separated low-level raw RC from mapped / scaled RC, supports FMU PPM and IO PPM / Spektrum now 2012-11-05 16:04:45 +01:00
px4dev 06e17eae5d Fix off-by-one reading PWM output values. Minor robustness tweaks. 2012-11-04 16:44:06 -08:00
px4dev f11cf48bb9 Attach the interrupt before powering on the HRT timer. 2012-11-03 01:14:25 -07:00
px4dev ea539031da Cleanup and refactor of the PX4IO firmware and board support. Builds, not tested yet. 2012-11-03 01:14:24 -07:00
px4dev 9184753f17 Remove an annoying message. 2012-10-27 11:38:14 -07:00
px4dev 6cec7f131e Minor board.h changes. 2012-10-27 11:34:20 -07:00
px4dev 1065118ebc Separate config from implementation for the STM32 pwm servo driver. 2012-10-24 00:55:37 -07:00
px4dev 2fc1032069 Major formatting/whitespace cleanup 2012-10-23 23:51:13 -07:00
px4dev eaf91f05bd Fix a filename 2012-10-23 23:51:13 -07:00
px4dev 3d79b9a0b0 Tease the PWM driver out and fix some build issues after cleaning up behind the cpuload pieces. 2012-10-23 23:51:13 -07:00
px4dev c3fe915b44 Checkpoint - moving things out of the NuttX configs/*/src directories 2012-10-23 23:51:12 -07:00
px4dev 5b9c469770 Function type fix 2012-10-21 19:12:32 -07:00
px4dev 5925d146bc Move the tone_alarm driver out of the NuttX configs area and add it as an stm32-specific driver in the PX4 apps space.
Add a new tone_alarm command that can be used to start/stop alarm tones from the shell.
2012-10-21 17:51:21 -07:00