1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00
Commit graph

14067 commits

Author SHA1 Message Date
MJ666
dddd75a3f2
Merge pull request #8046 from AlienWiiBF/RACEPIT
FuriousFPV RacePIT target updates
2019-04-28 06:42:51 +02:00
Michael Keller
c383f0cb32
pr Implements feature request #1887 rebase add osd (#8012)
pr Implements feature request #1887  rebase add osd
2019-04-28 15:02:31 +12:00
Michael Keller
5a3340311a
Merge pull request #8089 from Cleric-K/cms-debug-fix
CMS Debug Mode fix
2019-04-28 12:54:16 +12:00
Michael Keller
5127e53c41
Move default DEBUG_MODE from common_pre.h into common_defaults_post.h (#8085)
Move default DEBUG_MODE from common_pre.h into common_defaults_post.h
2019-04-28 12:50:49 +12:00
Michael Keller
99a31fe2f3
CLRACINGF7 TARGET, add default feature OSD and default RX provider Sbus (#8078)
CLRACINGF7 TARGET, add default feature OSD and default RX provider Sbus
2019-04-28 12:47:43 +12:00
Michael Keller
11c8772003
Cleanup deprecated ACC_1_ALIGN and ACC_2_ALIGN defines (#8076)
Cleanup deprecated ACC_1_ALIGN and ACC_2_ALIGN defines
2019-04-28 12:46:50 +12:00
Michael Keller
c61fd32b13
Reduce feature cut for BFF3 (#8068)
Reduce feature cut for BFF3
2019-04-28 12:41:45 +12:00
Michael Keller
1488c8cdcd
show power level in the smartaudio cms menu (#8064)
show power level in the smartaudio cms menu
2019-04-28 12:39:57 +12:00
Michael Keller
3c3cc30936
prevent max7456 screen_buffer from overflow (#8063)
prevent max7456 screen_buffer from overflow
2019-04-28 12:36:31 +12:00
Michael Keller
3589824b7c
For Discussion: modify filter defaults to reduce risk of flyaways (#8043)
For Discussion: modify filter defaults to reduce risk of flyaways
2019-04-28 12:22:31 +12:00
Michael Keller
0a7cce8ea3
[Docs] Further update Building in Windows (#8037)
[Docs] Further update Building in Windows
2019-04-28 12:20:48 +12:00
Michael Keller
69561cf2c2
Changes to vtx cli command (#7917)
Changes to vtx cli command
2019-04-28 12:18:01 +12:00
Michael Keller
2df780a1d9
Fixed assignment of random timer for pins without configured timer option. (#8093)
Fixed assignment of random timer for pins without configured timer option.
2019-04-28 11:58:11 +12:00
Michael Keller
0e19ffd299
OSD: allow to present odometer on post flight screen (#8014)
OSD: allow to present odometer on post flight screen
2019-04-28 11:53:31 +12:00
Bruce Luckcuck
a6e3c257ae Cleanup deprecated ACC_1_ALIGN and ACC_2_ALIGN defines 2019-04-27 18:39:43 -04:00
Kenneth Mitchell
82d1736890
Call initEscEndPoints after auto changing profiles.
Reset escEndPoints with OSD.

Fix include order.
2019-04-27 18:32:25 -04:00
J Blackman
c0585ca2ec
Merge pull request #8005 from mikeller/re_enable_vtx_table
Re-enabled VTX table support.
2019-04-28 08:30:06 +10:00
J Blackman
bf1e17da9e
Merge pull request #8088 from DMAXYANG/add_tcmm_manufacturer_id
Add TCMM manufacturer id
2019-04-28 08:29:12 +10:00
Michael Keller
6357e1d9a3
Added rx configuration for DJI_HDL receiver (#7881)
Added rx configuration for DJI_HDL receiver
2019-04-28 10:07:08 +12:00
jflyper
0c5540228f Simple fixes to library files
- stm32h7xx_hal_rcc.c: Prevent signed-unsigned comparison warning

- [USBLIB] Take care of unused parameters

- [LIB] Stop signed-unsigned comparison warning (rcc_ex)

- Modify HAL SPI driver for const-ness to match call from current bus_spi driver

- [LIB] Handle unused in stm32h7xx_hal_flash.c

- UNUSED care for stm32h7xx_hal_rtc_ex.c

- UNUSED care for stm32h7xx_hal_pwr.c

- UNUSED care for stm32h7xx_hal_pcd.c

- UNUSED care for stm32h7xx_hal_flash.c

- UNUSED care for stm32h7xx_hal_adc_ex.c
2019-04-28 05:55:01 +09:00
jflyper
7a0d3e73f5 Use union to access access size sensitive registers
As described in RM0433 section 49.4.13 "Data packing", STM32H7's SPI data register supports data packing and it is sensitive to actual access width.

The original code used pointer casting to obtain a code to access the register in a desired size.
However, these operation results in strict aliasing warnings (deferencing punned pointer) and are not desirable.

Here, we declare a union that allow access to a 32-bit register in 8, 16 or 32-bit width and cast pointer to the original RXDR and TXDR data registers and then access the portion of the register through an appropriate union member.

XXX FIXME Only handled 16-bit access case, as 32-bit (original declaration) and 8-bit (allowed) cases do not generate warnings, but these should be handled similarly for correctness and consistency of the code.
2019-04-28 05:55:01 +09:00
jflyper
8670c05068 SPI HAL library bug (referencing RX side handle from TX only DMA) 2019-04-28 05:55:01 +09:00
Dominic Clifton
844683279a STM32H750 - Apply workaround to the SDMMC Errata 2.11.4
Issue: "Consecutive multiple block transfers can induce incorrect data length"
Workaround: "8 SDMMC clock cycles must elapse before DTEN can be set."
2019-04-28 05:55:01 +09:00
Dominic Clifton
adcf556ea5 STM32H750 - Fix for H750 Errata 2.11.5. 2019-04-28 05:55:00 +09:00
Dominic Clifton
a545abc511 Fix compilation error in H7 HAL library when enabling QSPI. 2019-04-28 05:55:00 +09:00
jflyper
99ea236bc2 Take care of "FLASH_SIZE" constant for stm32h750xx.h in lib 2019-04-28 05:54:36 +09:00
MJ666
f25c5dfcfa FuriousFPV RacePIT target updates 2019-04-27 11:12:34 +02:00
J Blackman
078b25c565
Merge pull request #8097 from blckmn/VIVAF4AIO
VIVAF4AIO
2019-04-27 13:10:24 +10:00
blckmn
39e0e4dc73 Removing deprecated ACC_X_ALIGN 2019-04-27 10:57:09 +10:00
Bruce Luckcuck
5b22ed3d15 Change gyro dynamic lpf throttle update to use the active gyro selection
Instead of the configuration value.
2019-04-26 20:05:41 -04:00
blckmn
b8caab9e43 Adding board description file, and correcting gyro. 2019-04-26 22:30:09 +10:00
blckmn
9b8ad29066 Added as sub-target of DALRCF405 2019-04-26 22:18:27 +10:00
blckmn
e6e8cd1630 New Target VIVAF4AIO 2019-04-26 20:59:38 +10:00
jflyper
0bb34cdd09 usbd_def: disable insane defs of MIN and MAX 2019-04-25 12:01:42 +09:00
jflyper
e124693d48 [LIB] stm32h7xx_hal_def.h : Include <stddef.h> instead of <stdio.h>
Inclusion of <stdio.h> produces poisoned function alert for sprintf and
variants.
F7 use <stddef.h> instead of <stdio.h>
2019-04-25 12:01:42 +09:00
jflyper
22dd78f247 [CMSIS] stm32h743xx.h: FLASH_SIZE def collide with Betaflight 2019-04-25 12:01:42 +09:00
mikeller
ceae2d88b6 Fixed assignment of random timer for pins without configured timer option. 2019-04-25 14:05:57 +12:00
Cleric-K
4797b8dbc9 CMS Debug Mode fix 2019-04-24 16:50:53 +03:00
jflyper
1db881f595
Merge pull request #8058 from jflyper/bfdev-h7-import-library
[H7 LIB] Import STM32Cube_FW_H7_V1.3.0
2019-04-24 20:41:47 +09:00
DMAXYANG
a1b847186e Add TCMM manufacturer id 2019-04-24 12:22:25 +08:00
Michael Keller
ee0ac209c3
Merge pull request #8029 from Doven7/patch-3
Add target HGLRCF411 to 4.0.
2019-04-24 10:34:06 +12:00
Dominic Clifton
ece1192c76 Move default DEBUG_MODE from common_pre.h into common_defaults_post.h so
it can be overridden.
2019-04-24 04:45:58 +09:00
Cheng Lin
7747537493 add default feature OSD and default RX provider Sbus 2019-04-23 10:30:27 -04:00
root
bd63b7ba23 prevent max7456 screen_buffer from overflow 2019-04-23 01:24:27 +00:00
swilkens
a999fc38bc
Reduce feature cut for BFF3
Reducing the feature cut from 10 to 7 will bring some newer and older useful features back to the BFF3 board without overflowing flash space. As the F3 boards are now seen as unsupported, this change can be made as a maintenance patch at the final supported level.

Notable features:
USE_SERIAL_4WAY_BLHELI_BOOTLOADER, USE_GYRO_LPF2, USE_DYN_LPF, USE_D_MIN


```
Linking BETAFLIGHTF3
Memory region         Used Size  Region Size  %age Used
           FLASH:      257640 B       252 KB     99.84%
    FLASH_CONFIG:          0 GB         4 KB      0.00%
             RAM:       34788 B        40 KB     84.93%
             CCM:          2 KB         8 KB     25.00%
       MEMORY_B1:          0 GB         0 GB     -1.#J%
   text    data     bss     dec     hex filename
 253920    3720   33116  290756   46fc4 ./obj/main/betaflight_BETAFLIGHTF3.elf
```
2019-04-22 09:38:09 +02:00
root
38837ec47a show power level in the smartaudio cms menu 2019-04-21 23:05:43 +00:00
krzysztofmatula
14bb0fca72
Merge branch 'master' into km-stats-postflight 2019-04-21 22:44:44 +02:00
MJ666
94ddf5aceb
Merge pull request #8044 from Docteh/move_the_configs
move configs to proper spot
2019-04-21 13:49:57 +02:00
jflyper
5f15f58aa6 Import STM32Cube_FW_H7_V1.3.0 2019-04-21 18:39:03 +09:00
c3n
66f5c6e5db
Merge branch 'master' into master 2019-04-20 15:22:28 +02:00