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

20749 Commits

Author SHA1 Message Date
Sebastian Meiling
b005fa7da0
Merge pull request #10705 from keestux/eliminate-cast-bh1750fvi
drivers/bh1750fvi: change prototype of bh1750fvi_init
2019-01-08 09:54:00 +01:00
Gunar Schorcht
fb9e25faf7
Merge pull request #10724 from miri64/gnrc_ipv6_nib/fix/mixed-mode-ABRO
gnrc_ipv6_nib: fix RA reception for non-6LN interfaces
2019-01-08 09:47:09 +01:00
Cenk Gündoğan
f6f6501109
Merge pull request #10681 from miri64/gnrc_sixlowpan_frag/cleanup/unroll-recursion
gnrc_sixlowpan_frag: unroll recursion
2019-01-08 09:46:15 +01:00
Martine Lenders
7452f48c26 gnrc_sixlowpan_frag: unroll recursion
While the recursion in `gnrc_sixlowpan_frag` shouldn't be infinite we
still should avoid using recursions in general (also to be able to
statically analyze stack usage). This unrolls the recursion.
2019-01-08 09:03:22 +01:00
a9a30c0c0f
Merge pull request #10730 from aabadie/pr/core/irq_doc_typo
core/irq: fix 2 missing words in documentation
2019-01-08 08:29:19 +01:00
Kees Bakker
1d5a67dcce drivers/bh1750fvi: change prototype of bh1750fvi_init
The params argument is now a const pointer. This eliminates the need for
a type cast that converts a const to a non-const.
2019-01-07 21:37:02 +01:00
f2194a8e26 core/irq: fix 2 missing words in documentation 2019-01-07 20:50:59 +01:00
201cff0ada
Merge pull request #10722 from nmeum/gnrc-tcp-comment-typo
gnrc_tcp_pkt: fix typo in comment
2019-01-07 20:23:20 +01:00
Bas Stottelaar
afc81d3e23
Merge pull request #9878 from basilfx/feature/efm32_wtimer
cpu: efm32: add support for 32-bit timers
2019-01-07 19:40:50 +01:00
Bas Stottelaar
00e13e5713 boards: slstk3402a: use wtimer by default 2019-01-07 18:51:08 +01:00
Bas Stottelaar
28d0e46882 cpu: efm32: add support for 32-bit timers 2019-01-07 18:49:21 +01:00
4365d666f7
Merge pull request #10670 from OTAkeys/pr/cc110x_irq
drivers/cc110x: remove irq_disable/irq_restore around spi transfers
2019-01-07 18:49:10 +01:00
Martine Lenders
1f71b30bc2 gnrc_ipv6_nib: fix RA reception for non-6LN interfaces
When having a non-6LN interface and a 6LN interface (e.g. on a border
router) the assertion can hit when a Router Advertisement is received.
This makes the check an `if` statement rather than an assertion, to
account for that case.

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2019-01-07 17:36:03 +01:00
Martine Lenders
22d59cbb08
Merge pull request #10648 from enzingerm/master
Improved docs on module name uniqueness
2019-01-07 16:59:34 +01:00
Sebastian Meiling
a57b970858
Merge pull request #10713 from keestux/eliminate-cast-adxl345
drivers/adxk345: include copy of params in dev struct
2019-01-07 16:38:52 +01:00
ZetaR60
859ba1a71f
Merge pull request #10699 from MrKevinWeiss/pr/fixbaudmega2560
cpu/atmega_common/uart: Comment why brr calc is different from datasheet
2019-01-07 10:21:15 -05:00
Sören Tempel
45989aa60e gnrc_tcp_pkt: fix typo in comment 2019-01-07 16:15:41 +01:00
Martine Lenders
242bb55c24
Merge pull request #10719 from miri64/gnrc_netif/enh/add-l2addr-to-doc
gnrc_netif: add l2addr members to doc
2019-01-07 15:43:10 +01:00
Kevin "Bear Puncher" Weiss
605365cae0
Merge pull request #10696 from Derwaan/board/z1_fix-btn0
board/z1: Fix BTN0_PIN
2019-01-07 15:29:45 +01:00
Marinus Enzinger
dc8b8d7749 doc: add example for problems arising from non unique module names 2019-01-07 15:29:25 +01:00
Sebastian Meiling
7d56a1decd
Merge pull request #10711 from keestux/eliminate-casts-lsm6dsl
drivers/lsm6dsl: eliminate and correct casts
2019-01-07 14:34:41 +01:00
Sebastian Meiling
c999d3a592
Merge pull request #10712 from keestux/lsm303dlhc-correct-phydat-cast
drivers/lsm303dlhc: correct cast of phydat_t*
2019-01-07 14:33:12 +01:00
Sebastian Meiling
79b051907a
Merge pull request #10706 from keestux/eliminate-cast-at86rf2xx
tests/driver_at86rf2xx: eliminate cast
2019-01-07 14:32:16 +01:00
Sebastian Meiling
e8fc13c83c
Merge pull request #10708 from keestux/eliminate-casts-ccs811
drivers/ccs811: remove unnecessary casts
2019-01-07 14:31:46 +01:00
Sebastian Meiling
53a887ce14
Merge pull request #10703 from kb2ma/coap/code_macros
net/coap: improve message code macros
2019-01-07 14:31:18 +01:00
Martine Lenders
48ac0ea902 gnrc_netif: add l2addr members to doc
The `l2addr` and `l2addr_len` members of the `gnrc_netif_t` struct did
not show up in the rendered documentation.
2019-01-07 13:05:02 +01:00
Cenk Gündoğan
aa2de01b56
Merge pull request #10665 from miri64/gnrc_sixloenc/feat/initial
gnrc_sixloenc: introduce pseudo-module to send 6Lo frames over Ethernet
2019-01-07 11:58:33 +01:00
Martine Lenders
eb6d9b052f
Merge pull request #10718 from miri64/gnrc/enh/doc-specify-netapi
gnrc: make titles of NETAPI command documentation more specific
2019-01-07 11:45:21 +01:00
Sebastian Meiling
612469f8ad
Merge pull request #10398 from Josar/pr/xtimer_hang/priority_worker
tests/xtimer_drift: increase priority of worker
2019-01-07 10:40:01 +01:00
Martine Lenders
10f534854c gnrc_sixlowpan: make title of NETAPI section more specific 2019-01-07 10:30:47 +01:00
Martine Lenders
0c51a67631 gnrc_ipv6: make title of NETAPI section more specific 2019-01-07 10:30:33 +01:00
Sebastian Meiling
26ea289ce0
Merge pull request #10583 from miri64/gnrc_ipv6/enh/doc
gnrc_ipv6: make gnrc_netapi documentation more detailed
2019-01-07 09:14:39 +01:00
MrKevinWeiss
3ce03df0ff cpu/atmega_common/uart: Comment why brr calc is different from datasheet
The brr calculation on the datasheet is different than what is implmented.
This is intentional since it provides better rounding due to truncation.
There was no comment explaining that so this comment should prevent confusion.
2019-01-07 08:40:21 +01:00
ZetaR60
9958d64297
Merge pull request #10707 from keestux/eliminate-casts-ads101x
drivers/ads101x: eliminate casts
2019-01-06 16:02:49 -05:00
Kees Bakker
1e4b956eeb drivers/mpu9150: correct cast of phydat_t*
The read functions have a mpu9150_results_t* argument which is a
struct with 3 int16_t members. Thus we should cast res->val instead of
just res.
2019-01-06 18:14:53 +01:00
Kees Bakker
cf560eaca7 drivers/mma8x5x: correct cast of phydat_t*
The read functions have a mma8x5x_data_t* argument which is a
struct with 3 int16_t members. Thus we should cast res->val instead of
just res.
2019-01-06 18:11:46 +01:00
Kees Bakker
ab17629b97 drivers/mag3110: correct cast of phydat_t*
The read functions have a mag3110_data_t* argument which is a
struct with 3 int16_t members. Thus we should cast res->val instead of
just res.
2019-01-06 17:57:44 +01:00
Kees Bakker
0ee426b4fe drivers/mm7660: correct cast of phydat_t*
The read functions have a mma7660_data_t* argument which is a
struct with 3 int16_t members. Thus we should cast res->val instead of
just res.
2019-01-06 17:55:47 +01:00
Kees Bakker
5265edcd26 drivers/adxk345: include copy of params in dev struct
This follows the usual convention of having the whole params in the device
struct instead of a pointer-to. This also eliminates the need to cast a
const to a non-const pointer in the init function.
2019-01-06 17:24:24 +01:00
Kees Bakker
37d8709f3f drivers/lsm303dlhc: correct cast of phydat_t*
The read functions have a lsm303dlhc_3d_data_t* argument which is a
struct with 3 int16_t members. Thus we should cast res->val instead of
just res.
2019-01-06 17:08:04 +01:00
Kees Bakker
d8edf6dd4e drivers/lsm6dsl: eliminate and correct casts
Converting phydat_t* to lsm6dsl_3d_data_t* is not correct, but it happened
to just work because the first struct member of phydat_t will be used.

Furthermore, casting &res[0] to int16_t* is wrong. Again, it just happened
to work.
2019-01-06 16:56:17 +01:00
Kees Bakker
fa431c4e97 drivers/ccs811: remove unnecessary casts 2019-01-06 14:41:47 +01:00
Ken Bannister
7e31ffc424 examples/nanocoap: use descriptive macro name 2019-01-04 19:44:11 -05:00
Ken Bannister
62f4946772 net/coap: improve message code macros 2019-01-04 19:43:18 -05:00
Martine Lenders
481f742c71 gnrc_netif: interface configuration for 6LoENC 2019-01-04 13:32:24 +01:00
Martine Lenders
45b95e86cd gnrc_nettype: provide ethertype to nettype for 6LoEnc 2019-01-04 13:31:03 +01:00
Martine Lenders
941bcc142d make: make gnrc_sixloenc dependent on gnrc_sixlowpan 2019-01-04 13:31:01 +01:00
Martine Lenders
fcc57ddd04 gnrc_sixloenc: introduce pseudo-module 2019-01-04 13:29:47 +01:00
Martine Lenders
dda7131374 ethertype: define 6LoWPAN encapsulation ethertype 2019-01-04 13:29:47 +01:00
Gunar Schorcht
f7e524d18e
Merge pull request #10604 from gschorcht/esp32_esp_eth_fix
cpu/esp32: Fixes the maximum packet size of 255 bytes in the esp_eth netdev driver of ESP32 mcu.
2019-01-04 12:48:11 +01:00