Commit Graph

35 Commits

Author SHA1 Message Date
jflyper 52bfef1ea5 Configurable I2C (rework) 2017-06-16 01:20:32 +09:00
Martin Budden 2493c214b0 Created subdirectories in drivers directory 2017-04-12 08:06:22 +01:00
Martin Budden 19901730fc Removed trailing spaces from device drivers 2016-11-11 08:11:48 +00:00
blckmn 58105c25ac Simplified Owner management 2016-11-10 18:56:13 +11:00
borisbstyle 534b77554b Merge branch 'master' into development 2016-08-15 22:00:22 +02:00
borisbstyle ac7e7ee5a9 Increase GPIO speed to 50Mhz for i2c as per @digitalentity inav 2016-08-15 12:14:18 +02:00
Martin Budden 07adf66bbb Optimisation of driver header files 2016-08-07 01:14:11 +02:00
Martin Budden 1c997abaaf Moved function declarations out of main. Tidied drivers. 2016-08-02 15:11:35 +01:00
Martin Budden 141b369667 Removed trailing whitespace 2016-07-16 07:54:58 +01:00
Martin Budden 3d8ee50934 Removed unnecesary #includes from drivers 2016-07-11 18:45:35 +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
Anders Höglund f2482ed768 Merge pull request #642 from AndersHoglund/i2c_stretch_fix
Added I2C clock stretching.
2016-07-04 10:40:14 +02:00
blckmn c5071fcdad USE_I2C_PULLUP now a potential define in target.h 2016-06-28 21:07:04 +10:00
blckmn 657564efa7 Small tidy 2016-06-28 19:47:00 +10:00
blckmn abd6b1e0f6 Enable pull ups for i2c for F3 targets by default. 2016-06-28 07:25:02 +10:00
Anders Hoglund 16d9a952a2 Added I2C clock stretching. 2016-06-27 14:12:02 +02:00
blckmn 499d7522c2 Re-enabling i2c overclocking (lower CPU usage) 2016-06-25 21:22:10 +10:00
blckmn 37e7b5ee4a Adjust interface for i2c to add requirement for device to be specified. 2016-06-03 21:20:11 +10:00
blckmn 33033c326b More i2c updates for io 2016-06-03 20:21:10 +10:00
Dominic Clifton 0344fa22f4 Syncronsise I2C timeouts of F1 and F3 targets 2016-02-02 23:36:24 +01:00
borisbstyle 394e6be4a6 Merge remote-tracking branch 'ledvinap/fix-303-i2c' into betaflight 2015-11-06 17:11:07 +01:00
Petr Ledvina 1979962029 Change I2C output type to OD
I2C OType should be set to OpenDrain (lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_i2c.c#L31)
2015-11-06 11:38:57 +01:00
Moto Moto a126ac56c5 Overclock F3 I2C at 1000KHz 2015-09-28 21:18:04 -05:00
Dominic Clifton 78bb6b52e2 STM32F3 - Fix failing multi-byte reads on the AK8975. 2014-12-26 01:19:41 +00:00
Dominic Clifton e9c07675be Add MPU9150 support to STMF3Discovery. Use 7-bit I2C addressing on
STM32F30x.
2014-12-24 21:11:22 +00:00
Dominic Clifton a4ec81450c STM32F30x - Add support for I2C2. 2014-12-09 02:54:46 +00:00
Dominic Clifton 35280abfed Allow disabling of I2C for targets that do not use it. 2014-09-26 01:32:57 +01:00
Dominic Clifton d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
Dominic Clifton 1d5ef51373 CJMCU - Add compass driver. Update I2C configuration. Use PPM and
Brushed motors by default.
2014-08-01 00:56:28 +01:00
dongie b3a718882c updated I2C driver to allow using I2C2 or I2C1 at compile time - call i2cInit with I2CDEV_1 or _2.
Applied same to SOFT_I2C driver (but the pin config is compile-time #define)

Conflicts:

	src/board.h
	src/drv_i2c.h
	src/drv_system.c
	src/main/drivers/bus_i2c_soft.c
	src/main/drivers/bus_i2c_stm32f10x.c
2014-07-30 22:38:59 +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 d19a5e7046 Cleanup project structure. Update unit test Makefile to place object
files in obj/test
2014-05-31 22:43:06 +01:00