TheAngularity
09cbca2a02
align_board_xxx - only positive values allowed
...
fixed #2866
2017-04-13 12:35:07 +02:00
Sean Kelly
af06c36515
Adding target for Crazyflie 2.0 Nanocopter
...
- STM32F4-based flight controller
- Onboard NRF51 soc with custom serial rx protocol (Bluetooth or ESB)
Two general changes to Betaflight included:
- Ability to customize MPU I2C address in target.h (MPU6500's address
can be changed in hardware by holding a pin high)
- Addition of a target-specific serial type. Targets must opt-in in
their target.h and provide an implementation of the interface to
convert their custom Rx protocol into RawRC for Betaflight
2017-04-12 15:17:32 -07:00
Martin Budden
6f6224cfc3
Improved efficiency of scheduler
2017-04-12 22:47:28 +01:00
Sami Korhonen
cf7fc75290
F7 fix N channel pwm and dshot output
2017-04-12 20:50:45 +03:00
Martin Budden
996e8b31d9
Merge pull request #2782 from martinbudden/bf_osd_debug
...
Added debug fields to OSD
2017-04-12 17:18:18 +01:00
Sami Korhonen
33926aef63
F7 timer dma def bugfix and cleanup
2017-04-12 18:08:53 +03:00
ethomas999
8167892604
Added horizon_tilt_effect command
...
and horizon_tilt_expert_mode command.
Modified 'calcHorizonLevelStrength()' function.
Changed 'd_level' (D8[PIDLEVEL]) default from 100 to 75
Added horizon static float vars
2017-04-12 10:41:54 -04:00
Martin Budden
2493c214b0
Created subdirectories in drivers directory
2017-04-12 08:06:22 +01:00
Martin Budden
a9bb3fb8f6
Merge pull request #2783 from martinbudden/mb_crash_recovery
...
Added experimental crash detection and recovery
2017-04-12 07:57:52 +01:00
Hydra
3d1e755d66
CF/BF - Temporarily disable virtual current meter on NAZE32.
2017-04-12 00:39:27 +01:00
Hydra
17a430e5f9
CF/BF - Fix missing #ifdef around the virtual current meter settings.
2017-04-12 00:39:27 +01:00
Hydra
be063ebbbf
CF/BF - Remove usage of USE_FC based on PR discussion decisions. Add
...
USE_VIRTUAL_CURRENT_METER.
2017-04-12 00:39:27 +01:00
Hydra
b4dc3b53f5
CF/BF - Fix more compiler warnings.
2017-04-12 00:39:27 +01:00
Hydra
cb34c5b1d7
CF/BF - Further reduce osd slave dependencies on FC code.
2017-04-12 00:39:27 +01:00
Hydra
a140aea013
CF/BF - NAZE fix compiler warnings.
2017-04-12 00:39:27 +01:00
Hydra
c693f25052
CF/BF - Reduce osd slave dependencies on FC code.
2017-04-12 00:39:27 +01:00
Hydra
2b1dac4c6d
CF/BF - First cut of allow building of the OSD SLAVE board without all
...
the flight controller code.
Likely the dependencies can be further improved. This is a
minimal-impact solution while there are a lot of other Betaflight PR's
still pending.
2017-04-12 00:39:27 +01:00
Hydra
2ec39de031
CF/BF - Fix compilation of transponder when not using DHSOT or LED_STRIP
2017-04-12 00:37:23 +01:00
Martin Budden
1dc5f88820
Added crash detection and recovery
2017-04-11 22:58:18 +01:00
Martin Budden
37c9d3c47e
Improved ITerm windup handling for tricopter
2017-04-11 22:50:03 +01:00
Martin Budden
d0475a6987
Merge pull request #2761 from martinbudden/bf_exti_pin
...
Improved EXTI pin handling
2017-04-11 22:32:52 +01:00
Martin Budden
cf781ba825
Merge pull request #2863 from martinbudden/bf_simulator_tidy
...
Code tidy
2017-04-11 22:25:26 +01:00
Martin Budden
63b7f18a00
Merge pull request #2649 from martinbudden/bf_cli_sensors
...
Optimised sensor lookup tables in cli to save ROM
2017-04-11 22:23:36 +01:00
Martin Budden
152c594151
Code tidy
2017-04-11 19:05:54 +01:00
Martin Budden
3a672c82e8
Merge pull request #2849 from martinbudden/bf_fake_accgyro_locks
...
Added locking to fake gyro and acc
2017-04-11 19:05:00 +01:00
Michael Keller
d4167a03df
Merge pull request #2855 from Faduf/master
...
I2C support removed and non used defined removed
2017-04-11 21:10:45 +12:00
Michael Keller
2302d30c14
Merge pull request #2858 from flyinglemonfpv/master
...
Fixed KIWI V2 LED strip issue
2017-04-11 10:24:01 +12:00
MARTINKOWALSKY\Martin Kowalsky
f8ea32d981
Fixed KIWI V2 LED strip issue
2017-04-11 00:11:58 +02:00
Michael Jakob
4e38437d11
STM32F722 UID fix
2017-04-10 23:47:02 +02:00
Faduf
aa827b6378
I2C support removed and non used defined removed
2017-04-10 19:16:55 +02:00
Martin Budden
0219d6adc7
Updated accgyro locking. Printf tidy
2017-04-10 14:54:25 +01:00
Martin Budden
8eebf06753
Added locking to fake gyro and acc
2017-04-10 14:39:10 +01:00
Michael Keller
e66b74579b
Changed CLI variables to use a union. Some build fixes.
2017-04-10 19:12:41 +12:00
Michael Keller
9c29475ba4
Changed float parameters to int16 in 'cli.c'.
...
Fixed buffer length used for 'ftoa'.
Got rid of magic numbers, replaced 'digitalIdlePercent' with 'digitalIdleValue'.
2017-04-10 13:11:01 +12:00
Michael Keller
ce8c5fbd79
Merge pull request #2760 from mikeller/reworked_altitude_estimation
...
Reworked altitude estimation. Made it work when ACC is disabled.
2017-04-10 13:00:16 +12:00
Michael Keller
572c5762d5
Merge pull request #2847 from wind0r/clean_cli
...
remove double featureConfigCopy
2017-04-10 11:50:16 +12:00
Michael Keller
396388bf84
Updated / simplified some calculations.
2017-04-10 10:57:19 +12:00
Michael Keller
9204d0a34e
Fixed conditionals for SPEKTRUM_BIND_PIN.
2017-04-10 09:55:40 +12:00
Steffen Windoffer
9955271e3c
remove double featureConfigCopy
2017-04-09 20:22:48 +02:00
Hydra
9bb0e30f1f
CF/BF - Reinstate boardType from CF v1.x to allow detection of OSD slave
...
boards by the configurator.
2017-04-09 14:17:59 +01:00
Hydra
0f7a986003
CF/BF - Allow OSD slave to be configured.
...
This highlights the face that MSP_SET_OSD_CONFIG is ill-conceived. See
Cleanflight v1.x where multiple commands are used - one for video config
and one for element config.
In light of other recent changes it's possible a 3rd command is needed,
for unit selection and alarms.
2017-04-09 14:17:58 +01:00
Hydra
ba75dc4f1d
CF/BF - SPRacingF3OSD - Allow cli and bootloader again.
2017-04-09 14:17:58 +01:00
Hydra
b307007ac3
CF/BF - Improve performance of mspSerialPush / MSP_DISPLAYPORT.
...
* avoiding the use of an unncessesary buffer and memcopy
* the `pushBuf` was a fixed size
* the size didn't correlate to the size of the buffer being passed in.
* avoids repeating the memcpy for each port being used for MSP.
* reduces ram usage.
2017-04-09 14:17:58 +01:00
Hydra
ca5bafeab9
CF/BF - SPRACINGF3OSD initial target support inc support for OSD SLAVE via MSP_DISPLAYPORT.
...
OSD is tested and working on an SPRACINGF3EVO stacked with an SPRACINGF3OSD.
2017-04-09 14:17:17 +01:00
Hydra
73e46e9050
CF/BF - fix CMS compilation when blackbox is disabled.
2017-04-09 14:11:56 +01:00
Hydra
722523df31
CF/BF - Allow OSD to be compiled without blackbox.
2017-04-09 13:48:47 +01:00
Hydra
4653cfd4ad
CF/BF - Reduce flash usage by re-using a couple of strings.
2017-04-09 13:48:19 +01:00
Hydra
18454ad705
CF/BF - Reduce flash usage by cleaning up serializeBoxNamesReply.
2017-04-09 13:48:19 +01:00
Hydra
297f362257
CF/BF - Reduce flash usage of cliSerialPassthrough.
...
Minimize string duplication, be less verbose, use shorter words, avoid
duplicate id parameter code.
2017-04-09 13:48:04 +01:00
Michael Keller
53edcba0d8
Merge pull request #2841 from cs8425/SITL-fix
...
SITL: some fix & should be usable
2017-04-09 23:08:19 +12:00