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

7143 commits

Author SHA1 Message Date
Bas Delfos
3c917794bf Changes according review comments & fixed linker error SPRACINGF3OSD 2017-07-18 22:21:48 +02:00
Bas Delfos
f61bb3aac8 Replaced magic number with define VOLTAGE_METER_ID_ESC_COUNT 2017-07-18 22:21:48 +02:00
Bas Delfos
9b189865d1 MSP changes for the new Power & Battery tab in configurator 2017-07-18 22:21:47 +02:00
J Blackman
10c8708381 Merge pull request #3558 from jflyper/bfdev-omnibusf4-add-timer-entries-for-uart1-pins
OMNIBUSF4 Target configuration improvements
2017-07-19 04:39:20 +10:00
Bas Delfos
d9e1f1a7b6 Fix compile error 2017-07-18 20:31:36 +02:00
jflyper
84b828a93c Target configuration improvements
1. Add timer entries for UART1 pins so that unused side, more
specifically TX side when Serial RX is used, can be used as a timer for
other uses such as software serial.

2. Delete AVOID_UART1_FOR_PWM_PPM so that
- OMNIBUSF4/F4SD users will have an option to use UART1 with SBUS/PPM
jumper mod, and
- DYSF4PRO users to provide UART1 even when PPM is used.

3. Tidy on S6_OUT (consolidation)
2017-07-19 01:10:21 +09:00
Andrey Mironov
2636ffddb9 Renamed occurrences of CAMERA_CONTROL to USE_CAMERA_CONTROL 2017-07-18 17:55:08 +03:00
jflyper
f2d313e849 Final touch-ups 2017-07-18 22:01:30 +09:00
Martin Budden
3385884e56 Removed mpuConfiguration.gyroReadXRegister 2017-07-18 12:53:10 +01:00
Martin Budden
6869d78941 Better structure alignment to avoid padding 2017-07-18 11:32:05 +01:00
jflyper
ec8592d779 Rebased 2017-07-18 17:45:55 +09:00
jflyper
e436c24fb6 pBusdev to busdev 2017-07-18 17:42:17 +09:00
jflyper
f8e5f39487 Use IOLo and IOHi directly for ENABLE/DISABLE 2017-07-18 17:27:47 +09:00
jflyper
8fe8da975b Use csn instead of cs for chip select. 2017-07-18 17:21:46 +09:00
jflyper
eefa2a8e88 Remove lazy init 2017-07-18 17:16:19 +09:00
jflyper
46b3a7c9b0 Define and use i2c functions that accept busDevice_t 2017-07-18 16:46:23 +09:00
jflyper
9ea8789869 For DYSF4PRO, use PC3 for RSSI ADC input
The RSSI pad has direct connection to PC3.
2017-07-18 15:08:51 +09:00
Michael Keller
dcc600a78b Merge pull request #2727 from DieHertz/camera-control
Camera OSD control
2017-07-18 06:47:57 +08:00
maverikou
5353adb033 KIWIF4V2/PLUMF4 - Fix motor/led timer conflict. 2017-07-17 19:40:14 +03:00
jflyper
2e755ae5d6 Add adc pin resource handling 2017-07-17 21:42:20 +09:00
jflyper
7774e02d01 Fix bad defaults 2017-07-17 13:04:28 +09:00
Cheng Lin
5dc1115a88 ADD icm20602 to CLRACINGF4, Delete duplicate in target.h for CLRACINGF7
Signed-off-by: Cheng Lin <bnn1044@gmail.com>
2017-07-16 22:40:05 -04:00
jflyper
6b4b880c85 Added stubs for tests 2017-07-17 09:29:28 +09:00
jflyper
ecc66cb2d4 Disable USE_BARO_{BMP280,MS5611} if not USE_I2C 2017-07-17 08:56:59 +09:00
Bas Delfos
844ed3a6c0 Added ability to configure yaw_motors_reversed with MSP 2017-07-16 22:39:14 +02:00
jflyper
ba553a3036 Added defines to test/Makefile 2017-07-17 03:52:50 +09:00
jflyper
d54fc37bc7 SPI and I2C are now independent 2017-07-17 03:40:13 +09:00
jflyper
8690d37373 Touching up 2017-07-17 01:54:36 +09:00
jflyper
c53e16b20e Merge remote-tracking branch 'betaflight/master' into bfdev-configurable-baro 2017-07-17 01:47:40 +09:00
jflyper
d2c71a6f7e Add bus parameters to barometerConfig_t, cli handling 2017-07-16 23:57:16 +09:00
jflyper
62909821ec Doh! 2017-07-16 23:20:04 +09:00
Martin Budden
d32b7b415a Merge pull request #3538 from DanNixon/osd_debug_mode
Allow setting debug mode from CMS
2017-07-16 12:40:17 +01:00
Dan Nixon
c23b07bdda Pad table strings in the CMS
Ensures that switching from a longer string to a shorter one does not
leave chars from the longer string.

e.g. BATTERY -> GYRO would result in GYROERY
2017-07-16 11:15:51 +01:00
Dan Nixon
cfb23ad0ac Add debug mode to CMS menu 2017-07-16 11:14:37 +01:00
Martin Budden
ed83d27fc7 Merge pull request #3539 from jflyper/bfdev-oled-display-bad-error-detection
Correct failure detection from i2c_OLED_send_cmd
2017-07-16 10:38:36 +01:00
jflyper
985e045ac8 Correct failure detection from i2c_OLED_send_cmd 2017-07-16 17:38:31 +09:00
Martin Budden
312978ee54 Merge pull request #3534 from Faduf/master
Add specific configuration depending on hardware revisions of the YupiF4
2017-07-16 09:29:46 +01:00
Faduf
1f809048df remove beeper dependency in pwm output 2017-07-16 09:45:02 +02:00
Martin Budden
19b1a0d123 Merge pull request #3536 from jflyper/bfdev-revo-with-uart4
Enable UART4 (S5_OUT and S6_OUT) on REVO
2017-07-16 07:47:00 +01:00
Martin Budden
c8cbd0e7d7 Merge pull request #3535 from jflyper/bfdev-bff3-new-timer-mapping
BFF3 Timer mapping re-adjustment
2017-07-16 07:46:21 +01:00
Martin Budden
dcb21a92c1 Merge pull request #3527 from brucesdad13/target-alienwhoop
New ALIENWHOOP target
2017-07-16 07:43:42 +01:00
Martin Budden
e1b5c2a67a Merge pull request #3528 from blckmn/DYSF4PRO
DYSF4PRO target
2017-07-16 07:42:23 +01:00
Martin Budden
afe2d26ded Merge pull request #3523 from fishpepper/cli_array
improved array handling in cli
2017-07-16 07:40:43 +01:00
Martin Budden
186465ffe6 Merge pull request #3515 from jflyper/bfdev-anyfcf7-i2c2-as-main-i2c
ANYFCF7 Activate I2C2 as external I2C
2017-07-16 07:24:37 +01:00
jflyper
6b2cf04baf Converted fake 2017-07-16 14:19:04 +09:00
jflyper
36dd4c824b XXX 9250 mpuResetFn doesn't work this way 2017-07-16 13:32:01 +09:00
jflyper
8c5c6c1385 Converted BMI160 & ICM20289 2017-07-16 13:31:37 +09:00
jflyper
a6e3ca2345 Merge branch 'master' into bfdev-configurable-baro 2017-07-16 11:45:29 +09:00
jflyper
3f885ce944 More conversions 2017-07-16 11:42:45 +09:00
jflyper
9233b9fbfd Use i2c_OLED_send_cmdarray instead of bunch of i2c_OLED_send_cmd 2017-07-16 11:42:34 +09:00