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

1760 Commits

Author SHA1 Message Date
7425ac92aa
Merge pull request #9581 from bergzand/pr/at86rf2xx/flag_refactor
at86rf2xx: Move flags from netdev to radio
2018-08-17 10:51:23 +02:00
Francisco Acosta
71d3c14354 drivers/periph_common/eeprom: remove the now unnecessary cpu.h include 2018-08-15 15:27:03 +02:00
Francisco Acosta
a22d7ad5cd drivers: prepare for moving EEPROM definitions
IMHO and I think it's more logical, EEPROM definitions don't belong
to cpu_conf.h but to periph_conf.h, thus I moved all of them to that
place.
2018-08-15 14:53:56 +02:00
Joakim Nohlgård
1652e5ae24 sht1x: Fix Wimplicit-fallthrough warning 2018-08-14 10:05:15 +02:00
Gaëtan Harter
939ca4e1bf
drivers/sdcard_spi: fix uint64_t cast location
When compiling `tests/drivers_sdcard_spi` with `avr-gcc: avr-gcc (GCC) 6.4.0`
it detected this error

    RIOT/drivers/sdcard_spi/sdcard_spi.c:1012:72:
    error: result of '512 << 10' requires 21 bits to represent, but 'int' only has 16 bits [-Werror=shift-overflow=]
    return (card->csd.v2.C_SIZE + 1) * (uint64_t)(SD_HC_BLOCK_SIZE << 10);
2018-08-09 09:12:23 +02:00
MichelRottleuthner
6bc069e3bd
Merge pull request #9386 from Hyungsin/forupstream_hdc1000
drivers/hdc1000: change renew_interval to a parameter
2018-08-07 17:32:03 +02:00
Hyungsin
88895bbed9 drivers/hdc1000: change renew_interval to a parameter 2018-08-06 12:33:53 -07:00
Martine Lenders
81bad0d6e8 mtd_sdcard: fix printf format strings 2018-08-06 12:19:44 +02:00
dylad
d114e2852c drivers/adxl345: fixes & cleanup
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-08-03 11:12:25 +02:00
Martine Lenders
7f04742e0b
Merge pull request #9687 from cladmi/pr/llvm/sx127/wformat
sx127x: fix -Wformat llvm warning
2018-08-02 18:35:29 +02:00
Gaëtan Harter
6ba37a902d
drivers/sx127x: Fix -Wformat llvm warning
Fixed warning

    format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
2018-08-02 17:25:27 +02:00
smlng
a3dc63b16c drivers/mma7660: adapt to new I2C API 2018-08-02 15:52:58 +02:00
Michael Andersen
e354824bcf drivers/mma7760: Add initial support 2018-08-02 15:52:58 +02:00
Sebastian Meiling
26c689ffbb
Merge pull request #9548 from RIOT-OS/new_i2c_if3
I2C: introduce and adapt new I2C interface (2nd attempt)
2018-08-02 12:00:59 +02:00
Martine Lenders
39304987c3
Merge pull request #9668 from gschorcht/sdcard_spi
driver/sdcard_spi: fix of issue #9667
2018-08-01 22:16:55 +02:00
Gunar Schorcht
bd4661bc19 drivers/sdcard_spi: fix of #9667 2018-08-01 20:41:30 +02:00
Martine Lenders
af30e08351
Merge pull request #8378 from Icaltary/sx127x_get_rx_state
drivers/sx127x: return correct state when device is receiving
2018-08-01 17:34:41 +02:00
Peter Kietzmann
e897826cc7
Merge pull request #9616 from bergzand/pr/at86rf2xx/always_set_channel
at86rf2xx: Always set channel on device
2018-07-31 18:33:44 +02:00
Josarn
4482c9851a at86rf2xx: correct rssi
AT86RF231 MAN. p.89 8.3.2 Reading RSSI
AT86RF232 MAN. p.88 8.3.2 Reading RSSI
AT86RF233 MAN. p.99 8.4.2 Reading RSSI

"It is not recommended reading the RSSI value when using the Extended  Operating Modes, use ED instead"
2018-07-26 13:37:23 +02:00
smlng
76d3a4e30a driver/srf08: remove leftover doc
Remove doc for params and return values which are not used
    anymore after I2C API rework.
2018-07-25 12:01:40 +02:00
smlng
2db2ce2dc7 doc: rename sections in i2c.h 2018-07-25 12:01:40 +02:00
Joakim Nohlgård
3994c51b31 drivers/hih6130: adapt to new i2c API 2018-07-25 12:01:40 +02:00
Vincent Dupont
034d7f0b8f adcxx1c: adapt to new i2c API 2018-07-25 12:01:40 +02:00
Michel Rottleuthner
906a19779e drivers/lc709203f: adapt to new i2c API 2018-07-25 12:01:40 +02:00
Michel Rottleuthner
2e6ff0f197 drivers/ds1307: remove unused clock param 2018-07-25 12:01:40 +02:00
Michel Rottleuthner
1362289daf drivers/ds1307: adapt to new i2c API 2018-07-25 12:01:40 +02:00
Michel Rottleuthner
df52d6b1b8 drivers/bh1750fvi: remove unused clock param 2018-07-25 12:01:40 +02:00
Michel Rottleuthner
27f8924bed drivers/bh1750fvi: adapt to new i2c API 2018-07-25 12:01:39 +02:00
a82f4e1778 drivers/lis3mdl: adapt to new i2c API 2018-07-25 12:01:39 +02:00
fc17eb4c55 drivers/isl29020: adapt to new I2C api 2018-07-25 12:01:39 +02:00
0b78a1bec5 drivers/isl29020: rework driver API and params definition 2018-07-25 12:01:39 +02:00
Matthew Blue
c3363587be drivers/ads101x: update I2C API 2018-07-25 12:01:39 +02:00
Michel Rottleuthner
d48747f194 drivers/jc42: adapt to new i2c API 2018-07-25 12:01:39 +02:00
smlng
41f4ac6dce drivers/bmx055: use i2c_acquire and _release
add missing i2c_acquire and i2c_release calls to properly guard
    i2c read and write operations.
2018-07-25 12:01:39 +02:00
smlng
b24bf4bcc8 drivers/bmx055: adapt to new i2c api 2018-07-25 12:01:39 +02:00
Matthew Blue
bc9b3ecaae */ads101x: copyright notice update 2018-07-25 12:01:39 +02:00
779de1e3d2 drivers/io1_xplained: adapt to at30tse75x new init api 2018-07-25 12:01:39 +02:00
smlng
11356f602f driver: fix cppcheck error in pn532
cppcheck reported 'duplicateBranch' error in 2 if-else
    statements, b/c they are empty when running static-tests.
2018-07-25 12:01:39 +02:00
f113f93ca8 drivers/mag3110: adapt to new I2C api 2018-07-25 12:01:39 +02:00
2afd84f9ca drivers/mag3110: use new driver params scheme 2018-07-25 12:01:39 +02:00
Michel Rottleuthner
dd852a2b53 drivers/pn532: adapt to new i2c API 2018-07-25 12:01:39 +02:00
3ff45726a8 drivers/mpu9150: adapt to new I2C api 2018-07-25 12:01:39 +02:00
2449655ba7 drivers/tsl2561: adapt to new I2C api 2018-07-25 12:01:39 +02:00
e78739a9a3 drivers: add tsl2561 dependencies 2018-07-25 12:01:39 +02:00
95a4d8d4e7 drivers/tsl2561: rework API for consistency 2018-07-25 12:01:39 +02:00
d92b4c6759 drivers/tsl2561: use new driver params scheme 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
21bd356d8d drivers/fxos8700: adapt to new i2c API 2018-07-25 12:01:38 +02:00
Hyungsin
f2a05ec8bc drivers/tmp006: adapt to new i2c API 2018-07-25 12:01:38 +02:00
Hyungsin
79430a208a drivers/hdc1000: adapt to new i2c API 2018-07-25 12:01:38 +02:00
Joakim Nohlgård
34bddca083 drivers/ina220: adapt to new I2C api 2018-07-25 12:01:38 +02:00
Michel Rottleuthner
8173aff6ec drivers/isl29125: adapt to new i2c API 2018-07-25 12:01:38 +02:00
MrKevinWeiss
d0f86d0611 drivers/srf02: Update to new i2c API 2018-07-25 12:01:38 +02:00
MrKevinWeiss
89bd96e1b0 drivers/srf08: Turn debug off and cleanup 2018-07-25 12:01:38 +02:00
MrKevinWeiss
0c0ae1855d drivers/srf08: cleanup and fixes for new api 2018-07-25 12:01:38 +02:00
MrKevinWeiss
98f6fd49a8 drivers/srf08: port to new api 2018-07-25 12:01:38 +02:00
Michel Rottleuthner
e5976ad497 drivers/isl29125: update parameter definition scheme 2018-07-25 12:01:38 +02:00
3f34e32617 drivers/hts221: adapt the i2c api return codes 2018-07-25 12:01:38 +02:00
Bas Stottelaar
a8a9283f7a drivers: si70xx: adapt to new I2C api. 2018-07-25 12:01:38 +02:00
Bas Stottelaar
76b1200460 drivers: bmx280: adapt to new I2C api. 2018-07-25 12:01:38 +02:00
78c5b46eac drivers/tcs37727: adapt to new I2C api 2018-07-25 12:01:38 +02:00
a85fbd2c75 sys/auto_init: update tcs37727 auto_init 2018-07-25 12:01:38 +02:00
a48a90f234 drivers/tcs37727: use new driver params scheme 2018-07-25 12:01:38 +02:00
219277e884 drivers/l3g4200d: adapt to new I2C api 2018-07-25 12:01:38 +02:00
2ace1a2dfe drivers/l3g4200d: rework driver API and params definition 2018-07-25 12:01:38 +02:00
ec25c1f7b0 drivers/lsm303dlhc: adapt to new I2C api 2018-07-25 12:01:38 +02:00
d81cf561b0 drivers/lsm303dlhc: rework driver API and params definition 2018-07-25 12:01:38 +02:00
d1a19db350 drivers/lps331ap: adapt to new I2C api 2018-07-25 12:01:38 +02:00
71d8b80512 drivers/lps331ap: rework driver API and params definition 2018-07-25 12:01:38 +02:00
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
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
b025362a7a
at86rf2xx: Always set channel on device
This removes the check if the current configured channel equals the new
channel. This check prevents the at86rf2xx channel to be configured
after a reset which causes the radio to be non-functional after a
NETOPT_STATE_RESET.
2018-07-20 12:15:29 +02:00
Martine Lenders
e986562631 lis3mdl: fix default params
In the default config .odr and .scale where switched around.
2018-07-19 19:14:08 +02:00
Peter Kietzmann
93fcb245c2
Merge pull request #9113 from enzingerm/master
w5100: fixed RX interrupt handling
2018-07-19 13:59:53 +02:00
Peter Kietzmann
063c54ac3d
Merge pull request #9077 from gschorcht/enc28j60-improve
enc28j60: improvements to fix #9043
2018-07-17 19:45:18 +02:00
Gunar Schorcht
738c1161c0 enc28j60: improvements to fix #9043 2018-07-17 19:19:15 +02:00