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
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
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
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
Michael Keller
037313f995
Merge pull request #3898 from jflyper/bfdev-configurable-adc
...
Configurable ADC
2017-11-07 22:39:18 +13:00
jflyper
7a57468c8c
Configurable ADC
2017-11-07 17:50:45 +09:00
Steffen Windoffer
03aa31acdd
remove not needed whitespaces
2017-08-24 11:33:39 +02:00
blckmn
e8c4ef83d9
IO Clean up and use of Low level for F7
...
- Move F7 to optional LL driver for IO and
- cleaned up and removed the remaining old gpio functions from other targets
2017-07-28 04:03:56 +10:00
Martin Budden
23f158913e
Moved time functions out of system.h into time.h
2017-05-26 14:03:28 +01: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
Martin Budden
df630f1cf4
Preparation for conversion to parameter groups 8
2017-02-16 21:54:16 +00:00
Martin Budden
9558ae2519
Change tabs to spaces and remove trailing whitespace
2016-12-01 18:11:52 +00:00
fishpepper
703deeb79f
added support for ADC3 in F3 targets
2016-11-22 20:57:02 +01: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
DTF UHF
760a2b2e67
Fix additional DMA conflict with DMA2.
2016-11-09 13:25:29 -05:00
blckmn
8dc3bee80d
Adding DMA ownership for ADC, LED STRIP, USART and MOTOR
2016-11-08 13:47:37 +11:00
Martin Budden
141b369667
Removed trailing whitespace
2016-07-16 07:54:58 +01:00
Martin Budden
59adc362c3
Whitespace and variable initialisation tidy
2016-07-15 08:28:16 +01:00
Martin Budden
ea283ab98c
Converted tabs to spaces
2016-07-09 14:39:39 +01:00
blckmn
67d448d8ea
Improved Resource command output.
2016-07-09 17:03:16 +10:00
blckmn
0b48943a3c
Fix ADC STM32F3 define
2016-07-05 22:03:18 +10:00
blckmn
e70d15114b
Fixed ADC issue with NAZE (and other F1 targets)
2016-06-29 19:00:18 +10:00
Martin Budden
97fe5afd6c
Converted tabs to spaces.
2016-06-27 19:26:02 +01:00
blckmn
c764b0a919
Consistent naming of tag versus pin. Updates based on feedback.
2016-06-24 12:15:18 +10:00
blckmn
71353066b8
Remove need to specify ADC Channel (only 1 per pin).
2016-06-24 09:55:11 +10:00
blckmn
7e6fb8db65
ADC converted to new IO mapping
2016-06-24 09:55:09 +10:00
blckmn
d81d445165
Adjusted all other targets
2016-06-15 05:27:59 +10:00
Read Error
9899476dbb
Re-submitting, previous history re-write purged original. This will make current ADC work on F3.
2015-11-06 09:38:27 -05:00
Dominic Clifton
56010f2da7
Fix incorrect DMA index for RSSI and Current.
...
The result was that RSSI and Current were transposed when both were used
together.
2015-08-05 04:52:19 +01:00
Dominic Clifton
3b77626dd8
Only enable VBat ADC when VBat feature is enabled.
...
Fixes #612
2015-03-13 22:28:10 +01:00
Petr Ledvina
d3324a9f0d
Move ADC internal interface into new header file
2015-02-23 09:17:06 +01:00
Dominic Clifton
fdb81ed3b9
SPRACINGF3 - Enable ADC for VBAT, Current and RSSI.
2015-02-04 21:51:23 +00:00
Dominic Clifton
430ccd2338
STM32F3DISCOVERY/CHEBUZZF3 - Move ADC pin definitions to target.h files
2015-02-04 21:51:04 +00:00
Dominic Clifton
183c5f8e16
Add MPU9150 mag support and mag autodetection. Add AK8975 mag driver.
...
Note: not working on the sparky, MPU9150 needs passthough enabling but
when enabled the mag and gyro won't ack on the default addresses. Needs
further investigation.
2014-12-21 23:40:48 +00:00
Dominic Clifton
e43348598a
Whitespace cleanup.
2014-12-09 03:12:36 +00:00
Dominic Clifton
d60183d91d
Normalize all the line endings
2014-09-15 23:40:17 +01:00
Dominic Clifton
e867af8c4b
Correct project name in GPL notices.
2014-06-05 00:47:47 +01:00
Dominic Clifton
0bbcd6570f
Updated source files to include the GPL v3 notices. Include a copy of
...
the GPL v3.
2014-06-04 16:48:23 +01:00
Dominic Clifton
32622da0ab
Continuation of extracting peripheral configuration into drivers.
2014-06-04 14:53:34 +01:00
Dominic Clifton
16528cf0d9
Move some clock initialisation code into the drivers.
2014-06-04 11:14:13 +01:00
Dominic Clifton
d19a5e7046
Cleanup project structure. Update unit test Makefile to place object
...
files in obj/test
2014-05-31 22:43:06 +01:00