1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

18725 Commits

Author SHA1 Message Date
a2d1558922 drivers/bmp180: adapt to new I2C api 2018-07-25 12:01:38 +02:00
7a12293eb1 drivers/at30tse75x: adapt to new I2C api 2018-07-25 12:01:38 +02:00
21e728123d drivers/mpl3115a2: adapt to new i2c API 2018-07-25 12:01:38 +02:00
b93245f489 drivers/veml6070: adapt to new I2C api 2018-07-25 12:01:38 +02:00
bad10174f5 drivers/lsm6dsl: adapt the i2c api return codes 2018-07-25 12:01:38 +02:00
f60b9570af drivers/si114x: adapt to new i2c api 2018-07-25 12:01:38 +02:00
Bas Stottelaar
01d8c7b4f8 pkg: u8g2: adapt to new I2C api. 2018-07-25 12:01:38 +02:00
MrKevinWeiss
5a5caa9851 tests/periph_i2c: refactor and standardize output 2018-07-25 12:01:38 +02:00
MrKevinWeiss
de1c492f60 tests/periph_i2c: Update to new I2C API 2018-07-25 12:01:37 +02:00
99b3bb88bd cpu/stm32_common: update return values to error codes 2018-07-25 12:01:37 +02:00
Vincent Dupont
c0c9ea034c cpu/stm32_common: add timeouts in stm32f4 i2c driver 2018-07-25 12:01:37 +02:00
e90f2b439e boards*: adapt f1 based boards to new i2c api 2018-07-25 12:01:37 +02:00
06e11c5586 cpu/stm32_common: adapt i2c driver to stm32f1 2018-07-25 12:01:37 +02:00
2aed31906e boards/nucleo-l152re: use new style for i2c config 2018-07-25 12:01:37 +02:00
4e09a2b6b7 boards*: adapt stm32f4 based board with new i2c conf style 2018-07-25 12:01:37 +02:00
27d2841a60 boards/nucleo-f207zg: use new style for i2c config 2018-07-25 12:01:36 +02:00
9166fb27fa cpu/stm32_common: split common i2c periph in 2
- i2c_1 is built for f0, f3, f7, l0 and l4
- i2c_2 is built for f4
2018-07-25 12:01:36 +02:00
2e6a80ce4e boards/nucleo-f722ze provide i2c configuration 2018-07-25 12:01:36 +02:00
d8c51dc373 boards/b-l475e-iot01a: provide i2c configuration 2018-07-25 12:01:36 +02:00
78a918d53a boards/nucleo144-f303: remove useless I2C_NUMOF define 2018-07-25 12:01:36 +02:00
22ff7d7af2 boards/nucleo-f070: add i2c configuration for i2c 2018-07-25 12:01:36 +02:00
634d9f6d68 boards: adapt stm32f3 based boards to new I2C api 2018-07-25 12:01:35 +02:00
c95ee04b23 boards/*: adapt stm32l0 based board to new I2C api 2018-07-25 12:01:35 +02:00
ebc17acb59 cpu/stm32{f0,f3,f7,l0,l4}: unify i2c driver and use new API 2018-07-25 12:01:35 +02:00
35d65d8a44 cpu/stm32f3: update stm32f303xc CMSIS header file 2018-07-25 12:01:34 +02:00
ce108b9e18 cpu/stm32f3: update stm32f303xe CMSIS header file 2018-07-25 12:01:34 +02:00
dylad
4ff319b469 nrf52/i2c: adapt to new I2C API 2018-07-25 12:01:34 +02:00
dylad
e6bd6bfe3b sam0/i2c: update driver to new API 2018-07-25 12:01:34 +02:00
dylad
93558125b5 sam0/i2c: update sam0 based periph_conf
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
ef8ed2620c periph_common/i2c: introduce new ret codes scheme 2018-07-25 12:01:34 +02:00
Joakim Nohlgård
872251d011 periph/i2c: Add 10 bit addressing magic number definition 2018-07-25 12:01:34 +02:00
Vincent Dupont
cc9836d792 drivers/mma8x5x: adapt to new i2c API 2018-07-25 12:01:34 +02:00
Joakim Nohlgård
f2a2427fcd periph/i2c: Editorial changes to i2c.h 2018-07-25 12:01:34 +02:00
01509b294f drivers/periph_i2c: i2c_init should return void 2018-07-25 12:01:34 +02:00
016c3e465b drivers/hts221: remove useless i2c_init call
This is automatically called by the periph_init function
2018-07-25 12:01:34 +02:00
c85e84bbde drivers/periph_common: init i2c only if module is loaded 2018-07-25 12:01:34 +02:00
Joakim Nohlgård
1dfc5f8f52 periph/i2c: Editorial doc changes 2018-07-25 12:01:34 +02:00
dylad
cfc826012f drivers/adxl345: update driver to the new I2C API
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
c2eb316039 drivers/i2c: improve common i2c driver
- fix reag/write regs function (NOSTART/NOSTOP flags missing)
- use ret variable name instead of err (cosmetic)
- split PERIPH_I2C_NEED_READ/WRITE_REGS to simplify cpu side implementation
2018-07-25 12:01:34 +02:00
406d180dc2 drivers/hts221: adapt to new I2C API 2018-07-25 12:01:34 +02:00
b866bdb9d9 drivers/lsm6dsl: adapt to new I2C API 2018-07-25 12:01:34 +02:00
d8e0745c06 drivers/periph_i2c: fix build issue with return code type 2018-07-25 12:01:34 +02:00
dylad
39cb0e2bdb periph_common/i2c: fix ret code handling
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
6f25886d77 drivers/periph/i2c: fixes issues in API
- non matching doxygen input parameter to i2c_write_reg
- non/matching missing function parameter
- invalid return type to i2c_release
2018-07-25 12:01:34 +02:00
dylad
7fccd21dad periph/i2c: fix unspotted typos
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
4a24ce8212 drivers/i2c: add default fallback wrappers
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
e11a37df03 drivers/i2c: modify I2C API
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
496175b361 periph/i2c: add default fallback wrappers I2C functions
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
Hauke Petersen
45ab3ea89d drivers/periph: introduced new I2C interface 2018-07-25 12:01:34 +02:00
Hauke Petersen
5e1467e747 drivers/periph_common: included I2C initialization 2018-07-25 12:01:34 +02:00