1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00
Commit graph

5963 commits

Author SHA1 Message Date
cs8425
120fa21693 implement SITL in gazebosim with ArduCopterPlugin
need implement fake eeprom & fake IO

need implement fake system function

can compile, stuck in isEEPROMContentValid()

EEPROM in memory work

EEPROM as file should work

fix some complie warning

MSP over TCP work (add dyad.c)

a little clean up

fix FLASH_CONFIG_Size in ld script & implement some pwmout

IO to simulator work!! need to check direction & scale!!

can fly but Gyro buggy

move dyad.c

fix busy-loop (limit to max 20kHz)

can simulatie in different speed now! (hard code)

add option for IMU calculation

add README.md

move dyad.c and fix F3 overrun the flash size

explanation SITL in README.md and reuse CFLAGS, ASFLAGS
2017-04-05 18:22:59 +08:00
Michael Keller
c2307a4bea Merge pull request #2814 from mikeller/increase_gps_task_frequency
Increased GPS task frequency to 100Hz to prevent serial buffer overflows.
2017-04-04 23:54:58 +12:00
borisbstyle
6a1f96b237 Merge pull request #2807 from martinbudden/bf_uncommon_mixers
Disable uncommon mixers for ROM saving
2017-04-04 09:07:11 +02:00
Michael Keller
5ff8ae9628 Increased GPS task frequency to 100Hz to prevent serial buffer overflows. 2017-04-04 12:24:19 +12:00
Michael Keller
a03bd7077e Merge pull request #2810 from flyinglemonfpv/master
Fixed KIWI/PLUM sbus issues, added KIWIV2 target
2017-04-04 11:07:35 +12:00
Magnus Ivarsson
e88e251df9 major refactor of the unit test makefile
- Specify source files in variables instead of manually writing
   the make file rules, this removes a lot of duplication
 - Use separate folders for all tests allowing for tests and common
   source files to be built with different settings (defines)
2017-04-04 00:06:56 +02:00
Martin Budden
149ed180f6 Merge pull request #2800 from jflyper/bfdef-cms-resurrect-display-cycling
[CMS] Resurrect display cycling
2017-04-03 20:52:30 +01:00
Martin Budden
cad16aa26c Merge pull request #2808 from unitware/bf-test-dependencies
handle dependencies in unit tests
2017-04-03 20:51:02 +01:00
Martin Budden
c9fd4ec428 Merge pull request #2790 from unitware/bf-test-verbosity
control build verbosity for the unit tests
2017-04-03 20:46:59 +01:00
flyinglemonfpv
d7e0917a4f Fixed KIWI/PLUM sbus issues, added KIWIV2 target 2017-04-03 16:33:26 +02:00
Magnus Ivarsson
27059bdfd8 handle dependencies in unit tests 2017-04-03 13:10:55 +02:00
Martin Budden
f24865d9a0 Disable uncommon mixers for ROM saving 2017-04-03 10:59:46 +01:00
Michael Keller
f2fa06e52e Merge pull request #2769 from mikeller/fix_adc_current_offset
Fixed ADC current meter for negative offset.
2017-04-03 09:52:35 +12:00
Martin Budden
806742262b Merge pull request #2793 from DieHertz/clean-non-pg-remains
Cleaned USE_PARAMETER_GROUPS remainders
2017-04-02 22:35:44 +01:00
Martin Budden
011acfa4dd Merge pull request #2796 from betaflight/spracingf4evo
Initial target support for SPRacingF4EVO
2017-04-02 22:34:44 +01:00
Martin Budden
787a927258 Merge pull request #2797 from sambas/betaflightF7
Switch SD card detect polarity for AnyFC-F7 production boards
2017-04-02 22:32:55 +01:00
Martin Budden
d6c3f8cb18 Merge pull request #2801 from betaflight/fix-spracingf3evo-mag-detection
Fix MPU9250 SPI AK8963 MAG detection
2017-04-02 22:30:10 +01:00
Miguel
a2841d783b Fix compile linking issues when USE_PWM is disabled 2017-04-02 20:01:41 +01:00
Hydra
efac0ee6a9 CF/BF - Fix Naze32 missing second softserial port.
The NAZE32_SP can only have one port because it the pins are not
available for use as soft serial.
The NAZE32_SP should only configure the I2C pins if USART3 is not used.
2017-04-02 19:58:36 +01:00
Hydra
4f743a0b40 CF/BF - Update MSP_GPS_CONFIG 2017-04-02 19:57:58 +01:00
Hydra
10205731b9 CF/BF - SPRACINGF3NEO - Add target specific config. 2017-04-02 19:57:51 +01:00
Hydra
2fb950b543 CF/BF - Fix GPS lat/lon symbols to use symbols that are actually in the
default CF/BF fonts.
2017-04-02 19:57:43 +01:00
Hydra
1f4644557d CF/BF - Ensure that ESC voltage/current meters do not read random memory
when reading data from unconfigured motors.
2017-04-02 19:57:35 +01:00
Hydra
3be9b63b7c CF/BF - Fix AK8963 mag broken by
60c2b812d1.

I think the cause of the broken commit was a search/replace failure
since SPI WRITES were replaced with I2C WRITES to a NULL I2C device.

This is a quick hack to get things working again, no-doubt @martinbudden
will want to inspect the changes and make appropriate changes.
2017-04-02 16:34:01 +01:00
Hydra
e6d84112e7 don't discard the ack from the mpuRegisterReadI2C call. 2017-04-02 16:33:59 +01:00
Hydra
15bdc15bb2 CF/BF - SPRACINGF3EVO add missing USE_MPU9250_MAG. Cleanup some include ordering. 2017-04-02 16:33:57 +01:00
jflyper
cdf1bbb087 Rebased on to master 2017-04-02 22:46:33 +09:00
jflyper
5d92b62393 Resurrect multi-display cycling 2017-04-02 22:42:35 +09:00
Sami Korhonen
42a7977087 Switch SD card detect polarity for production boards 2017-04-02 11:30:34 +03:00
Miguel
13ac3abbb5 Change the timerHardware_t to use the DEF_TIM macro 2017-04-02 09:03:02 +01:00
Hydra
3d2c776825 SPRACINGF4EVO - Initial target support 2017-04-02 09:03:02 +01:00
Hydra
5a59013a46 CF/BF - Fix STM32F4 DMA mappings for TIM8_CH2.
For Tim8Ch2, it should be
0: DMA2_ST3/DMA_Channel_0
1: DMA2_ST2/DMA_Channel_7

https://github.com/cleanflight/cleanflight/pull/2683#discussion_r109164830

See DM00031020 STM32F405xx Reference Manual page 309.

Thanks @ledvinap and @McGiverGim
2017-04-02 09:03:01 +01:00
jflyper
3df4a84c1c comment tidy 2017-04-02 11:04:52 +09:00
DieHertz
8768dfd3df Cleaned USE_PARAMETER_GROUPS remainders 2017-04-02 03:04:37 +03:00
Anders Hoglund
dfb219038f Fix compile warning on unused osdDisplayPort- 2017-04-01 18:35:01 +02:00
jflyper
e186a2d709 Further fix CMS displayPort registration
1. Avoid OSD over MSP_DISPLAYPORT case (not ready yet).
2. osdInit to take care NULL displayPortToUse.
2017-04-02 01:26:49 +09:00
jflyper
d2fe67aa45 Fix (bad) CMS device registration order 2017-04-01 02:07:55 +09:00
Magnus Ivarsson
9e77f9c4c8 control build verbosity for the unit tests 2017-03-31 16:57:56 +02:00
Martin Budden
318fd2ee15 Code tidy. Renamed vbatscale in blackbox 2017-03-31 07:44:28 +01:00
Michael Keller
86b3d862a2 Merge pull request #2776 from mikeller/fix_def_tim
[from cleanflight] Fix compile issues deactivating led strip
2017-03-30 13:45:56 +13:00
Michael Keller
1a70a10a73 Merge pull request #2772 from martinbudden/bf_sbuf_bigendian
Added big-endian support to sbuf and used it in CRSF
2017-03-30 13:43:31 +13:00
Michael Keller
294c5e00c7 Merge pull request #2771 from martinbudden/bf_osd_gps
Added GPS position to OSD
2017-03-30 13:40:53 +13:00
Michael Keller
8a215a1c1b Merge pull request #2770 from martinbudden/bf_rc_adjustments_tidy
Tidy rc_adjustments
2017-03-30 13:40:02 +13:00
Dominic Clifton
88f55d51c9 Merge pull request #2677 from McGiverGim/fix-compile-issues-deactivating-led-strip
Fix compile issues deactivating led strip
2017-03-30 13:34:21 +13:00
Martin Budden
96e89d7788 Added big-endian support to sbuf and used it in CRSF 2017-03-29 16:18:28 +01:00
Martin Budden
b370cec537 Added GPS position to OSD 2017-03-29 16:00:03 +01:00
Martin Budden
9f07785e33 Tidy rc_adjustments 2017-03-29 15:56:37 +01:00
mikeller
b71a5a808f Fixed ADC current meter for negative offset. 2017-03-30 01:35:55 +13:00
mikeller
772026dafe Fixed GET_REVERTED. 2017-03-30 01:08:26 +13:00
Michael Keller
d3f8385d4e Merge pull request #2763 from jflyper/bfdev-omnibusf4sd-led-fix
OMNIBUSF4SD Add UART6 inverter and LED timer
2017-03-29 12:46:52 +13:00