1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00
Commit graph

48 commits

Author SHA1 Message Date
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
Martin Budden
725f0dfa26 Separated ADC parameter group code into separate files 2017-12-15 01:31:29 +00:00
Martin Budden
d6d70d5a74 Fixed F1 build 2017-12-01 06:50:34 +00:00
jflyper
7a57468c8c Configurable ADC 2017-11-07 17:50:45 +09: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
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
Martin Budden
541f4d4018 Directory rearrangement to reflect cleanflight changes 2016-08-07 13:44:00 +01:00
Martin Budden
d9733b8206 Various measures to save ROM 2016-07-25 08:56:28 +01: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
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
Petr Ledvina
e8f0e0d97c use #defines for ADC on stm32f10x
Make stm32f103 ADC more similar to stm32f30x
2015-10-12 19:58:07 +01:00
Pierre-A
0ad8f8e6d3 correction of bug for adcRssi 2015-09-12 11:29:55 +02: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
430ccd2338 STM32F3DISCOVERY/CHEBUZZF3 - Move ADC pin definitions to target.h files 2015-02-04 21:51:04 +00:00
Dominic Clifton
b7850270c4 Cleanup CC3D/NAZE/OLIMEXINO ADC initialisation and PWM mapping. Fixes
#297.
2015-01-21 01:06:16 +01:00
Petr Ledvina
6888de5192 Fix ADC clock speed to be within specification
ADC clock speed may be slightly higher, but there is no benefit in current code
2014-12-26 17:16:05 +01: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
Pierre-A
caf81ad640 RSSI monitoring on CC3D 2014-11-07 09:23:54 +01:00
Pierre-A
d0ec471d03 Current monitoring on CC3D 2014-10-21 20:30:40 +02:00
Dominic Clifton
91c7407806 Cleanup CC3D softserial - it only has enough pins/timers for one port.
PR #124 incorrectly re-used the same timer hardware for the second port
which was bad.
2014-10-20 19:34:10 +01:00
Dominic Clifton
a4879cc2e3 Use Naze hardware revision when initialising ADC. 2014-10-15 21:14:49 +01:00
Dominic Clifton
41ff2e8d0e CC3D - Add support for battery voltage monitoring on S5_IN.
See docs for further details.
2014-09-19 21:16:40 +01:00
Dominic Clifton
d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
Dominic Clifton
58e0900d5e CC3D - fixing two unused variable compiler warnings. 2014-08-02 00:46:01 +01:00
Dominic Clifton
5f16cfb72a CC3D - Support MPU6000 Gyro/Acc and SPI 1/2. 2014-07-17 22:12:21 +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
Renamed from src/drivers/adc_stm32f10x.c (Browse further)