Commit Graph

23 Commits

Author SHA1 Message Date
Davor Kustec 3c6a37007d Fixes from review + new PR 2020-08-31 16:40:38 +02:00
mikeller 74f2f61452 Fixed warnings in STM libraries about ignored attributes. 2019-11-26 07:27:59 +13:00
jflyper 9ed7ceb47c Register changes fired by modified EOL code for html files 2019-10-03 03:18:37 +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 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
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
jflyper e62cc6552d [F7] Move non-library CDC-HID code out of lib tree 2019-05-08 11:59:23 +09:00
mikeller 2d958f8d8a Removed non-library header from 'lib/'. 2019-04-28 14:58:53 +12:00
Dominic Clifton 705a2c565b Fix memory corruption in USB code.
Crash occurs on my machine shortly after power up.  `hhid` is null at
the time it occurs so the change to `hhid->state` causes a crash.
2019-03-16 12:02:42 +01:00
Bruce Luckcuck 02a368a8e7 Fix UNUSED() macro conflict with STM libraries
Added `#if !defined(` blocks around the `UNUSED()` definitions in the libraries to prevent conflicts.
2019-02-18 11:26:03 -05:00
Bruce Luckcuck a3d4048493 Fix MacOS on-board flash MSC mode for F7 (HAL)
Needed to fix the F7 HAL library version as well. Tested on a DALRCF722DUAL.
2018-12-21 18:36:09 -05:00
Andrey Mironov ff4c2bc145 Post-cleanup of F7 optimizations (#5729)
* Moved ART Prefetch enabling from library to main code

* Fixed tabs to spaces

* Added F7 LL EX header to simplify work with DMA and TIM

* Refactored F7 DSHOT using LL EX

* Got rid of overlooked duplicate lines
2018-04-21 18:14:35 +12:00
Andrey Mironov bf984f39b1 F7 optimizations (#5674)
* Revert "Revert "Rewritten F7 dshot to LL (draft)" (#5430)"

This reverts commit aa42a69d2f.

* Reworked F7 linker scripts to maximize performance of both F74x and F72x

* Some comments and changes from original F7 HAL DSHOT

* Prohibit inlining of some functions to place them in ITCM-RAM

* Fixed usartTargetConfigure implicit declaration

* Moved back to SRAM1 as main RAM

* Added SRAM2 attribute

* Fixed LL DSHOT FOR SPRF7DUAL and probably other adv TIM users

* Fixed SPRF7DUAL rev. A motor order

* Enabled CCM for data on F40x

* Fixed F7 startup assembly symbols

* Fixed KISSFCV2F7 linker script

* Added a quick way of building F7 targets only

* Got rid of the useless F7 target script

* Added NOINLINE and got rid of useless __APPLE__ define

* Added some important functions to ITCM

* Added NOINLINE macro for tests

* Copy to ITCM before passing execution into it

* Minimized cache footprint of motor output code

* Evicted low-impact functions from ITCM

* Switched MATEKF722 and SPRACINGF7DUAL to burst DSHOT

* Switched CLRACINGF7 to burst DSHOT

* Moved UART RX&TX buffers to DTCM-RAM to avoid cache incoherency

* Marked taskMainPidLoop for ITCM-RAM, disallowed inlining per-function

* Revert "Added a quick way of building F7 targets only"

This reverts commit 22945189980deaf493be54a5056a080e7edad629.
2018-04-20 08:37:32 +12:00
conkerkh a9136e2ba0 Add CDC+HID on F7 (#5596) 2018-04-02 14:35:51 +12:00
Dominic Clifton 0a2e5a5878 CF/BF - Update DSP_Lib and STM32F7/Drivers/CMSIS to CMSIS 5.3.0. (#5431)
* CF/BF - Update DSP_Lib and STM32F7/Drivers/CMSIS to CMSIS 5.3.0.

CMSIS 5.3.0 - https://github.com/ARM-software/CMSIS_5/releases/tag/5.3.0

* cleanup lib.

* pfft

* relocate driver files from lib/main/CMSIS/CM* to lib/main/STM32xx
folders

* Move DSP folder inside CM5.

It came from the same source as the other files inside CM5

* Remove the CM5 folder and move the files in it one level up.
2018-03-12 09:34:43 +13:00
blckmn e6780bd4d8 Fix unused param, add PERIPH_DRIVER flag for F4, tidied up F1 and F3 in prep. 2017-07-30 01:07:09 +10:00
blckmn 2dca6a5bbc Preparation for F4 being LL enabled.
Updated F7 to use latest HAL / LL libraries
2017-07-29 23:02:39 +10:00