1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00
Commit graph

8014 commits

Author SHA1 Message Date
Michael Keller
e59b48cf6b Merge pull request #2734 from mikeller/fixed_target_configuration
Made 'resetConfigs()' take 'targetConfiguration()' into account.
2017-03-24 13:41:19 +13:00
mikeller
4d76bd8ea0 Made 'resetConfigs()' take 'targetConfiguration()' into account. 2017-03-24 03:05:18 +13:00
Anders Höglund
e4020d9e99 Merge pull request #2724 from unitware/bf-fix-broken-travis-target-build
Fix issue #2708, travis did not fail if build TARGET=.. failed.
2017-03-23 12:26:10 +01:00
Magnus Ivarsson
b703bcef5a Fix issue #2707, travis did not fail if build TARGET=.. failed. 2017-03-23 12:09:08 +01:00
borisbstyle
53bd377742 Experimental throttle to Iterm coupling 2017-03-23 01:41:20 +01:00
borisbstyle
00ec17b6a3 Disable Airmode fully when airmode not active // Adjust default setpoints / pids 2017-03-22 23:40:24 +01:00
Martin Budden
95f4b80c89 Merge pull request #2730 from mikeller/fixed_serial_resource_display
Fixed display of SERIAL resources in CLI.
2017-03-22 21:38:13 +00:00
Michael Keller
6c115b4312 Fixed display of SERIAL resources in CLI. 2017-03-23 08:11:23 +13:00
borisbstyle
c11ffa3101 Merge pull request #2725 from mikeller/reinstate_bf_msp_commands
Reinstated 'MSP_BF_CONFIG' / 'MSP_SET_BF_CONFIG' as workaround to make it work with Betaflight configurator.
2017-03-22 14:23:17 +01:00
Anders Höglund
efd60180fc Merge pull request #2723 from unitware/bf-speedup-travis-build
Speedup build by grouping the builds in a few groups to be run in par…
2017-03-22 12:44:57 +01:00
mikeller
11459f7bb9 Reinstated 'MSP_BF_CONFIG' / 'MSP_SET_BF_CONFIG' as workaround to make it work with Betaflight configurator. 2017-03-23 00:17:11 +13:00
Magnus Ivarsson
6622b36af8 Speedup build by grouping the builds in a few groups to be run in parallell 2017-03-22 12:05:40 +01:00
Michael Keller
2d90c27b0d Merge pull request #2715 from martinbudden/bf_blackbox_align
Aligned blackbox header strings with CLI
2017-03-22 14:21:59 +13:00
Michael Keller
b55b46a2b5 Merge pull request #2716 from betaflight/remove-msp-cruft
Remove msp/bst cruft
2017-03-22 11:12:19 +13:00
Hydra
a45e974c38 CF/BF - Restore BST_API_VERSION and BST_BUILD_INFO based on updated
requirements from TBS engineers.

Larry Ho: "
BST_MAG_CALIBRATION,
BST_ACC_CALIBRATION,
BST_SET_PID,
BST_SET_RC_TUNING,
BST_SET_LOOP_TIME,
BST_SELECT_SETTING,
BST_SET_RX_MAP,
BST_SET_MISC,
BST_SET_DEADBAND,
BST_SET_FC_FILTERS,
BST_SET_FEATURE,
BST_SET_RX_CONFIG,
BST_SET_MODE_RANGE,
BST_SET_LED_COLORS,
BST_SET_LED_STRIP_CONFIG,
BST_EEPROM_WRITE,
BST_REBOOT,
BST_DISARM,
BST_ENABLE_ARM,

BST_PID,
BST_STATUS,
BST_RC_TUNING,
BST_LOOP_TIME,
BST_RX_MAP,
BST_MISC,
BST_DEADBAND,
BST_FC_FILTERS,
BST_FEATURE,
BST_RX_CONFIG,
BST_LED_COLORS,
BST_LED_STRIP_CONFIG,
BST_API_VERSION"

There was a required to keep `BST_BF_BUILD_INFO`, which is not on the
list above, but has been deprecated for ages.  Since it was never used
we will keep the replacement `BS_BUILD_INFO` instead.

Dominic Clifton: "I will keep BST_BUILD_INFO and BST_API_VERSION and all
the ones on your list above."
2017-03-21 21:40:51 +00:00
Hydra
5ab2117a69 CF/BF - Further isolate BST to the Colibri_Race target. Remove even
more unused code.

It was partly isolated before, but now it's even clearer that only this
target uses it.
2017-03-21 21:17:40 +00:00
Hydra
a60a79eb82 CF/BF - Delete unused BST code.
"[20/03/2017, 13:46:12] Remo Masina: This is a list of al the frames we
currently use:

BST_MAG_CALIBRATION,
BST_ACC_CALIBRATION,
BST_SET_PID,
BST_SET_RC_TUNING,
BST_SET_LOOP_TIME,
BST_SELECT_SETTING,
BST_SET_RX_MAP,
BST_SET_MISC,
BST_SET_DEADBAND,
BST_SET_FC_FILTERS,
BST_SET_FEATURE,
BST_SET_RX_CONFIG,
BST_SET_MODE_RANGE,
BST_SET_LED_COLORS,
BST_EEPROM_WRITE,
BST_REBOOT,
BST_DISARM,
BST_ENABLE_ARM,

BST_PID,
BST_STATUS,
BST_RC_TUNING,
BST_LOOP_TIME,
BST_RX_MAP,
BST_MISC,
BST_DEADBAND,
BST_FC_FILTERS,
BST_FEATURE,
BST_RX_CONFIG"

See here:
https://github.com/cleanflight/cleanflight/pull/2664#issuecomment-287764706
2017-03-21 21:17:33 +00:00
Hydra
1c33cb1cf2 CF/BF - Rename MSP_BOARD_ALIGNMENT to MSP_BOARD_ALIGNMENT_CONFIG 2017-03-21 21:17:25 +00:00
Hydra
601b302c5b CF/BF - Rename MSP_3D to MSP_MOTOR_3D_CONFIG.
now it's really obvious that 3d throttle deadband really doesn't belong
in it.  If you need 3D specific ESC/MOTOR configuration use this.  If yo
need specific 3D RX configuration use other commands like
MSP_RC_DEADBAND, etc.
2017-03-21 21:17:17 +00:00
Hydra
5d602d69ff CF/BF - Delete old/unused MSP commands. Cleaning MSP naming a little.
The commands that are deleted have been deprecated for a LONG time.
They have long been superceed with more specific commands.

Fix voltage meter config to include id and type in the subframe.
2017-03-21 21:17:06 +00:00
Hydra
e9aaa4387e CF/BF - Remove RX_MSP from Colibri race target. 2017-03-21 21:16:53 +00:00
Hydra
e7cbfcc8c0 CF/BF - Delete BST_SET_RAW_RC - it was missing a break statement and
thus was clearly unused.
2017-03-21 21:16:43 +00:00
Hydra
f4ff951813 CF/BF - delete some unused code from BST. 2017-03-21 21:16:33 +00:00
Martin Budden
9186551bf4 Aligned blackbox header strings with CLI 2017-03-21 08:16:21 +00:00
Martin Budden
5e27ece09f Merge pull request #2712 from Faduf/master
Add OSD support to YuPiF4 target
2017-03-21 04:47:21 +00:00
Martin Budden
ef9cdf4b3e Merge pull request #2711 from betaflight/spracingf3neo-fix-1
CF/BF - SPRACINGF3NEO - Fix incorrect LED strip output pin.
2017-03-21 04:40:08 +00:00
Faduf
e666a1f1b1 Add OSD support to YuPiF4 target 2017-03-20 22:38:05 +01:00
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