Commit Graph

14664 Commits

Author SHA1 Message Date
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
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
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
jflyper 94b1f8ce9c [F7][LIB] Resolve conflicts of UNUSED defs ST library
Equivalent to #7596 change
2019-07-30 03:55:59 +09:00
jflyper d3c012245f [F7][LIB] Fix memory corruption in usbd_hid.c 2019-07-30 03:55:59 +09:00
jflyper 7516b36bc0 [F7][LIB] Apply changes for HID and MSC 2019-07-30 03:55:59 +09:00
jflyper ce2b5c5e3c [F7][LIB] Disable insane defs for MIN and MAX 2019-07-30 03:55:58 +09:00
jflyper ca47e60363 [F7][LIB] Handle unused parameters 2019-07-30 03:55:55 +09:00
mikeller 0374240972 Removed stray file. 2019-07-30 06:10:05 +12:00
Michael Keller 274f189897
Added Unified Target configuration for MLTEMPF4. (#8614)
Added Unified Target configuration for MLTEMPF4.
2019-07-30 06:05:17 +12:00
jflyper b724ca6c3a Let LL Dshot to build without USE_DSHOT_TELEMETRY option 2019-07-30 02:45:43 +09:00
jflyper e0d3af671b [F7][LIB] Import V1.15.0 library 2019-07-30 02:26:22 +09:00
jflyper 92f532f313 [F7][LIB] Remove old library 2019-07-30 02:26:04 +09:00
HGLRC-D d4883021f9
Update HGLRCF411.config 2019-07-29 15:55:38 +08:00
Michael Keller 5123e8bb38
Add support for IRC Tramp race lock flag, and extended VTX stat… (#7128)
Add support for IRC Tramp race lock flag, and extended VTX status.
2019-07-29 02:13:26 +12:00
jflyper b33c671e3d Clear reset reason also upon button initiated EEPROM reset 2019-07-28 22:56:39 +09:00
mikeller ccd79a8388 Updating travis to use bionic.
Enabled sudo to check if this fixes the apt installation problems.

Adding extra packages with apt-get.
2019-07-28 12:50:25 +12:00
Michael Keller 3857f6cb75
Correct IMU gyro input to be based on sample loop time rather t… (#8613)
Correct IMU gyro input to be based on sample loop time rather than actual delta time
2019-07-28 11:39:14 +12:00
Michael Keller 06cabd741f
Unify DMA stream and channel handling (#8586)
Unify DMA stream and channel handling
2019-07-28 11:03:46 +12:00
Michael Keller e00122d88a
Added target variant NUCLEOH743_RAMCONFIG. (#8488)
Added target variant NUCLEOH743_RAMCONFIG.
2019-07-28 10:36:20 +12:00
Michael Keller 93b842c566
[F7] Set DShot DMA buffer attribute to FAST_RAM_ZERO_INIT (#8610)
[F7] Set DShot DMA buffer attribute to FAST_RAM_ZERO_INIT
2019-07-28 10:21:30 +12:00
jflyper 7ddfd7dea6 Unify DMA stream and channel handling 2019-07-27 21:20:34 +09:00
jflyper e8125e57c9 Set DShot DMA buffer attribute to FAST_RAM_ZERO_INIT
The buffer was originally a part of motorDmaOutput_s structure which resided in the FAST_RAM_ZERO_INIT(DTCM RAM). The buffer was separated as a part of the motor refactor #8534, and wasn’t properly attributed.

In the future, DMA buffer coherence will be maintained by MPU and the DShot buffer will be moved there to save the scarce DTCM resource.
2019-07-27 18:22:23 +09:00
mikeller 1d730affb2 Added Unified Target configuration for MLTYPHF4. 2019-07-27 20:02:56 +12:00
mikeller b6460f8291 Added Unified Target configuration for MLTEMPF4. 2019-07-27 19:01:54 +12:00
mikeller 1c60776487 Added target variant NUCLEOH743_RAMCONFIG to get CI coverage of 'EXST' changes.
Changing over to be RAM based.

Changes required for MPU configuration service.

Added documentation.
2019-07-27 18:20:05 +12:00
Michael Keller f6870e4189
MPU configuration service (#8595)
MPU configuration service
2019-07-27 16:06:40 +12:00
Bruce Luckcuck 50ce338390 Correct IMU gyro input to be based on sample loop time rather than actual delta time
The current calculation accumulates gyro data between IMU updates based on the actual time delta betwwn samples. The problem with this is that loop time jitter or delays will decrease the accuracy of the gyro rotational input into the attitude calculation. The sensor samples based on a hardware driven clock that matches the `gyro.targetLooptime`. The sensor captures samples at these intervals regardless of when we read them so the calculation should be based on the duration between samples rather then the duration between processing loops.

Will improve the accuracy of the IMU attitude estimate - particularly in cases of higher CPU load and increased looptime jitter. Bench testing shows reduced drift. Also flight tested and behaved as expected.
2019-07-26 16:32:03 -04:00
jflyper 79b11b9c61 Set DShot DMA buffer attribute to FAST_RAM_ZERO_INIT
The buffer was originally a part of motorDmaOutput_s structure which resided in the FAST_RAM_ZERO_INIT(DTCM RAM). The buffer was separated as a part of the motor refactor #8534, and wasn’t properly attributed.

In the future, DMA buffer coherence will be maintained by MPU and the DShot buffer will be moved there to save the scarce DTCM resource.
2019-07-26 18:02:09 +09:00