1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00
Commit graph

264 commits

Author SHA1 Message Date
Martin Budden
cfc87d1891 Better separation between GPS and NAV 2017-11-18 08:00:31 +00:00
Martin Budden
1ae797f12f Fixed cpu overclock in systemConfig 2017-11-18 05:44:00 +00:00
Michael Keller
037313f995
Merge pull request #3898 from jflyper/bfdev-configurable-adc
Configurable ADC
2017-11-07 22:39:18 +13:00
jflyper
7a57468c8c Configurable ADC 2017-11-07 17:50:45 +09:00
mikeller
b78d8ad83e Converted more 'feature' type defines to use the 'USE_<x>' convention: LED_STRIP TARGET_CONFIG BRUSHED_ESC_AUTODETECT SERIAL_RX TELEMETRY TELEMETRY_CRSF TELEMETRY_FRSKY TELEMETRY_HOTT TELEMETRY_IBUS TELEMETRY_JETIEXBUS TELEMETRY_LTM TELEMETRY_MAVLINK TELEMETRY_SMARTPORT TELEMETRY_SRXL TELEMETRY_NRF24_LTM TELEMETRY_LTM SPEKTRUM_BIND NAV BUTTONS 2017-11-07 18:49:12 +13:00
mikeller
1ff9c27314 Fixed 'ifndef' cases for change to 'USE_<x>'. 2017-11-05 22:49:56 +13:00
mikeller
a8d34dabb0 Changed defines for GYRO/ACC/MAG/BARO/GPS/SONAR/OSD/BLACKBOX/CMS to conform to the USE_ convention. 2017-11-05 10:15:24 +13:00
cs8425
800fc570d3 fix-use-before-initiated 2017-10-31 21:53:43 +08:00
Martin Budden
a983f4b325 Tidy use of USE_OSD_SLAVE 2017-10-09 13:30:26 +01:00
Martin Budden
33ecfb5735 Tidy of initialisation (#4229) 2017-09-25 12:12:27 +01:00
Martin Budden
db8698d801 Improved initialisation order. Stopped calling pidInit before gyro detected (#4218) 2017-09-25 05:15:45 +01:00
mikeller
8ff2c9ba95 Renamed 'DSHOT_CMD_BEEPx' to 'DSHOT_CMD_BEACONx', made beacon tone
configurable.
2017-09-19 23:24:24 +12:00
Martin Budden
2f674972e3 Merge pull request #4087 from martinbudden/bf_pg_versions
Update PG version numbers
2017-09-07 21:49:57 +01:00
Martin Budden
c97c8998b1 Update PG version numbers 2017-09-07 21:35:37 +01:00
brianlbalogh
b295a159b0 Add gyro rates and configurable FSR for ICM20649 (#4077) 2017-09-07 14:05:11 +01:00
mikeller
79f0e6dd1f Fixed checking of PID loop timing. 2017-08-27 10:16:23 +12:00
atomiclama
d4c2bfaa04 Validate Features and clear if not supported.
As a follow on from #3945 this PR now validates the rest of the
features. Some features are not always supported so will be missing from
the validation.
2017-08-25 11:51:15 +01:00
atomiclama
5fc80e3320 clear the DYNAMIC_FILTER if not enabled in code. 2017-08-24 15:33:37 +01:00
Dan Nixon
0c0483d020 Add configurable boot grace time
This guards against the case when the RX takes longer to obtain a valid
link than the gyro takes to calibrate (previously this delay is all that
stopped immediate arming).
2017-08-13 13:17:25 +01:00
Martin Budden
202b820551 Merge pull request #3693 from DanNixon/dshot_beeper_config
Allow toggling of the DShot beeper
2017-08-12 07:41:43 +01:00
Steffen Windoffer
25e9270395 remove unused gyro isr setting 2017-08-10 12:21:13 +02:00
J Blackman
ac2026be6f Merge pull request #3748 from martinbudden/bf_sdcard_dma
Change SD card use DMA default to false
2017-08-09 17:41:10 +10:00
jflyper
ab31cc2667 Remove unused resetSonarConfig and add default pin (NONE) 2017-08-08 09:18:27 +09:00
Martin Budden
4921540790 Change SD card use DMA default to false 2017-08-04 09:10:04 +01:00
Dan Nixon
9053a28de3 Allow toggling of the DShot beeper 2017-08-01 08:19:32 +01:00
jflyper
94e3273415 Merge pull request #3590 from martinbudden/bf_flash_config
Configurable FLASH
2017-07-30 19:01:26 +09:00
blckmn
7a5d1d9b8e Moving boardIdentifier out of config header and into systemConfig (for generic targets) 2017-07-25 09:05:12 +10:00
Martin Budden
9fe0e9eb2a Configurable FLASH 2017-07-21 17:18:51 +01:00
Dan Nixon
e0ebee168a Remove the ability to disable stage 2 failsafe 2017-07-19 09:47:09 +01:00
Martin Budden
3d4f0bb137 Whitespace tidy 2017-07-05 06:36:22 +01:00
Faduf
1c2eb3f731 Add F4 overclock possibility
F4 overclock activation via CLI and not automaticaly when Gyro 32k is activated

Add condition in target file to alow overclock

Replace ALLOW_OVERCLOCK by DISABLE_OVERCLOCK

Remanant flag and soft reboot for overclocking
2017-07-03 21:42:45 +02:00
borisbstyle
98b301f1e8 Merge pull request #3302 from blckmn/config_led
Making status LEDs configurable.
2017-06-19 08:19:06 +02:00
Dominic Clifton
db006b1585 Merge pull request #2856 from ledvinap/improvement-64bit-boxid
array based box masks
2017-06-19 13:31:08 +12:00
blckmn
0752a301b5 Moving config for Status Leds 2017-06-17 19:20:10 +10:00
blckmn
1bc421133e Reset all target definitions to use LEDx_PIN for clarity. 2017-06-17 16:56:35 +10:00
blckmn
daa0afcd39 Initial making of LEDs configurable 2017-06-17 16:47:38 +10:00
mikeller
774cae215c Removed support for profile handling in parameter groups. 2017-06-15 03:11:02 +12:00
Dominic Clifton
a72f98e4f3 Merge pull request #2841 from McGiverGim/fix-compile-issues-ifndef-USE_SERVOS
Fix compiles issues when not defined USE_SERVOS
2017-06-05 09:51:36 +12:00
Michael Keller
671d453709 Merge pull request #3097 from jflyper/bfdev-uart-refactor-and-configurable
UART refactor and configurable
2017-06-05 08:35:29 +12:00
jflyper
0b1383a730 Refactored the validation code
- The check is active regardless of the USE_UNCOMMON_MIXER to detect
unsupported/insufficiently supported mixers.
- Custom mixers always pass the check.
- Mixer mode resets to MIXER_CUSTOM if motorCount != 0 but motor array
is NULL.
- Mixer mode resets to MIXER_CUSTOM_AIRPLANE if useServo but servo
count is zero.
2017-06-01 00:30:04 +09:00
jflyper
7403576a15 Reserve MIXER_GIMBAL and MIXER_PPM_TO_SERVO 2017-05-29 18:37:48 +09:00
jflyper
5af12d40b8 Avoid MIXER_CUSTOM, MIXER_CUSTOM_AIRPLANE and MIXER_CUSTOM_TRI from resetting into MIXER_CUSTOM 2017-05-29 15:38:33 +09:00
jflyper
93d554516a Omit special case of USE_OSD_SLAVE and USE_QUAD_MIXER_ONLY 2017-05-29 13:30:21 +09:00
jflyper
ba99a372a1 Reset mixer to MIXER_CUSTOM if configured mixer is not supported 2017-05-29 12:13:33 +09:00
jflyper
fdfe9e8af3 Configurable UART 2017-05-24 11:49:21 +09:00
jflyper
4b80bceb1f Rebased on to master 2017-05-07 22:26:47 +09:00
jflyper
34ac92c1de Prepare for #3015 merge 2017-05-07 22:23:29 +09:00
Martin Budden
3840be09a7 Altitude tidy 2017-05-06 10:29:37 +01:00
jflyper
9461672b46 Make inverter resource configurable
Add XXX comment about inverterConfig size

Fixed non-USE_INVERTER case

Moved inverter pin to serialPinConfig_t

Various improvements

Per @ledvinap ’s comments.

Only include "drivers/serial.h" from inverter.h

SERIAL_PORT_UART{4,5}, not _USART{4,5}

Dah!

Avoid magic number

Prepare for SERIAL_PORT_IDENTIFIER_TO_INDEX change (#3015)
2017-05-05 02:34:50 +09:00
jflyper
d4a2c23fe3 Fix semantically incorrect macro name
Also fixes semantically incorrect resource index calculation in
serial_softserial.c.
2017-05-04 21:33:35 +09:00