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

403 commits

Author SHA1 Message Date
borisbstyle
61cddacd5c Merge pull request #1835 from martinbudden/bf_config_pid
Separated out pidConfig_t items
2016-12-16 12:59:01 +01:00
Martin Budden
d72b4e96c9 Separated out pidConfig_t items 2016-12-15 09:12:42 +00:00
Michael Jakob
07f7b20aec Move Brushed ESC auto detection into seperate source files
pwm_output.c and pwm_output_hal.c are used aternativly
2016-12-14 20:43:14 +01:00
Martin Budden
1f04d7343a Merge pull request #1774 from AlienWiiBF/Brushed_ESC_detect
Generalize brushed ESC auto detection
2016-12-11 11:54:35 +01:00
Martin Budden
87319103ae Merge pull request #1745 from blckmn/main_no_target
Main no target
2016-12-11 11:53:25 +01:00
Michael Jakob
fcb3ebf066 Change button code For SPRACINGF3MINI and OMNIBUS targets to new IO 2016-12-10 23:14:33 +01:00
Michael Jakob
590b01a77e Generalize brushed ESC auto detection
Used for all AlienFlight and SPRACINGF3EVO targets
2016-12-10 23:14:32 +01:00
blckmn
f7518203aa Initial rework - removing target specific code from main.c
Moved FLASH to masterConfig
Moved LED (named statusLeds) to masterConfig
Fixed up some targets to remove defines from main.c
2016-12-10 10:35:17 +11:00
Bas Delfos
b53cbbefc3 Moved ESC telemetry to sensors 2016-12-08 21:19:23 +01:00
Martin Budden
06e871406e Moved xx_hardware out of sensorSelectionConfig into config for specific sensor 2016-12-05 06:49:14 +00:00
Martin Budden
60e2227396 Moved alignment from sensor into device 2016-12-05 06:49:14 +00:00
Martin Budden
4498f58918 Added osdProfile, vcdProfile, sdcard, and blackbox config macros 2016-11-30 23:43:10 +00:00
Martin Budden
57a9393f5f Added adc, beeper, sonar, and ledStrip config() macros 2016-11-30 23:37:23 +00:00
Martin Budden
c175d304c2 Added rx, arming, mixer, and airplane config() macros 2016-11-30 23:06:42 +00:00
Martin Budden
b19e439361 Merge pull request #1707 from betaflight/pid_config_init
Add PID config initialisation
2016-11-30 23:10:25 +01:00
Martin Budden
3ec46f1bd2 Added gyro, compass, acc, and baro config macros 2016-11-30 21:38:14 +00:00
borisbstyle
4a0f678dec Add PID config initialisation 2016-11-30 21:16:49 +01:00
Martin Budden
dc9e773b02 Added flight3DConfig() macro 2016-11-30 11:46:20 +00:00
Martin Budden
6ccf11d518 Added motorConfig() macro 2016-11-30 11:44:29 +00:00
Martin Budden
78e6130aab Moved further gyro parameters into gyroConfig_t 2016-11-25 23:22:24 +00:00
Martin Budden
747649ce3a Fixed build when SONAR undefined 2016-11-25 23:22:23 +00:00
Martin Budden
e9407f3065 Tidied initialisation, especially PID filters 2016-11-25 23:22:23 +00:00
Martin Budden
d85eed0933 Move freestanding masterConfig items into structs 2016-11-24 17:34:05 +00:00
Martin Budden
efd859f14d Fixup OSD builds without MAX7456 2016-11-19 06:47:53 +00:00
Martin Budden
5362709f03 Grabbed OSD on init when using the minim OSD 2016-11-19 06:47:53 +00:00
Martin Budden
e4cb051b13 Fixup after rebase 2016-11-19 06:47:53 +00:00
Martin Budden
7c8d1967d0 Improved OSD & displayPort initialisation. Allowed nested screen grabbing 2016-11-19 06:47:53 +00:00
Martin Budden
3cf46ff16c Made displayPort a parameter to osdInit 2016-11-19 06:47:53 +00:00
J Blackman
25bcaa3a05 Merge pull request #1584 from atomiclama/master-bf
Fixed a problem when the motor count for motorInit came from custom mixer
2016-11-19 17:11:35 +11:00
Martin Budden
935547fe50 Merge pull request #1525 from basdelfos/esc_telemetry_dshot_rebase
Implementation of KISS ESC Telemetry protocol (rebase)
2016-11-17 23:30:03 +01:00
Bas Delfos
16178a0662 Implementation of KISS ESC Telemetry protocol 2016-11-17 22:04:44 +01:00
Steffen Windoffer
fc0b4e3b50 remove double includes 2016-11-17 22:02:38 +01:00
atomiclama
d4a81879d8 Fixed a problem when the motor count for motorInit came from a custom
mixer table lookup which was 0.

1. took the motor count from the loading of the custom mixer table.
2. Moved the mixerconfig to before motorInit as motorInit needs the
motorCount.
3. removed pwmIsSynced checks as this was a order of init problem, and
not required as pwmCompleteMotorUpdate protects itself.
2016-11-17 13:28:52 +00:00
blckmn
b1e04e7ee0 PWM fix - and rename SKIP PWM and PPM to USE_PWM and USE_PPM 2016-11-15 20:59:05 +11:00
Martin Budden
a82820fd27 Merge pull request #1544 from blckmn/adc_mapping
sdcard dma config, adc config, bluejayf4 hardware revision
2016-11-13 10:03:35 +01:00
blckmn
17facbea84 sdcard dma config, adc config, bluejayf4 hardware revision
Moved ADC to configuration stored in masterConfig.
 - can remove features for vbat etc in future (perhaps param groups)
 - allows adc to be turned off completely (freeing up dma)

Added feature SDCARD
 - enables it to be turned off.
 - allows for DMA to be turned off (set sdcard_dma=OFF)

Fixed hardware revision to allow BJF4 mini to use the same target (no need for an additional target).
2016-11-13 14:25:33 +11:00
Michael Jakob
891da88596 AlienFlight F4 V2 support and some minor AlienFlight updates 2016-11-12 10:28:48 +01:00
Martin Budden
7c8cb3205d Removed trailing spaces 2016-11-11 07:48:00 +00:00
borisbstyle
d2530da874 Merge pull request #1490 from blckmn/dma_owner
Adding DMA ownership for ADC, LED STRIP, USART and MOTOR
2016-11-09 09:59:07 +01:00
blckmn
8dc3bee80d Adding DMA ownership for ADC, LED STRIP, USART and MOTOR 2016-11-08 13:47:37 +11:00
jflyper
c12942ed41 Substitute FEATURE_MSP_DISPLAYPORT with !defined(OSD)
Save feature bits.
2016-11-07 22:29:35 +09:00
jflyper
1da1837288 Change feature name to MSP_DISPLAYPORT
And some build option fix.
2016-11-07 18:53:23 +09:00
Martin Budden
44d633e5e7 Changed USE_MSP_OSD to USE_MSP_DISPLAYPORT 2016-11-06 20:40:42 +00:00
Martin Budden
d8a83518db CMS file renaming. displayPort renaming 2016-11-06 20:24:33 +00:00
Martin Budden
a7a428a5bb Code tidy and addition of GPL headers 2016-11-06 10:29:11 +00:00
jflyper
e9a2f2b2c1 Merge remote-tracking branch 'betaflight/master' into bfdev-osd-cms-separation-poc 2016-11-06 02:43:24 +09:00
blckmn
e56f915018 Moving LED strip to be configurable via resource command 2016-11-05 13:35:20 +11:00
jflyper
ccdf1424c5 Rebased 2016-11-03 12:11:12 +09:00
Martin Budden
5bc1105871 Renamed display to dashboard 2016-11-02 05:00:09 +00:00
jflyper
720a841008 More displayPort_t, CANVAS as new feature, multi-display cycling
- Further touch-ups with displayPort_t handling.
- CANVAS is a FEATURE now.
- Device specific xxxCmsInit() are registered by device’s init, and
called by CMS upon entry to menu.
- Multiple display devices can be cycled by entering menu invocation
command while in menu.
- The menu invocation command is (was) changed to THR-Mid + YAW-Left +
Pitch-Full to avoid collision with MWOSD menu invocation command.
- More separation attempt.
2016-10-28 13:22:28 +09:00