Commit Graph

151 Commits

Author SHA1 Message Date
mikeller ad4cc3d74f Cleaned up the inclusion of the microcode for BMI270. 2020-03-11 20:47:43 +13:00
Bruce Luckcuck 7f03b42ac0 Required modifications to the BoschSensortec/BMI270-Sensor-API library 2020-03-08 18:58:16 -04:00
Bruce Luckcuck 447cbac988 Add support for Bosch BMI270 gyro/accelerometer sensor 2020-03-08 18:56:50 -04:00
jflyper c08b321dee [H7][LIB][SDMMC] Workaround for SDMMC Errata 2.11.4
Application of

STM32H750 - Apply workaround to the SDMMC Errata 2.11.4 (8446832)

to V1.6.0
2020-02-08 12:38:57 +09:00
jflyper 172ce0fc2c [H7][LIB][USB] Middlewares change: Fix memory corruption
Application of
[H7] USB LIB Middlewares change: Avoid null hhid from being deferenced
to V1.6.0
2020-02-08 12:38:57 +09:00
jflyper 79fa75b2b2 [H7][LIB][USB] Modify USB Library for composite device 2020-02-08 12:38:57 +09:00
jflyper 6725595f37 [H7][LIB] Remove duplicate definition of assert_param from LL dma & Tim 2020-02-08 12:38:57 +09:00
jflyper 3a42a373bd [H7][LIB] Take care of UNUSED parameters in V1.6.0 2020-02-08 12:38:57 +09:00
jflyper 6d486f0566 [H7][LIB] Modify HAL SPI driver for const-ness 2020-02-08 12:38:57 +09:00
jflyper a4519df277 [H7][LIB][USB] usbd_def: disable insane defs of MIN and MAX 2020-02-08 12:38:56 +09:00
jflyper b49f9e1f59 [H7][LIB][USB] Import "Middleware" from V1.6.0 distribution 2020-02-08 12:38:45 +09:00
jflyper 6f293d01d4 [H7][LIB] Import FW V1.6.0 library
Removed MiddleWares
2020-02-08 12:30:23 +09:00
jflyper 6e8a03bf64 [H7][LIB] Remove V1.4.0 FW library 2020-02-08 04:50:25 +09:00
jflyper 9fea8fc08d [G4][LIB] Fix LL_DMA_{Set,Get}PeriphRequest
Fix bad handling of DMA_TypeDef argument in LL_DMA_{Set,Get}PeriphRequest() inline macro.
This bug causes peripheral requests for DMA2 to be set in DMAMUX channels for DMA1.

This is fixed in FW library V1.1.0.
2020-01-15 10:45:39 +09:00
jflyper 53e81732f6 [G4][LIB][USB] Middlewares change: Fix memory corruption 2020-01-15 10:45:39 +09:00
jflyper 651c40c397 [G4][LIB][USB] Remove insane defs for MIN and MAX 2020-01-15 10:45:39 +09:00
jflyper 7dfac1aaea [G4][LIB] Modify USB Middleware library for addition of HID and MSC
MSC updates
2020-01-15 10:45:39 +09:00
jflyper a8b589de88 [G4][LIB] Modify HAL SPI driver for const-ness to match call from current bus_spi driver 2020-01-15 10:45:39 +09:00
jflyper a5d08c91c5 [G4][LIB] Take care of unused parameters in USB library 2020-01-15 10:45:38 +09:00
jflyper ddd60b6fbb [G4][LIB] Take care of FLASH_SIZE symbol collision with BF 2020-01-15 10:45:33 +09:00
jflyper 5eef822b6a [G4][LIB] Import FW library V1.0.0 2020-01-13 23:55:09 +09:00
Michael Keller 15c63c0fca
Ignore warnings about access to packed struct in MAVlink as the… (#9239)
Ignore warnings about access to packed struct in MAVlink as the accessed member is actually aligned.
2019-11-29 02:51:58 +13:00
mikeller 52a66a24f9 Ignore warnings about access to packed struct in MAVlink as the accessed member is actually aligned. 2019-11-28 12:42:39 +13:00
mikeller c1e31617b1 Fixed the 'attribute' warning in H7 libraries. 2019-11-27 20:01:13 +13: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
mikeller 865713460e Remove overshoot in warning suppression introduced in #8713. 2019-08-18 08:43:15 +12:00
Dominic Clifton 064b578d43
Merge pull request #8713 from jflyper/bfdev-h7-fix-ll-for-size-sensitive-spi-reg
[H7][LIB] Suppress warnings on type-punned pointers (LL-SPI)
2019-08-16 18:30:00 +02:00
jflyper 880a5d6b55 [H7][LIB] Supress strict aliasing rule warnings on deferencing type-punned pointers 2019-08-16 00:24:08 +09:00
jflyper 1d44de3d42 [H7][LIB] Remove duplicate definition of assert_param from LL dma and Tim 2019-08-12 11:25:34 +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 6fbc0f44ca [H7][LIB][SPI] Use union to access size sensitive SPI data register
Application of

Use union to access access size sensitive registers (7a0d3e7)

to V1.4.0

----
Note from "Use union to access access size sensitive registers (7a0d3e7)":
----

Use union to access access size sensitive registers

As described in RM0433 section 49.4.13 "Data packing", STM32H7's SPI data register supports data packing and it is sensitive to actual access width.

The original code used pointer casting to obtain a code to access the register in a desired size.
However, these operation results in strict aliasing warnings (deferencing punned pointer) and are not desirable.

Here, we declare a union that allow access to a 32-bit register in 8, 16 or 32-bit width and cast pointer to the original RXDR and TXDR data registers and then access the portion of the register through an appropriate union member.

XXX FIXME Only handled 16-bit access case, as 32-bit (original declaration) and 8-bit (allowed) cases do not generate warnings, but these should be handled similarly for correctness and consistency of the code.
2019-07-08 09:36:04 +09:00
jflyper 8bbc1456f3 [H7][LIB][USB] Middlewares change: Fix memory corruption
Application of
[H7] USB LIB Middlewares change: Avoid null hhid from being deferenced
to V1.4.0
2019-07-08 09:36:04 +09:00
jflyper c6321190a9 [H7][LIB][USB] Modify USB Library for composite device
Application of

[H7] Modify USB Middleware library for composite device support #8235 (1861c6d)

to V1.4.0
2019-07-08 09:30:55 +09:00
jflyper d924e59c3c [H7][LIB][SDMMC] Workaround for SDMMC Errata 2.11.4
Application of

STM32H750 - Apply workaround to the SDMMC Errata 2.11.4 (8446832)

to V1.4.0
2019-07-08 09:30:55 +09:00
jflyper 41f7c0c5fd [H7][LIB][SD] Fix for H750 Errata 2.11.5.
Application of

STM32H750 - Fix for H750 Errata 2.11.5. (adcf556)

to V1.4.0
2019-07-08 09:30:55 +09:00
jflyper 125e0887b5 [H7][LIB] Take care of UNUSED parameters in V1.4.0 2019-07-08 09:30:54 +09:00
jflyper 49ee02a707 [H7][LIB] Modify HAL SPI driver for const-ness to match call from current bus_spi driver 2019-07-08 09:30:54 +09:00
jflyper 42c9475203 [H7][LIB][USB] usbd_def: disable insane defs of MIN and MAX 2019-07-08 09:30:54 +09:00
jflyper 0c7bc10bd0 [H7][LIB][CMSIS] Handle FLASH_SIZE def collision with Betaflight 2019-07-08 09:30:40 +09:00
jflyper 2f911c1163 [H7][LIB] Import V1.4.0 library 2019-07-05 00:09:01 +09:00
jflyper 1a8d40494d [H7][LIB] Remove V1.3.0 library 2019-07-05 00:09:00 +09:00