blckmn
7ca39bbde6
STM32F4: Drivers
2016-06-08 05:37:08 +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
blckmn
928609e2bb
Moving EXTI to new io
...
Updated i2c to use new io
2016-06-03 20:21:10 +10:00
borisbstyle
d3d08389f7
Fix some compile errors
2016-02-03 01:53:12 +01:00
borisbstyle
4b3ba927e9
Merge branch 'master' into betaflight
...
Conflicts:
src/main/blackbox/blackbox_io.c
src/main/drivers/serial_usb_vcp.c
src/main/flight/imu.c
src/main/mw.c
src/main/target/CC3D/target.h
2015-10-12 23:53:43 +02:00
Petr Ledvina
8f3d9fae9a
unify typedef struct name_s {} name_t;
naming convention
2015-10-12 19:58:12 +01:00
borisbstyle
8d8d57a1f4
Set F1 target i2c to 800khz
...
Still 200us spare time left in luxfloat
2015-10-08 15:38:49 +02:00
borisbstyle
9ed1c46065
Static i2c Clockspeed set to 1200khz (Stability test needed)
...
Luxfloat can now run with acc stable
2015-09-23 01:25:45 +02:00
ProDrone
cce3a1d755
Add I2C clockspeed selection
...
Default is normal speed (400 kHz).
Added 800kHz and 1200kHz selection (overclocking).
2015-09-22 23:21:28 +02:00
Petr Ledvina
f9f40fb98f
Handle possible problem with unintentional I2C interrupt handler triggering
...
Error handler may be called repeatedly during I2C unstucking. Not sure if this change is necessary, but it is safe
2015-02-23 09:17:06 +01:00
Petr Ledvina
5129403c83
minor I2C cleanup
2015-02-23 09:17:06 +01:00
Petr Ledvina
bf50cbb1a8
NVIC priority change
...
Use 'better' macros to handle priority. This simplifies passing priority to function and new ATOMIC_BLOCK macro
2014-11-04 16:23:21 +01:00
Petr Ledvina
e686b4504e
Centralized NVIC priorities
...
- NVIC priorities are moved to separate file, all values are replaced wit symbolic names. Priorities should be the same.
- tiny change in DMA initialization
2014-10-23 16:48:35 +02:00
Petr Ledvina
e179218caf
Trivial changes
...
- use inline functions for gpio (typesafe, no speed penalty)
- fix sortSerialPortFunctions (original was IMO broken)
- allow softserial port on sonar pin when FEATURE_SONAR is not enabled
- minor style changes and comments
2014-10-23 15:08:57 +02:00
Dominic Clifton
da51b5c479
Add MPU6500 SPI driver. Move sensor initialisation defines into target
...
specific headers.
2014-10-14 00:22:54 +01:00
Dominic Clifton
d60183d91d
Normalize all the line endings
2014-09-15 23:40:17 +01:00
Dominic Clifton
9ce6dde1e7
Work-in-progress.
2014-09-12 21:56:33 +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
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