1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00
Commit graph

19 commits

Author SHA1 Message Date
Mathias Rasmussen
9957ceb275 Fix function brace style 2022-10-12 16:31:55 +02:00
Steve Evans
87c8847c13 New SPI API supporting DMA
Call targetConfiguration() once before config is loaded and again afterwards in case the config needs to be changed to load from SD card etc

Drop SPI clock during binding

Remove debug

Add per device SPI DMA enable

Fix sdioPinConfigure() declaration warning

Reduce clock speed during SPI RX initialisation
2021-07-25 12:40:25 +12:00
Steve Evans
41a0ca43d1 Run SPI FLASH at full speed 2020-10-27 00:17:34 +00:00
mikeller
386be8d742 Added registration for bus devices. 2020-07-08 21:34:31 +12:00
mikeller
278ebf3aea Fixed the MS5611 baro in SPI mode. 2020-04-27 00:52:11 +12:00
SteveCEvans
833e760f05 Split baro processing into a number of phases and use non-blocking deferred I2C accesses 2019-08-26 17:17:31 +01:00
Dominic Clifton
53167b161f BMP388 - Add support for BMP388 barometer.
BMP388 - Move the static assert.

BMP388 - Build faster when the baro driver is not enabled.

BMP388 - Fix spi init due to changes in master.

BMP388 - Add missing bmp388 unit test files.

BMP388 - Remove debug code.

BMP388 - Prepare EXTI/EOC handling for unified targets.

BMP388 - enable on unified targets.

BMP388 - Add support to NUCLEOF722.

BMP388 - Add support to NUCLEOH743.

BMP388 - Add BMP388 (via SPI) support to NUCLEOF7

* For some CI visibility on the conditional baro SPI code.

NUCLEOH743 - Add LPS baro for more CI visibility.

Remove whitespace, as requested.

Move barometer `#defines` into the implementations.

Cleanup style of method names in baro drivers.
2019-07-02 08:14:23 +12:00
jflyper
343e9b3a67 Allow mixed speed and mode on a SPI bus by CR1 caching 2019-01-14 03:34:27 +09:00
jflyper
9ea1428d11 Introduce per device pin pre-init 2018-12-13 11:15:26 +09:00
jflyper
f9a43099db SPI CS preinit for configurability 2018-05-24 22:00:26 +09:00
Michael Jakob
60b8e0f05e Configurable compass drivers based on jflyper's PR #3613
Eliminate static variables in mag drivers
AK8975 and HMC5883l driver cleanup
replace magic numbers with definitions
Switched AK8963/Ak8975 to 16 bit mode
Update Mag gain calculations to use integer varables (ledvinap
recomendation)
Update interrupt handling for HMC5883L
Reschedule compass task only if slave mode is realy active
Change bustye definitions to an enumeration set
Fix dispatch functions and remove redundant dispatch functions from Baro
and Mag drivers 
Fix unittest
2017-10-17 22:22:11 +02:00
Martin Budden
2fd20c2bd9 Rename SPI functions. Rationalise parameter order. 2017-07-20 16:22:59 +01:00
jflyper
f2d313e849 Final touch-ups 2017-07-18 22:01:30 +09:00
jflyper
6b4b880c85 Added stubs for tests 2017-07-17 09:29:28 +09:00
Dan Nixon
ffeddc958c Add back and refactor some unit tests.
Re-enabled:
 - BMP280
 - MS5166
 - Maths test cases
 - Serial IO

Refactored:
 - Scheduler

Tried to decouple the test from the actual tasks (in fc_tashs.h/c) in
the majority of logical tests.
2017-06-12 15:02:00 +01:00
Martin Budden
2e71ac3b84 Got unit tests working by removing non-working tests 2016-10-16 10:12:41 +01:00
Dominic Clifton
4c8f7db2c9 Updating the test suite names for some new MS5611 barometer tests. 2015-07-10 01:35:11 +01:00
Dominic Clifton
18699a1ba2 Merge branch 'baro_pressure_unit_test' of https://github.com/SteveAmor/cleanflight into SteveAmor-baro_pressure_unit_test 2015-07-10 01:32:40 +01:00
Dominic Clifton
d3e359b9e0 Merge branch 'bmp085_unit_test' of
https://github.com/SteveAmor/cleanflight into SteveAmor-bmp085_unit_test

Conflicts:
	src/test/Makefile
2015-07-10 01:29:42 +01:00