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
d93ecab880
sock_util: Add terminator to host-port string
...
Add missing null terminator to the returned host-port string in
sock_udp_ep_fmt
2018-07-19 22:07:18 +02:00
b8a494fb76
sock_util: Prevent overflow in sock_urlsplit
...
This adds a length check to verify if the host-port part of the URL fits
in the supplied buffer
2018-07-19 22:07:18 +02:00
3096823ab4
sock_util: Allow URLs without path as valid
...
URLs without a path were treated as invalid, while according to the URL
specification they are valid
Also fixes a missing null terminator in the returned path
2018-07-19 22:07:18 +02:00
3402e3509c
sock_util: Prevent overflow in _find_pathstart
...
Limit the number of scanned chars in _find_pathstart to the predefined
size
2018-07-19 22:07:18 +02:00
b0309145f0
sock_util: Limit URL scheme size
2018-07-19 22:07:17 +02:00
Martine Lenders
adbc977370
emb6_sock_udp: fix atomic initialization
2018-07-19 20:45:53 +02:00
Martine Lenders
dbafd505fd
emb6: ignore llvm warnings
2018-07-19 20:44:43 +02:00
Martine Lenders
04b58da249
tests: use literal string instead of format string for interval
...
`UINT16_MAX` should be the same value on all platforms, so why not use
`puts` instead of `printf` here instead. Also, `llvm` detects an issue
with using the `UINT16_MAX` macro with `PRIu16` here.
2018-07-19 20:35:00 +02:00
Martine Lenders
2412c001cf
Merge pull request #9612 from cladmi/pr/make/cflags/llvm
...
cflags.inc.mk: fix cflags test for llvm
2018-07-19 19:44:57 +02:00
Gaëtan Harter
c3f32182d3
Merge pull request #9613 from miri64/lis3mdl/fix/default-params
...
lis3mdl: fix default params
2018-07-19 19:36:27 +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
Gaëtan Harter
a99dd332cc
cflags.inc.mk: fix cflags test for llvm
...
gcc does an error but not clang, so add -Werror.
2018-07-19 18:59:20 +02:00
Andreas "Paul" Pauli
bf3ce68a86
Merge pull request #9025 from Josar/pr/timer_debug_pin
...
atmega timer: Interrupt Pin
2018-07-19 18:34:39 +02:00
Martine Lenders
0d3af49278
Merge pull request #9603 from miri64/gnrc_mac/fix/print-formatting
...
gnrc: mac: fix types according to print formatting
2018-07-19 17:18:48 +02:00
Martine Lenders
51a9ac1795
Merge pull request #9355 from gebart/pr/Wformat
...
cflags: add -Wformat=2 -Wformat-overflow -Wformat-truncation
2018-07-19 15:23:10 +02:00
Martine Lenders
3870def74c
gnrc: mac: fix types according to print formatting
...
As reported by `llvm`.
2018-07-19 15:13:39 +02:00
30e683ccfe
gnrc_netif: reapply event flags on device reset
...
On a NETOPT_STATE set call with NETOPT_STATE_RESET the netdev device
resets the callback event flags. This requires that after the netdev
device resets, the network stack also reapplies these callback event
flags
2018-07-19 14:51:14 +02:00
Martine Lenders
e511f274fe
Merge pull request #9604 from cladmi/pr/llvm/lua
...
lua: remove unsupported flags for llvm
2018-07-19 14:42:13 +02:00
Gaëtan Harter
4b9a1a3460
Merge pull request #9597 from miri64/tests/fix/clang-infinite-recursion
...
tests: ignore infinite recursion for mpu_stack_test with clang
2018-07-19 14:09:28 +02:00
Gaëtan Harter
c509b6f05c
lua: remove unsupported flags for llvm
...
Prevents error:
clang: error: unknown argument: '-fstack-usage'
clang: error: unknown argument: '-fconserve-stack'
The flags are here to print debug information and try to optimize stack but are
not required.
2018-07-19 14:06:35 +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
Martine Lenders
27ca688736
tests: ignore infinite recursion for mpu_stack_test with clang
2018-07-19 13:52:52 +02:00
Josarn
d6c0398f3d
atmega timer: Interrupt Pin
...
A debug pin can be used to probe timer interrupts with an oscilloscope or
other time measurement equipment. Thus, determine when an interrupt occurs
and how long the timer ISR takes.
The pin should be defined in the makefile as follows:
CFLAGS += -DDEBUG_TIMER_PORT=PORTF -DDEBUG_TIMER_DDR=DDRF \
-DDEBUG_TIMER_PIN=PORTF4
2018-07-18 20:48:17 +02:00
4c183257df
sock_util: Fix null terminator in sock_udp_ep_fmt
2018-07-18 17:44:03 +02:00
6a81a4d587
sock_util: add missing includes
2018-07-18 17:43:59 +02:00
Joakim Nohlgård
3c23c95b6f
cflags: add -Wformat=2 -Wformat-overflow -Wformat-truncation
2018-07-18 15:29:06 +02:00
Joakim Nohlgård
1a1c8f6c2a
pkg/ccn-lite: build with -Wno-format-nonliteral
2018-07-18 15:29:06 +02:00
Joakim Nohlgård
209050d382
pkg/oonf_api: Build with -Wno-format-nonliteral
2018-07-18 15:29:06 +02:00
Joakim Nohlgård
7cb21f651a
pkg/lua: build with -Wno-format-nonliteral
2018-07-18 15:29:06 +02:00
Joakim Nohlgård
2b31129ef0
sys/cbor: Fix -Wformat=2 warnings
2018-07-18 15:29:06 +02:00
Francisco Acosta
d04058b54b
Merge pull request #9579 from MichelRottleuthner/pr_stm32_fix_ram_lengths
...
stm32_common: fix ram length for MCUs with non-contiguous ram regions
2018-07-18 14:35:29 +02:00