1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00
Commit graph

14581 commits

Author SHA1 Message Date
Petr Ledvina
7f3f53d880 Enable telemetry on SPARKY 2015-03-31 15:01:35 +02:00
Petr Ledvina
4c60f6c795 Fix 303 serial inversion and bidir mode
- USART_HalfDuplexCmd must be called only when USART is disabled
- input should be PullDown for inverted serial
- INVERTED BIDIR mode changed to GPIO_OType_PP (not opendrain) - opendrain won't work well for inverted serial; USART releases pin when transmission is done, so PP is OK
2015-03-31 15:01:28 +02:00
Per Magnus Auby
b83b9040f9 Updates sonar so that it can be used together with ADC current meter
Check if ADC current meter is enabled in sonarInit() and change
sonar pins to pwm 5 and 6 if it is. Same as when RX_PARALLEL is enabled.
2015-03-31 13:47:17 +02:00
Dominic Clifton
6e8d081c45 Updating Sparky board with a note regarding LED color differences
between Rev 1 & 2 boards.
2015-03-30 22:03:10 +01:00
Dominic Clifton
766b890896 Remove duplicate defines from SPRacingF3 target.h 2015-03-30 21:32:36 +01:00
Dominic Clifton
d33e4e6afd Merge branch 'Battery_monitoring' of git://github.com/MJ666/cleanflight into MJ666-Battery_monitoring 2015-03-30 19:44:33 +01:00
Dominic Clifton
80a6507649 Merge branch 'VCM_motor_stop_fix' of git://github.com/pinkywafer/cleanflight into pinkywafer-VCM_motor_stop_fix 2015-03-30 19:29:40 +01:00
Dominic Clifton
6922857db0 Merge pull request #683 from sherlockflight/flash-N25Q064
Add support for Micron N25Q064 64Mbit SPI flash
2015-03-30 11:35:42 +01:00
Dominic Clifton
20fd7b8491 Merge pull request #565 from mosh1/new_failsafe_defaults
Default failsafe enabled and throttle off when no valid PPM signal is se...
2015-03-30 11:15:25 +01:00
Nicholas Sherlock
7940ac2030 Blackbox: Don't log amperageADC when current meter is virtual
Closes #685
2015-03-30 20:34:36 +13:00
Nicholas Sherlock
85dc16f96d Add support for Micron N25Q064 64-mbit SPI flash 2015-03-30 18:17:56 +13:00
Nicholas Sherlock
01b811cd8c Add support for Winbond 64Mbit SPI flash chip 2015-03-30 12:04:41 +13:00
Dominic Clifton
f24782b961 Fix duplicate MSP codes. 2015-03-29 14:23:12 +01:00
Dominic Clifton
60835923c4 Use MSP command IDs in the correct assigned range for MSP_LOOPTIME and
MSP_ARMING_CONFIG.  Rename MSP_ARM_CONFIG to MSP_ARMING_CONFIG.
2015-03-28 20:30:15 +00:00
Dominic Clifton
c68d95dd7a Merge pull request #641 from tricopterY/patch-1
Added new MSP codes to serial_msp.c
2015-03-28 20:24:32 +00:00
Dominic Clifton
9837e6a202 Merge pull request #640 from sherlockflight/cli-whitespace
Ignore trailing spaces on CLI commands
2015-03-28 20:23:02 +00:00
Dominic Clifton
a6dc7148c4 Change Profile display page so things fit better. 2015-03-28 19:20:21 +00:00
Dominic Clifton
74c605ab9b Change Delta to 'Dt' on display so that larger delta times fit. 2015-03-28 19:16:51 +00:00
Dominic Clifton
01df0b65c2 Fix typos in comments. 2015-03-28 19:16:19 +00:00
Dominic Clifton
704ace82ec Reduce display update frequency to allow more CPU time for GPS frame
processing when unarmed.
2015-03-28 18:55:18 +00:00
Dominic Clifton
fa12c77d8c Merge branch 'fix-ppmrx-303' of git://github.com/ledvinap/cleanflight into ledvinap-fix-ppmrx-303 2015-03-26 19:08:27 +00:00
Petr Ledvina
68305a3929 Fix timer period on STM32F303 TIM2
TIM2 is 32bit itmer, but we want 16bit period ...
2015-03-26 18:17:21 +01:00
Petr Ledvina
a125228d1f Fix PPM in TIM1 2015-03-26 18:07:18 +01:00
Dominic Clifton
004dd0daaf Merge pull request #666 from nebbian/Bugfix-LuxFloat-IntegralTerm-a
^ Multiplying LuxFloat I term by ten to make it tuneable
2015-03-26 15:15:48 +00:00
Dominic Clifton
7a4add47d5 Merge pull request #675 from rimasaviz/strider-fix
fix for missing AUX1-4 signals on PWM5-8 outputs with LED_STRIP on NAZE
2015-03-26 15:11:04 +00:00
Dominic Clifton
507a022e90 Merge branch 'master' into serial-port-options 2015-03-26 01:32:06 +00:00
Dominic Clifton
ef50a0648f Allow spcification of flash size on command line. 2015-03-26 01:29:00 +00:00
Rimas Avizienis
56167eb0d2 workaround for AUX1-4 PWM signals missing on PWM5-8 outputs when LED_STRIP is enabled on NAZE32 2015-03-25 12:35:02 -07:00
Nicholas Sherlock
5edfdde942 Restore previous rate limit for yaw of 2.55
Since some people are indeed using yaw > 1.0.
2015-03-26 02:02:32 +13:00
Ben Hitchcock
9e842704c5 ^ Multiplying I term by ten to make it tuneable 2015-03-24 22:54:49 +08:00
Nicholas Sherlock
1b5571e268 Ignore trailing spaces on CLI commands 2015-03-24 01:13:26 +13:00
Dominic Clifton
35abdb89f5 Merge pull request #658 from sherlockflight/rate-limits
Apply the same maximum control rates (1.0) in CLI and MSP
2015-03-23 08:22:12 +00:00
Dominic Clifton
1de9fa4db6 SPRacingF3 - Add sonar support. 2015-03-22 20:55:27 +00:00
Dominic Clifton
07bcf204e1 STM32F3 - Add sonar support. 2015-03-22 20:55:02 +00:00
Dominic Clifton
413e0bde64 STM32F3 - Allow EXTI configuration. 2015-03-22 20:53:42 +00:00
Nicholas Sherlock
828ec550cd Apply the same maximum control rates (1.0) in CLI and MSP
Previously it was possible to set roll/pitch rate > 1.0 using MSP, but
not using the CLI. Roll/pitch rate > 1.0 is meaningless.

TPA is also limited to 1.0.
2015-03-22 20:38:15 +13:00
Dominic Clifton
4154afcb63 Adding a unit test for quad X motor mixers. 2015-03-21 11:30:03 +01:00
Dominic Clifton
730d0fe45c Ensure serial runtime data structures are set before they are used.
Fixes #636
2015-03-20 18:37:50 +01:00
Nicholas Sherlock
3c543d36c8 Change port mode MODE_BIDIR into a port option instead 2015-03-19 13:42:13 +13:00
Nicholas Sherlock
344e8fbf04 Make serial port option checks consistent 2015-03-19 12:56:11 +13:00
Nicholas Sherlock
159f57f583 Add new serial port options field (inversion, stop bits, etc) 2015-03-19 12:56:11 +13:00
Dominic Clifton
84c7c985ab First unit test for tricoper servo mixer. 2015-03-19 00:23:57 +01:00
tricopterY
330db9587b Added new MSP codes to serial_msp.c
New codes: MSP_SET_ARM_CONFIG, MSP_ARM_CONFIG, MSP_SET_LOOP_TIME, MSP_LOOP_TIME
Incremented minor version to 8.
2015-03-18 12:12:27 +11:00
Dominic Clifton
c1a0ae16b7 Make it easier to correlate the size for MSP_MISC against the serialized
values.
2015-03-18 00:15:23 +01:00
Dominic Clifton
03b1adb042 Add the more unit tests for the mixer.
Closes #16
2015-03-17 23:56:59 +01:00
Michael Jakob
5fccedd5f3 Deactivate BlackBox and GPS for ALIENWIIF3 2015-03-17 21:35:11 +01:00
Michael Jakob
0c0b2e8461 Enable battery monitoring for Sparky and ALIENWII F3 2015-03-17 21:35:10 +01:00
Nicholas Sherlock
3e8ce5833f Simplify blackbox header writing using new printf() 2015-03-17 22:52:05 +13:00
Nicholas Sherlock
bcadd0803a Merge pull request #624 from ledvinap/improvement-blackbox
Simplify Blackbox code by improving printf() and using that instead of longer more specialised code
2015-03-17 22:30:21 +13:00
Petr Ledvina
35ef95cec7 blackbox - support arrays greater that 10 elements / use printf to print numbers 2015-03-17 09:34:52 +01:00