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

5911 commits

Author SHA1 Message Date
Martin Budden
96e89d7788 Added big-endian support to sbuf and used it in CRSF 2017-03-29 16:18:28 +01:00
blckmn
293dc08de9 Init flash regardless 2017-03-28 21:38:29 +11:00
blckmn
c0d18280d5 Removed feature SDCARD and BLACKBOX
Now uses blackboxConfig()->device instead. Requires co-ordination with configurator.
2017-03-28 21:29:50 +11:00
Michael Keller
c059c9f64d Merge pull request #2754 from mikeller/make_direction_parameters_boolean
Changed direction parameters into boolean to ensure a direction is defined.
2017-03-28 23:08:27 +13:00
vgoodsun
e3869496e0 add board VGOODDHF4
add a board named VGOODDHF4 of being a variant of OMNIBUSF4
2017-03-28 16:35:55 +08:00
mikeller
84f1d7180f Fixed OMNIBUSF4 PPM input. 2017-03-28 15:23:08 +13:00
Michael Keller
d42e07d837 Merge pull request #2748 from toastedcornflakes/in-flight-strength-horizon
Adjustement for horizon strength
2017-03-28 14:41:04 +13:00
toastedcornflakes
bf798d0b45 Declare in scope 2017-03-28 00:54:26 +02:00
mikeller
bed980bb27 Changed direction parameters into boolean to ensure a direction is defined. 2017-03-27 21:21:01 +13:00
Michael Keller
380fa0e90e Merge pull request #2753 from jamming/master
Fix kakuteF4 DSHOT and SBUS issue.
2017-03-27 15:23:21 +13:00
jamming
5b5ea7ce9a changes log 2017-03-27 09:42:26 +08:00
toastedcornflakes
d4005e06f1 In flight adjustement for horizon strength 2017-03-26 17:06:05 +02:00
Martin Budden
d07e0c696e Fixed pin assignments 2017-03-26 10:10:11 +01:00
Martin Budden
9a3cad9ca3 Further work on gyro SPI selection 2017-03-26 10:10:10 +01:00
Martin Budden
60c2b812d1 Added runtime setting of gyro SPI pin 2017-03-26 07:43:51 +01:00
Martin Budden
1281d30eba Merge pull request #2692 from mikeller/make_yaw_control_inversion_boolean
Changed 'yaw_control_direction' into 'yaw_control_inverted' and made it a boolean, to get rid of the 'undefined' case 0.
2017-03-25 07:26:40 +00:00
Martin Budden
9d26a7d148 Merge pull request #2741 from martinbudden/bf_revo_tidy
Reordered acc and gyro defines in revo target.
2017-03-24 18:45:02 +00:00
Martin Budden
05bcf77d32 Merge pull request #2740 from unitware/bf-enable-sdcard-bb-on-spracingf3neo-by-default
Enable feature SDCARD by default on SpracingF3NEO
2017-03-24 18:39:51 +00:00
Martin Budden
263676d61b Reordered acc and gyro defines in revo target. 2017-03-24 16:49:03 +00:00
Magnus Ivarsson
2f6aa78c00 Enable feature SDCARD by default on SpracingF3NEO 2017-03-24 13:16:56 +01:00
mikeller
728adb3a86 Changed 'yaw_control_direction' into 'yaw_control_inverted' and made it a boolean, to get rid of the 'undefined' case 0. 2017-03-24 20:49:52 +13:00
mikeller
4d76bd8ea0 Made 'resetConfigs()' take 'targetConfiguration()' into account. 2017-03-24 03:05:18 +13:00
Michael Keller
6c115b4312 Fixed display of SERIAL resources in CLI. 2017-03-23 08:11:23 +13: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
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
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
Faduf
e666a1f1b1 Add OSD support to YuPiF4 target 2017-03-20 22:38:05 +01: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
DieHertz
530aa52977 Fixed Sonar Echo pin definition 2017-03-20 21:28:39 +03: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
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
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