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
Cenk Gündoğan
0dc02d9a97
Merge pull request #9482 from miri64/gnrc_sixlowpan_frag/enh/pages
...
gnrc_sixlowpan_frag: add page context to reassembly buffer
2018-07-24 18:16:39 +02:00
Cenk Gündoğan
2421838609
Merge pull request #9630 from cgundogan/pr/gnrc_udp_comment_fix
...
tests/gnrc_udp: remove pktdump from comment
2018-07-24 18:02:43 +02:00
Gaëtan Harter
1fb6aa0421
Merge pull request #9615 from miri64/tests/enh/periph_pwm_puts
...
tests: use literal string instead of format string for interval
2018-07-24 18:00:42 +02:00
Gaëtan Harter
3f35ec5eda
Merge pull request #9609 from miri64/pkg/fix/emb6-llvm
...
emb6: llvm fixes
2018-07-24 17:57:29 +02:00
Cenk Gündoğan
6aeb4f6cbd
tests/gnrc_udp: remove pktdump from comment
2018-07-24 17:35:20 +02:00
Gaëtan Harter
7e024956a5
Merge pull request #9622 from kaspar030/add_murdock_hook
...
murdock: add hook support
2018-07-24 17:12:33 +02:00
Cenk Gündoğan
e189d96171
Merge pull request #9585 from miri64/sixlowpan/fix/print
...
sixlowpan: various fixes to sixlowpan_print() function
2018-07-24 14:00:13 +02:00
Juan I Carrano
d3b5a79bc1
Merge pull request #9624 from cladmi/pr/make/nm
...
toolchain/gnu: also define NM
2018-07-24 09:59:47 +02:00
Peter Kietzmann
1b7e164662
Merge pull request #9606 from bergzand/pr/netif/conf_events_on_reset
...
gnrc_netif: reapply event flags on device reset
2018-07-24 08:43:52 +02:00
Gaëtan Harter
cde5a91a8a
toolchain/gnu: also define NM
...
llvm is defining NM already and `openthread` is using the symbol.
2018-07-23 17:29:55 +02:00
Joseph Noir
0736de37c9
Merge pull request #9363 from gschorcht/pthread-g++
...
core/pthread: make them compilable with g++
2018-07-23 17:06:19 +02:00
5810e10de5
murdock: add hook support
2018-07-23 10:04:13 +02:00
Gunar Schorcht
9db03537b9
core/pthread: make them compilable with g++
2018-07-21 14:24:57 +02:00
Martine Lenders
dc8c983d26
Merge pull request #9341 from bergzand/pr/sockutil/cleanup
...
sock_util: Add unittest and fix detected issues.
2018-07-20 12:09:31 +02:00
e91af6d556
sock_util: Add tests
2018-07-20 11:48:29 +02:00
0c43dc743d
sock_util: Limit recursion in str2ep
2018-07-20 11:48:29 +02:00
b024ff1cb8
sock_util: Add checks to port number parsing
...
Add additional checks to the port number parsing in str2ep to validate
the port number supplied in the string. This only verifies that the port
number is no longer than 5 chars and the resulting number fits in a
uint16_t.
It is still possible to supply up to 5 random chars.
2018-07-19 22:07:19 +02:00
bff8694051
sock_util: check path length in urlsplit
...
Add a length check to the path to ensure that it fits in the supplied
buffer in the urlsplit function
2018-07-19 22:07:19 +02:00