1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00
Commit graph

11315 commits

Author SHA1 Message Date
Michael Keller
a109aab7ab
Added DJI_HDL to the RX protocol list for CLI. (#8213)
Added DJI_HDL to the RX protocol list for CLI.
2019-05-09 01:01:28 +12:00
Michael Keller
5fdad3e27d
Add omnibusf7nanov7 (#8210)
Add omnibusf7nanov7
2019-05-09 00:59:55 +12:00
Michael Keller
95074700b9
Remove FURYF7 Target (#8205)
Remove FURYF7 Target
2019-05-09 00:53:43 +12:00
Michael Keller
8390bfacd8
Merge pull request #8204 from jflyper/bfdev-h7-transponder
[H7] Enable transponder
2019-05-09 00:53:07 +12:00
Michael Keller
9194ee58d7
[H7] Enable LED_STRIP (#8203)
[H7] Enable LED_STRIP
2019-05-09 00:52:48 +12:00
Michael Keller
3cd046680c
[H7] Enable I2C (HAL) (#8193)
[H7] Enable I2C (HAL)
2019-05-09 00:48:33 +12:00
jflyper
1b49b33e00 [H7] Enable ADC
- Initial cut without internal sensors

- Full DMA including internal sensors spanning multiple ADC peripherals

- Skip ADC initialisation when ADC instance is unused to avoid crash.

- Add volatile & DMA_RAM attribute to ADC DMA buffer

- Revised DMA coherency handling

- adcGetChannelValues - added comment and moved def to adc_impl.h

- Changes per PR comment (indentation fix)
2019-05-08 21:07:29 +09:00
Dominic Clifton
3c978240cf Add note in stack_check that refers developers to the linker scripts when looking for stack memory locations. 2019-05-08 13:16:18 +09:00
jflyper
e62cc6552d [F7] Move non-library CDC-HID code out of lib tree 2019-05-08 11:59:23 +09:00
Timothy Werquin
711424f63b
Fix pageMaxRow use before update
After commit d2e7abd the for loop following my change use pageMaxRow to determine which flags to clear.
But this pageMaxRow value is updated after the loop, which caused a crash in a very specific circumstance:

1 open the CMS OSD menu and go to profile

2 close the profile by yaw right, select exit

3 open CMS OSD menu and go to profile again

This caused a crash as runtimeEntryFlags wasn't cleared properly and the Copy Profile entry's flags still indicated OPTSTRING somehow.
which caused it's CMSEntryFuncPtr function to be cast to OPTSTRING and called without arguments.
2019-05-08 00:36:23 +02:00
Dominic Clifton
ad1c80247d STM32H750 - Fix CPU crash on cold boot when VCP is enabled.
Crash doesn't occur when VCP is disabled.

It was observed that shortly after the VCP port was enabled a crash
would occur in unrelated code.  e.g. in `rxInit()`

Moving the delay before the call to HAL_PWREx_EnableUSBVoltageDetector
does not fix the issue - tested by moving the delay up one line and
doing many cold boots until a crash was observed.  Crash un-repeatable
once delay is added.

Note: exact cause is unknown, behaviour occurs on some boards more frequently than others.
2019-05-08 07:21:18 +09:00
jflyper
9c83b67e32 NUCLEOF722 - comment out unneeded def 2019-05-08 07:19:01 +09:00
Bruce Luckcuck
f5722273aa Fix MODE_STRING blank value output and improve validation messages
Emptry MODE_STRING paramaters would produce CLI output that would then generate errors if reapplied using a `diff` or `dump`. Fixed the output for blank values to be compatible with setting an empty string (clearing a previous value).

Also improve the length validation to report the allowed character range.
2019-05-07 16:39:00 -04:00
jflyper
3a7edd1e3a [H7] Enable motor
- Initial cut without Dshot

- Enable HAL-based DShot (no burst yet)

- Burst Dshot First working version

- Non-stop PWM refactor

- Conditionalize HAL structures inside motorTimerDma_s
2019-05-08 02:58:26 +09:00
jflyper
b1d55a0755 [DMASPEC] Temporary addition of STM32H7 in dma_reqmap.h 2019-05-08 02:27:06 +09:00
jflyper
a8c16c1cf8 [H7] Enable timer
[TIME] Basic def

[TIMER] timer related commits

[TIMER] Remove stale comments from timer_stm32h7xx.c

[TIMER] New timerClock() based on RM0443 Table 48

[TIMER] Add DMA handling

[TIMER] White space tidy in timer_def.h

Add TIM1_UP_IRQ handling

Fix DEF_TIM_DMA_FULL emitting error for 7th and 15th entry

STM32H7 - add TIM15-CH2 (No DMA)

Fix comment spelling errors.

timer.h change for "Burst Dshot First working version"

Fix bad TIM9 handling for non-H7 case

Touch-up after rebase (timer.h)

F4 and F7 does not have dmaIrqHandler in timerHardware_s (anymore)

Changes per PR comment
2019-05-08 02:26:22 +09:00
Thorsten Laux
f736561701 avoid double esc startup sounds on f7 2019-05-07 18:24:53 +02:00
Bruce Luckcuck
a1135dbbc4 Improve CLI diff output to only include non-empty sections
Eliminates the empty blocks for sections that have no changes from defaults.
2019-05-07 09:48:45 -04:00
jflyper
f58b3eab03 [H7] Enable UART 2019-05-07 22:21:31 +09:00
Michael Keller
1cbff2b9aa
Add gps rescue landing altitude and distance to CMS (#8202)
Add gps rescue landing altitude and distance to CMS
2019-05-08 00:48:21 +12:00
mikeller
6aabc432fc Added DJI_HDL to the RX protocol list for CLI. 2019-05-08 00:31:15 +12:00
Michael Keller
ea3da333d4
Merge pull request #8196 from McGiverGim/add_dmin_gain_adv_cms
Add D_MIN Gain and Advance to CMS
2019-05-07 20:06:14 +12:00
Michael Keller
849abcb1f5
[H7] Enable CAMERA_CONTROL (#8195)
[H7] Enable CAMERA_CONTROL
2019-05-07 20:05:57 +12:00
Michael Keller
2f3d42e58f
[H7] Enable software serial (#8194)
[H7] Enable software serial
2019-05-07 20:05:41 +12:00
Michael Keller
4dcdedc8f2
Merge pull request #8191 from jflyper/bfdev-h7-persistent-storage
[H7] Port RTC backup register based persistent storage for H7
2019-05-07 20:04:54 +12:00
Michael Keller
a8f6ea0b72
Add PID and Rate profile names, osd elements and cli config (#7696)
Add PID and Rate profile names, osd elements and cli config
2019-05-07 20:04:39 +12:00
Solar Hacksaw
86a8d4ad86 add omnibusf7nanov7 2019-05-06 18:27:26 -07:00
Solar Hacksaw
6ac3ecc3df add xilof4 2019-05-06 18:02:46 -07:00
Michael Keller
d3677b79aa
Remove CLI "display_name" and notify that "name" will be removed (#8190)
Remove CLI "display_name" and notify that "name" will be removed
2019-05-07 12:13:50 +12:00
Michael Keller
89179fb6e8
Renamed 'gyro_filter_impl.h' to 'gyro_filter_impl.c'. (#8187)
Renamed 'gyro_filter_impl.h' to 'gyro_filter_impl.c'.
2019-05-07 12:13:30 +12:00
Michael Keller
35270099c0
Removed non-library header from 'lib/'. (#8115)
Removed non-library header from 'lib/'.
2019-05-07 12:12:14 +12:00
Michael Keller
e5393c215b
Revise data structures for DSHOT telemetry stats to avoid high CPU load (#8177)
Revise data structures for DSHOT telemetry stats to avoid high CPU load
2019-05-07 12:06:43 +12:00
Kevin Berner
1be691ff00 Remove FURYF7 Target 2019-05-06 10:30:28 -05:00
jflyper
f346336aa8 [H7] Enable transponder 2019-05-06 23:28:27 +09:00
jflyper
e22b15217b [H7] Enable LED_STRIP 2019-05-06 23:26:57 +09:00
mikeller
5fded1b56f Renamed 'gyro_filter_impl.h' to 'gyro_filter_impl.c'. 2019-05-07 00:49:14 +12:00
Nicola De Pasquale
428c4d59eb add gps rescue landing altitude and distance to CMS 2019-05-06 14:44:36 +02:00
Michael Keller
011aeb66a6
Moved 'rpm_filter' into 'flight'. (#8186)
Moved 'rpm_filter' into 'flight'.
2019-05-07 00:40:48 +12:00
Pieter Kruger
de5a54a19a Add PID and Rate Profile names 2019-05-06 22:02:33 +10:00
Bruce Luckcuck
884ad3193e Remove CLI "display_name" and notify that "name" will be removed
These parameters can now be configured directly with the set/get commands.

The "name" command will still function but presents a warning that it will be removed and to use "set name = " instead.
2019-05-06 07:01:06 -04:00
Michael Keller
3651bbc03a
Added altitude symbol in OSD. (#8184)
Added altitude symbol in OSD.
2019-05-06 22:49:26 +12:00
jflyper
c797775cf6 [H7] Enable DMA facility 2019-05-06 18:56:51 +09:00
Miguel Angel Mulero Martinez
c542b0a367 Add D_MIN Gain and Advance to CMS 2019-05-06 10:27:43 +02:00
jflyper
0f7c84c0c6 [H7] Enable I2C (HAL) 2019-05-06 16:45:17 +09:00
Michael Keller
d9382ad012
Add new basic feature conditionals (#8175)
Add new basic feature conditionals
2019-05-06 19:07:11 +12:00
Michael Keller
d259831cca
Allow EEPROM reset without power cycling in DEBUG build (#8174)
Allow EEPROM reset without power cycling in DEBUG build
2019-05-06 19:06:54 +12:00
Michael Keller
5417e7faab
[H7] Enable USB+VCP (#8172)
[H7] Enable USB+VCP
2019-05-06 19:06:37 +12:00
Michael Keller
bc5dcc81c1
[H7] RCC and IO (#8171)
[H7] RCC and IO
2019-05-06 19:06:19 +12:00
Michael Keller
be36ea2a3e
[F7 VCP] Fix conditional for USE_USB_ID option (#8170)
[F7 VCP] Fix conditional for USE_USB_ID option
2019-05-06 19:04:18 +12:00
Michael Keller
808e80ee23
Reset d_min to 0 if >= D gain for a given axis (#8167)
Reset d_min to 0 if >= D gain for a given axis
2019-05-06 19:03:25 +12:00