jflyper
7ddfd7dea6
Unify DMA stream and channel handling
2019-07-27 21:20:34 +09:00
jflyper
0b434369d0
Remove bogus inclusion of drivers/accgyro/accgyro.h
2019-06-03 22:28:48 +09:00
jflyper
1b49b33e00
[H7] Enable ADC
...
- Initial cut without internal sensors
- Full DMA including internal sensors spanning multiple ADC peripherals
- Skip ADC initialisation when ADC instance is unused to avoid crash.
- Add volatile & DMA_RAM attribute to ADC DMA buffer
- Revised DMA coherency handling
- adcGetChannelValues - added comment and moved def to adc_impl.h
- Changes per PR comment (indentation fix)
2019-05-08 21:07:29 +09:00
mikeller
f8103b8c86
Added DMA mapping (readonly for now), and enabled timer management for all F4 boards.
...
Converting the universal target as well.
Simplified timer management some.
Added F722 support for good measuer.
Fixed SITL, tests.
Cleanup after rebase.
Added support for all timer consumers and F7.
Fixed 'USE_DMA_SPEC' for F3, some cleanups.
2019-02-28 00:25:43 +13:00
Mikolaj Stawiski
401ecb7afd
ADC driver refactor: removed "continue" in loops to improve readability and fixed a typo.
2019-01-12 11:49:40 +11:00
jflyper
fe182bb2fb
Introduce dma_reqmap
2018-12-30 09:40:37 +09:00
jflyper
1df0147a2b
F3: use ADC device from PG
2018-09-28 11:47:44 +09:00
Andrey Mironov
7a331d03f4
Added preliminary support for STM32F765xx
2018-09-07 22:47:20 +03:00
blckmn
a9f74cd6df
Removed excess trailing spaces before new lines on licenses.
2018-04-25 20:58:00 +10:00
blckmn
46fe22b4bd
Direct license replacement
2018-04-22 09:22:46 +10:00
jflyper
d2bc4e5af5
F7 Internal ADC (VREFINT and TEMPSENSOR) ( #5322 )
2018-03-21 00:52:37 +13:00
Dominic Clifton
66328ce9b4
Remove duplicate ADC code.
...
See adc.h
2018-02-22 19:38:24 +01:00
Michael Keller
74672972ba
Merge pull request #4776 from jflyper/bfdev-add-conditional-to-mcu-dep-adc-drivers
...
ADC Add conditionals for MCU dependent drivers
2017-12-19 08:42:16 +13:00
jflyper
3b3ed72be8
Add conditionals for MCU dependent ADC drivers
2017-12-18 23:18:21 +09:00
Martin Budden
725f0dfa26
Separated ADC parameter group code into separate files
2017-12-15 01:31:29 +00:00
jflyper
7a57468c8c
Configurable ADC
2017-11-07 17:50:45 +09:00
Martin Budden
3d4f0bb137
Whitespace tidy
2017-07-05 06:36:22 +01:00
mikeller
d2b2b8b8bb
Added option to override ADC DMA for F7.
2017-05-13 18:18:56 +12:00
Martin Budden
2493c214b0
Created subdirectories in drivers directory
2017-04-12 08:06:22 +01:00
Hydra
249c707beb
CF/BF - rename adcConfig.currentMeter to adcConfig.current
2017-03-19 10:40:09 +00:00
borisbstyle
de3d1d527d
Merge branch 'master' into patch_v3.1.6
2017-02-20 14:40:43 +01:00
Martin Budden
df630f1cf4
Preparation for conversion to parameter groups 8
2017-02-16 21:54:16 +00:00
Sami Korhonen
1102df5d68
Disable F7 D-cache until more knowledge is acquired
2017-02-14 22:48:49 +01:00
Sami Korhonen
358bdf76f3
Fix F7 ADC
2017-01-07 11:45:15 +02:00
blckmn
1565d3aab6
Fixed build errors on targets with no defined ADC pins
2016-11-13 16:16:05 +11:00
blckmn
17facbea84
sdcard dma config, adc config, bluejayf4 hardware revision
...
Moved ADC to configuration stored in masterConfig.
- can remove features for vbat etc in future (perhaps param groups)
- allows adc to be turned off completely (freeing up dma)
Added feature SDCARD
- enables it to be turned off.
- allows for DMA to be turned off (set sdcard_dma=OFF)
Fixed hardware revision to allow BJF4 mini to use the same target (no need for an additional target).
2016-11-13 14:25:33 +11:00
Martin Budden
19901730fc
Removed trailing spaces from device drivers
2016-11-11 08:11:48 +00:00
blckmn
953c8da179
Corrections - too many initialisers, and ADC
2016-11-10 20:34:00 +11:00
blckmn
58105c25ac
Simplified Owner management
2016-11-10 18:56:13 +11:00
blckmn
8dc3bee80d
Adding DMA ownership for ADC, LED STRIP, USART and MOTOR
2016-11-08 13:47:37 +11:00
Sami Korhonen
24a481c1e8
F7 Enable ADC
2016-10-21 08:51:06 +03:00
Sami Korhonen
1f8805cdf0
squash betaflightF7
...
Parts and driver boost from @npsm
2016-10-21 08:51:02 +03:00