Commit Graph

46 Commits

Author SHA1 Message Date
Lorenz Meier c0f34dff26 STM32 drivers: Optimize for size 2014-11-15 13:51:33 +01:00
Randy Mackay 2d4dd0d5c0 Tone alarm sound for barometer check fail 2014-08-01 09:24:07 +02:00
Randy Mackay e6594e5192 tone_alarm: add EKF_WARNING tune
Conflicts:
	mavlink/include/mavlink/v1.0
2014-07-23 06:30:32 +02:00
Lorenz Meier aa312f96f8 drivers: Fix compile warnings and non-standard performance counter names 2014-05-21 14:20:48 +02:00
Ash Charles e5508a1aa0 Add Gumstix AeroCore device
Based on the work of Andrew Smith [1], add board configuration and device
drivers to support the Gumstix AeroCore (previously Aerodroid) board [2]. The
AeroCore is an autopilot board based on a STM32F427 similar to the FMUv2.

[1] https://github.com/smithandrewc/Firmware
[2] https://store.gumstix.com/index.php/products/585/

Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-13 09:41:41 -07:00
Lorenz Meier 37970c5828 hrt driver: Make a debug data array compiling condiditional on PPM debug, we are never accessing it in normal operation 2014-05-13 08:06:33 +02:00
Lorenz Meier fc54cc2d1f Merge pull request #839 from eneadev/patch-1
Update drv_hrt.c
2014-05-08 21:45:05 -07:00
Randy Mackay 9f2c4b7513 tone_alarm: add PARACHUTE_RELEASE_TUNE 2014-04-28 11:43:25 +02:00
eneadev e2989bc091 Update drv_hrt.c
TIM3 was not working properly with a custom application and I got it work changing TIM3 HRT_TIMER_POWER_BIT from RCC_APB2ENR_TIM3EN to RCC_APB1ENR_TIM3EN because on datasheet TIM3 is on APB1, I think that you should check also the others
2014-04-19 13:08:29 +02:00
Lorenz Meier 62c188408f Merge branch 'airspeed_scaling' of github.com:PX4/Firmware into testtest 2014-04-05 14:30:57 +02:00
Jonathan Challinger f1f9f452c0 tone_alarm: Added arming failure tone 2014-04-05 12:13:50 +02:00
Andrew Tridgell 6ea22c8c07 adc: publish system_power ORB topic from ADC 2014-04-05 12:11:07 +02:00
Lorenz Meier d940bdf7f6 Consistently making space for a maximum of 12 channels, 10 channels (including reference / temperature) are used / available right now 2014-03-17 17:02:10 +01:00
Lorenz Meier d5c857615b Pure formatting cleanup of drv_hrt.c, no code / functionality changes 2013-12-27 12:14:15 +01:00
Lorenz Meier db46672bc4 Paranoid PPM shape checking 2013-12-27 12:02:57 +01:00
Lorenz Meier a502332992 Greatly robustified PPM parsing, needs cross-checking with receiver models 2013-12-25 15:11:05 +01:00
Lorenz Meier 107bb54b33 Robustifiying PPM parsing 2013-12-23 20:38:09 +01:00
Lorenz Meier 9476ba522f PPM channel count detection is now using a more paranoid approach. 2013-12-20 08:48:51 +01:00
Andrew Tridgell b3f4b0a240 drv_hrt: added note on why an uninitialised hrt_call is safe 2013-12-10 11:40:51 +01:00
Andrew Tridgell 53f2dc8296 drv_hrt: added hrt_call_init() and hrt_call_delay() APIs
hrt_call_init() can be used to initialise (zero) a hrt_call structure
to ensure safe usage. The hrt_call_every() interface calls this
automatically.

hrt_call_delay() can be used to delay a current callout by the given
number of microseconds
2013-12-10 11:03:31 +01:00
Randy Mackay 642081ddfe tone_alarm: add GPS warning tone 2013-09-27 13:34:25 +02:00
Randy Mackay f4abcb51a1 tone_alarm: add #define for device path 2013-09-16 07:21:31 +02:00
Jean Cyr 54644e4206 Allow tone_alarm cmd to take filename as parameter
- Restore ability to play beloved William Tell Overture... from file
2013-08-31 16:06:15 -04:00
Jean Cyr b80f0d46ae Allow tone_alarm cmd to use tone names as well as number
- remove script dependency on hard coded tone numbers
- fix bug restarting repeating tone after stop
2013-08-31 01:03:32 -04:00
Jean Cyr f246b68c7b Fix parameter range check 2013-08-30 20:24:14 -04:00
Jean Cyr efca6f2cb1 Remove unused tones and save about 6K flash space
- Comment out unused tones
- Create symbolic tone numbers rather than hardcoded
2013-08-30 20:12:35 -04:00
Julian Oes ca96140b21 Allow the tone alarms to be interrupted 2013-08-22 15:53:46 +02:00
Julian Oes 1d7b8bb565 Somehow alarm 14 didn't always work 2013-08-16 18:03:04 +02:00
Julian Oes 56575eb068 Merge remote-tracking branch 'px4/new_state_machine_drton' into fmuv2_bringup_new_state_machine_drton
Conflicts:
	src/drivers/blinkm/blinkm.cpp
	src/drivers/px4io/px4io.cpp
	src/modules/commander/state_machine_helper.c
	src/modules/px4iofirmware/protocol.h
	src/modules/px4iofirmware/registers.c
	src/modules/systemlib/systemlib.h
	src/systemcmds/reboot/reboot.c
2013-08-15 14:04:46 +02:00
px4dev 50cf1c01b7 Compile fix. 2013-08-14 22:29:36 -07:00
px4dev 33863165b2 Merge commit 'de749a3602423f5ee6ca56f3cf2dfff04e31ec6d' (kconfig-cleanup) into fmuv2_bringup 2013-08-14 21:23:00 -07:00
Lorenz Meier aebdd6e059 Merged master 2013-08-14 22:53:42 +02:00
px4dev de749a3602 Stop expecting CONFIG_HRT_anything since we aren't baking it into the NuttX config anymore. 2013-08-13 00:34:41 -07:00
px4dev 567f621754 Fix an issue with the pwm_servo driver when using one of the STM32 advanced timers. 2013-08-04 19:43:05 -07:00
px4dev 9d6ec6b365 Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
Rename some directories that got left behind in the great board renaming.
2013-08-02 22:34:55 -07:00
Andrew Tridgell bee8e27f04 adc: allow "adc test" to read 10 values 2013-08-02 12:45:50 +02:00
px4dev feee1ccc65 Remove some timer reload events; these seem to break PWM output on IO. 2013-07-30 22:47:17 -07:00
px4dev 57cbf724f1 Fix the clock enable register for FMUv2 PWM outputs 1-4.
Teach the stm32 pwm driver about the MOE bit on advanced timers.
2013-07-29 23:13:46 -07:00
px4dev f5b91e109d More GPIO and general pin assignment fixes. 2013-07-10 23:50:37 -07:00
Julian Oes 88389ea255 Merge branch 'master' into new_state_machine
compiling again
Conflicts:
	src/modules/fixedwing_att_control/fixedwing_att_control_att.c
	src/modules/fixedwing_att_control/fixedwing_att_control_rate.c
	src/modules/fixedwing_pos_control/fixedwing_pos_control_main.c
	src/modules/mavlink/orb_listener.c
	src/modules/multirotor_att_control/multirotor_attitude_control.c
	src/modules/multirotor_att_control/multirotor_rate_control.c
	src/modules/systemlib/pid/pid.c
	src/modules/systemlib/pid/pid.h
	src/modules/uORB/objects_common.cpp
2013-07-08 10:31:32 +02:00
px4dev b4029dd824 Pull v2 pieces up to build with the merge 2013-07-07 17:53:55 -07:00
Julian Oes 2096da2d4d Don't interrupt a playing tune unless its a repeated one 2013-06-25 13:11:15 +02:00
px4dev 8eb4a03274 Use a better way of guessing whether we can use both-edges mode. 2013-06-12 23:58:22 -07:00
Lorenz Meier 4db739b5e1 Integration WIP with current NuttX version 2013-06-01 01:48:42 +02:00
px4dev dca844a808 Based on comments in:
http://answers.px4.ethz.ch/question/1337/px4io-receiver-connection-problem/?answer=1346#post-id-1346

increase the longest PPM pulse we recognize out to 550µs.
2013-05-23 09:27:57 +02:00
Lorenz Meier f57439b90e Moved all drivers to new world, PX4IO completely in new world 2013-04-28 01:30:14 +02:00