Dominic Clifton
7efdcf13e3
Merge pull request #699 from pinkywafer/frsky_RPM_telemetry_fix
...
FrSky RPM Telemetry Motor_Stop Bugfix
2015-04-01 22:09:36 +01:00
Dominic Clifton
27ea92f36c
Merge pull request #690 from ledvinap/fix-sparky-smartport
...
Fix sparky smartport
2015-04-01 20:18:12 +01:00
Dominic Clifton
8a7edb17ed
Merge branch 'softserial-enabled' of git://github.com/sherlockflight/cleanflight-dev into sherlockflight-softserial-enabled
2015-04-01 20:06:08 +01:00
Dominic Clifton
09fe71c256
Removed unneeded check - gpio.h no-longer included by unit tests.
2015-04-01 17:47:43 +01:00
Dominic Clifton
de630fea17
SPARKY - Enable autotune
2015-04-01 17:25:46 +01:00
Dominic Clifton
08a3db00a5
Remove unused variable warning.
2015-04-01 14:12:31 +01:00
Dominic Clifton
b0b1eaf9c7
Add first unit test for some code in serial.c. Fix compiler warnings in
...
other tests.
2015-04-01 14:12:24 +01:00
Nicholas Sherlock
dce873434b
Use SERIAL_PORT_NONE identifier to mark ports which are unavailable
2015-04-02 01:55:13 +13:00
Nicholas Sherlock
86ddf27515
Don't allow softserial ports to be opened if softserial isn't enabled
2015-04-02 00:24:28 +13:00
pinkywafer
7220365575
RPM_Motor_Stop_Bugfix
...
using calculateThrottleStatus, send 0 as RPM when THROTTLE_LOW and
MOTOR_STOP
2015-03-31 19:06:15 +01:00
Petr Ledvina
3faa8a200b
Answer only on one SmartPort ID
...
Receiver polls all active IDs, then tries one inactive. Answering multiple IDs will starve other devices on bus and it will increase probability of address collision.
With 1 active address poll interval is ~24ms
2015-03-31 15:01:36 +02:00
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