1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 23:05:19 +03:00
Commit graph

7810 commits

Author SHA1 Message Date
Hydra
adaae967ef CF/BF - SPRACINGF3NEO - Add to official target list. 2017-03-20 21:19:01 +00:00
Hydra
6783122bea CF/BF - SPRACINGF3NEO - Fix incorrect LED strip output pin. Allow LED
and transponder even when DSHOT is compiled.

Enabling LED_STRIP and/or TRANSPONDER will break DSHOT on motor outputs
1 and 3.

Without DSHOT, LED_STRIP and TRANSPONDER work fine, at the same time.
2017-03-20 21:16:40 +00:00
Martin Budden
5a3bedccb2 Merge pull request #2710 from DieHertz/cli-resource-sonar-fix
Fixed Sonar Echo pin definition
2017-03-20 19:14:42 +00:00
DieHertz
530aa52977 Fixed Sonar Echo pin definition 2017-03-20 21:28:39 +03:00
Michael Keller
f557c90169 Merge pull request #2706 from mikeller/allow_explicit_arm_toolchain_path
Enabled setting of explicit ARM toolchain path in 'ARM_SDK_DIR'.
2017-03-21 00:22:01 +13:00
mikeller
55c0b622a4 Enabled setting of explicit ARM toolchain path in 'ARM_SDK_DIR'. 2017-03-20 23:13:13 +13:00
Dominic Clifton
adbd448c0d Merge pull request #2701 from betaflight/battery-cleanup-2
CF/BF - Include id and type in the voltage meter config subframe.
2017-03-19 20:06:20 +00:00
Hydra
067d9e619f CF/BF - Include id and type in the voltage meter config subframe.
It was supposed to be like this and now matches the current meter
config.
2017-03-19 18:25:26 +00:00
Michael Keller
a16991cb93 Merge pull request #2667 from flyinglemonfpv/master
Added PLUM F4 target
2017-03-20 01:53:52 +13:00
flyinglemonfpv
47f4d815a2 Removed PLUMF4 as separate target, added PLUMF4 variant to KIWIF4. 2017-03-19 13:37:56 +01:00
flyinglemonfpv
31cd33a58e Added PLUM F4 target 2017-03-19 13:37:56 +01:00
Michael Keller
9204adc5a7 Merge pull request #2665 from mluessi/ml_fix_io_init
IO: Handle NONE (NULL) io pin
2017-03-20 00:28:32 +13:00
Dominic Clifton
7edb599296 Merge pull request #2699 from betaflight/battery-cleanup
Battery cleanup
2017-03-19 11:27:32 +00:00
Hydra
bc0a0a0eda OMNIBUSF3 - disable TELEMETRY_HOTT due to flash size. 2017-03-19 10:40:28 +00:00
Hydra
b473ebf0d0 CF/BF - reduce flash usage by allowing blackbox that match other strings
to
be-duplicated by the linker.
2017-03-19 10:40:27 +00:00
Hydra
31dc531ca0 CF/BF - add cli diff support for voltage and current sensors. 2017-03-19 10:40:26 +00:00
Hydra
4554019c52 CF/BF - fix naming of currentMeterVirtualState_t 2017-03-19 10:40:25 +00:00
Hydra
abb6eb5b54 CF/BF - remove dependency on scheduler from battery.c by using local state. 2017-03-19 10:40:24 +00:00
Hydra
8e6c7fb9e3 CF/BF - remove the " " character in front of "LAND NOW" and replace with an
offset variable.

Code size is identical on SPRacingF3NEO.
2017-03-19 10:40:23 +00:00
Hydra
709cd9f8df CF/BF - reduce code size by changing dependencies in battery.c and removing two
functions from fc_tasks.c

I don't like the dependency changes, but I'm not overly concerned by
them.
2017-03-19 10:40:22 +00:00
Hydra
486b5a1b9a CF/BF - clarify voltage/sensors terminology. 2017-03-19 10:40:21 +00:00
Hydra
01732f4523 CF/BF - improve const correctness by declaring iBatSample as const. 2017-03-19 10:40:20 +00:00
Hydra
9482a12677 CF/BF - declare variable at point of first usage (code style) 2017-03-19 10:40:19 +00:00
Hydra
85b05d3483 CF/BF - rearrange the values in batteryConfig_t to reduce PG size. 2017-03-19 10:40:18 +00:00
Hydra
8145dfba0c CF/BF - remove not operator to improve readability. 2017-03-19 10:40:17 +00:00
Hydra
c0c6450e61 CF/BF - use one task for each battery sensor. 2017-03-19 10:40:16 +00:00
Hydra
d331ceff0b CF/BF - replace magic numbers for subframe lengths. 2017-03-19 10:40:15 +00:00
Hydra
382ef9de68 CF/BF - remove unneeded braces in MSP_ANALOG 2017-03-19 10:40:14 +00:00
Hydra
c59e7312c2 CF/BF - move target specific current sensor configuration for BETAFLIGHTF3 and
PIKOBLX.  Since there is nothing else to configure in the corresponding
config.c files they were deleted too.
2017-03-19 10:40:13 +00:00
Hydra
1cd4227823 CF/BF - separate the virtual and adc current sensor configuration.
update the MSP configuration of current and voltage sensors to use IDs.

revert the i2s_bst changes, since TBS won't be updating their firmware
there is no point adding new features to it, we just need to keep it
compatible
2017-03-19 10:40:12 +00:00
Hydra
2f99749003 CF/BF - add support for reading all voltage and current meters via MSP.
Refactored current meter API and state, now it's more closely aligned
with the the voltage meter API.
2017-03-19 10:40:11 +00:00
Hydra
b0c49caa3d CF/BF - update MSP_BATTERY_STATE based on feedback. 2017-03-19 10:40:10 +00:00
Hydra
249c707beb CF/BF - rename adcConfig.currentMeter to adcConfig.current 2017-03-19 10:40:09 +00:00
Hydra
dbd819c85a CF/BF - move adc current sensor default scale and offset to target.h instead of
target specific config.c
2017-03-19 10:40:08 +00:00
Hydra
f3e740c598 CF/BF - refactor voltage refresh/read api. update voltage/current msp code
msp code is still unfinished, but the plan is clearer now.

move some defaults from battery.h and allow targets to override them.

define ID's for all voltage and current sensors, the idea being a list
of ids wil lbe created for each build which will allow all the voltage
and current meters to be exposed via MSP.
2017-03-19 10:40:07 +00:00
Hydra
089042e136 CF/BF - fix OSD battery warning when there is no warning to display. 2017-03-19 10:40:06 +00:00
Hydra
15241b1955 CF/BF - cleanup notes regarding the design choices that were made regarding
MSP_VOLTAGE_METER_CONFIG/MSP_CURRENT_METER_CONFIG.
2017-03-19 10:40:05 +00:00
Hydra
c6d1148134 CF/BF - delete legacy multiwiiCurrentMeterOutput setting. 2017-03-19 10:40:04 +00:00
Hydra
067d3c0ac2 CF/BF - First cut of Current/Voltage/Battery cleanup.
many refactorings, bugs squished, concerns separated,
single-responsibility violations fixed and performance optimizations.
2017-03-19 10:40:03 +00:00
mikeller
b46e0fe46d Added CL_RACINGF4 target, based on #2671. 2017-03-19 10:40:02 +00:00
Cheng Lin
ae58a07f2a add CL_RACINGF4 TARGET 2017-03-19 10:40:01 +00:00
mikeller
4af589f9fd Fixed warning about unused parameter 'softserialEnabled'. 2017-03-19 10:40:00 +00:00
Dominic Clifton
3c885349c6 Merge pull request #2697 from betaflight/osd-improvements
Osd improvements
2017-03-19 10:37:50 +00:00
Hydra
e37944ba7b CF/BF - OSD - Nudge craft name over by one character to align with
flight mode.
2017-03-19 10:36:24 +00:00
Hydra
4c517a56ea CF/BF - OSD - Change the default OSD unit to metric since there are
missing calculations for GPS_speed, better to have everything in the
same units than a mix.
2017-03-19 10:36:23 +00:00
Hydra
636c194aea CF/BF - OSD - Show symbol for GPS speed to better align with altitude
display on OSD.  Name and extract the duplicated GPS_speed equation - in
CM/S to KM/H.
2017-03-19 10:36:22 +00:00
Hydra
c40c507f1b CF/BF - OSD - Use m/s as the GPS speed unit, there is currently no
imperial conversion.
2017-03-19 10:36:21 +00:00
Hydra
c8888ad6bd CF/BF - OSD - Show VTX channel/band hardware RTC6705 users (e.g.
SPRacingF3NEO/SINGULARITY)
2017-03-19 10:36:20 +00:00
Hydra
e1ac5b82df CF/BF - OSD - use a strict mask to prevent invalid OSD positions values from
being created.
2017-03-19 10:36:19 +00:00
Hydra
d91987c287 CF/BF - OSD - Use a default OSD layout that has no overlapping elements.
Note: We give the users all the information, and let them turn off what they don't need.  In testing it was found that if we hide the information some users will never know it's there.
2017-03-19 10:36:18 +00:00