1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00
Commit graph

14841 commits

Author SHA1 Message Date
Michael Keller
5fc78a43fc
Refactor UART (#8645)
Refactor UART
2019-08-03 09:51:43 +12:00
Thorsten Laux
e66ab2d8fe ifdef static var 2019-08-02 17:30:22 +02:00
Thorsten Laux
d033a8dc76 address code review 2019-08-02 14:20:37 +02:00
Thorsten Laux
293dc42710 address feedback 2019-08-02 13:51:44 +02:00
Thorsten Laux
bca9f8a587 better idle defaults and don't set idle_throttle if not enabled 2019-08-02 13:51:44 +02:00
Thorsten Laux
e39d5e7000 Make dyn_idle a conditional compile 2019-08-02 13:51:44 +02:00
Thorsten Laux
b4c4757470 Conditional idle compile 2019-08-02 13:51:44 +02:00
Thorsten Laux
ba2c1e9264 IDLE updates 2019-08-02 13:51:44 +02:00
Thorsten Laux
d474df3149 idle 2019-08-02 13:51:44 +02:00
Thorsten Laux
835a5cac0e rebase
Reduce code by supporting only GCR, fix serial_4way, fix f7 dshot bidir

fix ws and eliminate superfluous buffer

use GCR constant instead of 32

decode optimization

bump 4way prot version mumber

bump if version
2019-08-02 13:49:48 +02:00
Michael Keller
383ba1cd8e
Fix vtx_freq default value when USE_VTX_TABLES is defined (#8637)
Fix vtx_freq default value when USE_VTX_TABLES is defined
2019-08-02 19:09:01 +12:00
Bruce Luckcuck
ad3936de6a Fix CLI vtxtable powervalue output formatting 2019-08-01 19:40:45 -04:00
Bruce Luckcuck
cc93ce060b Also default vtx_band, vtx_channel, vtx_power to 0 if USE_VTX_TABLE is defined 2019-08-01 19:15:54 -04:00
Michael Keller
ae9d41d9f8
Remove stale DMA service function (#8636)
Remove stale DMA service function
2019-08-02 08:41:25 +12:00
jflyper
ff759034f3 Refactor (consolidation and separation of stdperiph and hal) 2019-08-02 04:11:22 +09:00
Kevin Berner
1a09302aca Initial MAMBAF411 Target 2019-08-01 10:48:25 -05:00
Dominic Clifton
c071623a69 SPRACINGH7ZERO - Support I2C4 on motor outputs 5/6. 2019-08-01 15:34:26 +02:00
Dominic Clifton
a66463c8e1 STM32H750 - Fix I2C4 RCC. It's on APB4, not APB1.
* See `RCC_APB4ENR_I2C4EN` in CMSIS stm32h7*.h
2019-08-01 15:34:09 +02:00
Dominic Clifton
2cbd860da0 Move defaults for I2CX_OVERCLOCK to allow compilation without specifying
overclock settings
2019-08-01 15:32:53 +02:00
Michael Keller
3be994a880
Prevent calls to presistent object functions for unsupported MCU (#8633)
Prevent calls to presistent object functions for unsupported MCU
2019-08-01 23:24:41 +12:00
mikeller
cc079804ad Changed the 4.1 release date and added blurb about it. 2019-08-01 23:24:27 +12:00
mikeller
ac625bfa55 Add more guards. 2019-08-01 22:25:51 +12:00
jflyper
05759a7134 Remove the artifact 2019-08-01 17:19:28 +09:00
Michael Keller
a16b67b5a4
Merge pull request #8634 from jflyper/bfdev-unified-stream-channel-handling-for-LL-Dshot
DMA Stream/Channel unification on LL-DShot
2019-08-01 19:16:25 +12:00
Michael Keller
52a2b23bbe
Fix default axis values for arbitrary gyro alignment (#8602)
Fix default axis values for arbitrary gyro alignment
2019-08-01 14:31:49 +12:00
Michael Keller
0908ea3fce
[F7] Migration to FW library V1.15.0 (#8626)
[F7] Migration to FW library V1.15.0
2019-08-01 14:31:23 +12:00
Michael Keller
03220adea9
Update HGLRCF411.config (#8622)
Update HGLRCF411.config
2019-08-01 14:30:00 +12:00
Michael Keller
6b2aaf36a1
Removed stray file. (#8627)
Removed stray file.
2019-08-01 14:29:00 +12:00
Michael Keller
bea0eb7e6b
SPRACINGH7ZERO - STM32H750 400Mhz FC with OSD, Baro & BEC. (#8629)
SPRACINGH7ZERO - STM32H750 400Mhz FC with OSD, Baro & BEC.
2019-08-01 14:28:29 +12:00
Michael Keller
027692c52f
Add unified target support for IFLIGHT_F411_TWING board. (#8631)
Add unified target support for IFLIGHT_F411_TWING board.
2019-08-01 14:27:14 +12:00
Michael Keller
5a71ec3040
Cli command help text typo fixed (#8632)
Cli command help text typo fixed
2019-08-01 14:25:54 +12:00
Bruce Luckcuck
f543daa8ba Fix vtx_freq default value when USE_VTX_TABLES is defined
When a `vtxDevice` was active (like if `USE_VTX_RTC6705` is defined for the target) then the initialization logic would try to look up the frequency based on the band/channel and update the `vtx_freq` setting. The problem is that initially the `vtxtable` is not defined so the frequency lookup fails and returns 0. This resulted in a defaults difference since the default value was 5740 which would have matched the default band and channel if the "standard" bands/channels were set up with `vtxtable`. So instead set the default value to 0 unless legacy built-in frequencies are used (`USE_VTX_TABLES` not defined).
2019-07-31 21:23:18 -04:00
jflyper
1dcf8ad576 Remove stale dma service 2019-08-01 03:28:32 +09:00
jflyper
e6ae7e034f [F7] sdio_f7xx.c: adapt to FW library V1.5.0
These defs are already present in the old library also… Not sure how
they managed to get through without generating errors.
2019-07-31 12:18:47 +09:00
jflyper
713783c76b [F7][LIB] Fix MacOS on-board flash MSC mode for F7 (HAL)
Equivalent to a3d4048 (#7266)
2019-07-31 12:18:43 +09:00
jflyper
a103de784e DMA Stream/Channel unification on LL-DShot 2019-07-31 11:59:02 +09:00
jflyper
4d41c361c4
Merge pull request #8625 from jflyper/bfdev-fix-LL-dshot-to-compile-without-telemetry
Let LL-Dshot build without USE_DSHOT_TELEMETRY option
2019-07-31 11:57:55 +09:00
Dominic Clifton
932f14d3b9
Merge pull request #8628 from hydra/fix-h7-uart-idle-handling
Fix H7 crashing on boot due to #8599
2019-07-31 01:29:21 +02:00
Bruce Luckcuck
e4c357a02b Prevent calls to presistent object functions for unsupported MCU
Fixes for #8619
2019-07-30 10:00:58 -04:00
TheIsotopes
d5f47cce72
comment request
only typo fix
2019-07-30 13:46:25 +02:00
TheIsotopes
5e379529e5
Cli command renamed and typo fixed
can be typed faster ;-)
2019-07-30 12:02:11 +02:00
LinJieqiang
59a35d5c5a Add unified target support for IFLIGHT_F411_TWING board.
Reset IFLIGHTF4_TWING board osd default setting.
Rename Other IFFC board.
2019-07-30 11:12:38 +08:00
Dominic Clifton
40110d80db SPRACINGH7ZERO - Unified target config. 2019-07-30 00:14:50 +02:00
Dominic Clifton
f943ebfae2 SPRACINGH7ZERO - Add boards documentation and images. 2019-07-30 00:14:33 +02:00
Dominic Clifton
e1c70033d5 Fix H7 crashing on boot caused by missing change in
38013a8253.
2019-07-29 23:24:16 +02:00
Bruce Luckcuck
3da40f7ec3 Fix default axis values for arbitrary gyro alignment
Prevents clean installs from displaying the sensor alignment as changed values in the `diff`.

Sets the default values for the sensor alignment axes to match the selected sensor alignment. Previously the axis values defaulted to 0 so when the active value was set based on the sensor alignment these values would appear as changes in the `diff` even though they were actually the default values. Corrected the default values to be based on the selected sensor alignment default.
2019-07-29 17:19:46 -04:00
Dominic Clifton
45703e5a52 SPRACINGH7ZERO - STM32H750 400Mhz FC with OSD, Baro & BEC.
Website: http://seriouslypro.com/spracingh7zero
Shop: https://shop.seriouslypro.com/sp-racing-h7-zero

STM32 H7 400Mhz CPU (1MB Ram, 128k flash)
128MByte Flash (for firmware, config and Blackbox logging, 4-bit QuadSPI
not 1-bit SPI)
Single ICM20602 Gyro (SPI, with interrupt signals, 32khz capable)
BMP388 Baro (I2C + interrupt)
OSD (dedicated SPI)
SD Card (4-bit SDIO not 1-bit SPI)
2-6S BEC
8 Motor outputs
6 Serial ports.
Single sided PCB.
Entire PCB side dedicated to solder pads.
2019-07-29 22:20:35 +02:00
Michael Keller
924c40a50d
Clear reset reason also upon button initiated EEPROM reset (#8619)
Clear reset reason also upon button initiated EEPROM reset
2019-07-30 07:29:14 +12:00
Michael Keller
4a94611405
Updating travis to use bionic. (#8618)
Updating travis to use bionic.
2019-07-30 07:19:19 +12:00
jflyper
d99c53c86f [F7][LIB] Moved ART Prefetch enabling from library to main code
Equivalent to 397db37 (#5729)
2019-07-30 03:55:59 +09:00