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

14408 commits

Author SHA1 Message Date
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
77ef37bad0
Merge pull request #8181 from mikeller/update_pre_push_build
Removed legacy F3 target from 'pre-push' target.
2019-05-06 19:07:23 +12: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
Michael Keller
d7e29d4949
[H7] config_streamer (#8166)
[H7] config_streamer
2019-05-06 19:02:52 +12:00
Michael Keller
441d8e3336
Change scheduler_optimze_rate to only affect realtime tasks (#8169)
Change scheduler_optimze_rate to only affect realtime tasks
2019-05-06 18:57:27 +12:00
Michael Keller
8669896557
USE_CRSF_LINK_STATISTICS Split from pr 8042 (#8180)
USE_CRSF_LINK_STATISTICS Split from pr 8042
2019-05-06 18:56:48 +12:00
Michael Keller
c56690786d
RTC6705 cleanup (#7114)
RTC6705 cleanup
2019-05-06 18:50:29 +12:00
Michael Keller
c4e3204e1a
Add MAMBAF722 Target (#8182)
Add MAMBAF722 Target
2019-05-06 18:42:38 +12:00
jflyper
4eaba83c95 [H7] Enable CAMERA_CONTROL 2019-05-06 14:57:28 +09:00
jflyper
76d6a14c55 [H7] Enable software serial 2019-05-06 14:56:03 +09:00
jflyper
5d1733bb3e [H7] Port RTC backup register based persistent storage 2019-05-06 14:50:52 +09:00
Kevin Berner
3aa3751d11 Inital MAMBAF722 Target 2019-05-06 00:08:12 -05:00