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
Martine Lenders
9f93745734
Merge pull request #9358 from gebart/pr/cflags-cleanup
...
makefiles/cflags.inc.mk: Use a template for CFLAGS testing
2018-07-18 14:11:49 +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
Peter Kietzmann
ab5771bbf8
Merge pull request #9587 from bergzand/pr/kw2xrf/fix_ack_req
...
kw2xrf: Fix ack flag handling
2018-07-17 18:43:26 +02:00
Michel Rottleuthner
aca8953827
tests: add nucleo-f303k8 to BOARD_INSUFFICIENT_MEMORY
2018-07-17 17:52:12 +02:00
Michel Rottleuthner
31efe7411c
examples: add nucleo-f334r8 to BOARD_INSUFFICIENT_MEMORY
2018-07-17 17:52:12 +02:00
Michel Rottleuthner
484ea216da
examples: add nucleo-f303k8 to BOARD_INSUFFICIENT_MEMORY
2018-07-17 17:52:12 +02:00
Michel Rottleuthner
b36131eea6
cpu/stm32_common: add variable for SRAM2 length on stm32l47xxx
2018-07-17 17:52:12 +02:00
Martine Lenders
9421356f08
Merge pull request #9590 from cladmi/pr/unittest/increase_timeout
...
unittests: increase test timeout
2018-07-17 17:46:13 +02:00
Michel Rottleuthner
5610894ebe
stm32_common: fix ram length for MCUs with non-contiguous ram
...
stm32l47xxx see RM0351, Rev 6, page 75
https://www.st.com/resource/en/reference_manual/dm00083560.pdf#page=75
stm32f303xx see RM0316, Rev 8, page 53
https://www.st.com/resource/en/reference_manual/dm00043574.pdf#page=53
stm32f334xx see RM0364, Rev 3, page 47
https://www.st.com/resource/en/reference_manual/dm00093941.pdf#page=47
2018-07-17 17:12:57 +02:00
Gaëtan Harter
690fdb11ab
unittests: increase test timeout
...
It currently takes 1m30 to run on iotlab-m3.
2018-07-17 17:00:17 +02:00
Francisco Acosta
a0a31120b2
Merge pull request #9429 from kaspar030/some_riscv_fixes
...
boards/hifive1: add serial terminal config
2018-07-17 14:36:29 +02:00
Martine Lenders
6c58441d06
lwip: fix lwip thread_create() wrapper
2018-07-17 14:13:01 +02:00
1dd4a46c90
Merge pull request #9584 from PeterKietzmann/pr_cc2420_max_pkt_size
...
drivers/cc2420: add netopt NETOPT_MAX_PACKET_SIZE
2018-07-17 14:12:10 +02:00
b21c4f6f98
kw2xrf: fix NETOPT_AUTOACK getter and setter
...
Missing getter for NETOPT_AUTOACK and getter should return the size of
the variable (should not propagate to the netdev_ieee802154_get
function
2018-07-17 13:58:58 +02:00
4b723859f3
kw2xrf: use ACK_REQ flag for ACK check on TX
2018-07-17 13:57:30 +02:00
Peter Kietzmann
2bc48c3953
Merge pull request #9577 from bergzand/pr/netdev/rem_default_tell_opts
...
drivers/radios: remove default event reporting flags
2018-07-17 13:47:33 +02:00
Martine Lenders
ad65aadb37
iotlab-support: use iotlab command to check credentials
...
Since the `iotlab-term` target uses `tmux` error messages are not really
printed, so it took me a while to find out why at some sites this target
wasn't working for me anymore.
If the IoT-LAB password was changed, just checking if `.iotlabrc`
exists isn't enough, so I use `iotlab-experiment` to check if I'm logged
in properly to prompt the password input in case I'm not.
2018-07-17 13:02:54 +02:00
Martine Lenders
c6d46057b0
sixlowpan: use generic format strings instead of inttypes.h macros
...
We had bad experiences with those in the past when used with newlib-nano
;-)
2018-07-17 12:22:16 +02:00
Martine Lenders
ecfff3e812
sixlowpan: fix decoding of DAM in sixlowpan_print()
...
Destination address compression is all in the least significant nibble
of that byte in the IPHC header [[1]].
[1]: https://tools.ietf.org/html/rfc6282#section-3.1.1
2018-07-17 12:22:15 +02:00
PeterKietzmann
838b18e8f9
drivers/cc2420: add netopt NETOPT_MAX_PACKET_SIZE
2018-07-17 12:00:12 +02:00
7f6fe21b93
Merge pull request #9580 from OTAkeys/pr/at_on_off
...
drivers/at: add poweron/off functions
2018-07-17 10:31:20 +02:00
Vincent Dupont
12a5c5e3b0
tests/driver_at: adapt test app with poweron/off
2018-07-17 10:15:35 +02:00
Vincent Dupont
21867b2867
drivers/at: ad poweron/off functions
2018-07-17 10:02:36 +02:00
Peter Kietzmann
2abe944a16
Merge pull request #9535 from bergzand/pr/netdev/reset_rand_seq
...
netdev_ieee802154: Initialize sequence number to random value
2018-07-17 08:22:34 +02:00
Francisco Acosta
b46f7e0f22
Merge pull request #9578 from miri64/make/fix/BUILDRELPATH
...
make: make BUILDRELPATH dependent on selected path
2018-07-16 16:34:14 +02:00
608f0135d7
zep: Use netdev reset function
2018-07-16 15:36:34 +02:00
aecbad960a
netdev: Initialize sequence number to random value
2018-07-16 15:36:30 +02:00
Martine Lenders
ecaef7bfc5
Merge pull request #9575 from bergzand/pr/pkg/emb6/rnd_conflict
...
pkg/emb6: Add random functions to rename patch
2018-07-16 15:35:42 +02:00
8903b34924
Merge pull request #8215 from miri64/gnrc_ipv6/opt/simplify-send
...
gnrc_ipv6: clean-up and simplify send handling
2018-07-16 15:21:55 +02:00
Martine Lenders
ff46796002
make: make BUILDRELPATH dependent on selected path
...
When selecting a directory to build using `-C` with make
`BUILD_IN_DOCKER` will fail, because the `BUILDRELPATH` chooses the path
`make` is executed in, not the path selected by `-C`. This fixes this
bug by replacing `PWD` in the macro's definition with `CURDIR`.
2018-07-16 15:15:04 +02:00
Martine Lenders
d8081453f2
gnrc_ipv6: clean-up and simplify send handling
...
This change is a gnrc_ipv6_nib/gnrc_netif(2)-based rework of #7210 .
Packet duplication
==================
Its main optimization is that it restructures `gnrc_ipv6` handling of
sent packets so that duplication for write-protection happens at the
latest possible step:
* potential `gnrc_netif` headers added by upper layers are
write-protected before their removal
* This unifies the duplication of the IPv6 header directly after
that
* Extension headers in-between the IPv6 header and the payload header
are duplicated just before the check sum is duplicated
Especially the last point allows for only handing a single packet snip
to all lower functions instead of an already searched IPv6 header
(which now is always the first until it is handed to the interface) +
payload header.
Further clean-ups
=================
* Next-hop link-layer address determination was moved to the
`_send_unicast` function, greatly simplifying the unicast case in the
`_send` function
* Code for loopback case was added to a new function `_send_to_self`
* Removed some code duplication
2018-07-16 15:08:56 +02:00
71fac036e5
mrf24j40: Remove default event report settings
2018-07-16 14:43:45 +02:00
be7c4f7f28
kw2xrf: Remove default event report settings
2018-07-16 14:43:28 +02:00
965cece510
cc2420: Remove default event report settings
2018-07-16 14:43:12 +02:00
173136a270
at86rf2xx: Remove default event report settings
2018-07-16 14:40:51 +02:00
f2791dcec5
pkg/emb6: Rebuild patches for consistency
2018-07-16 14:30:28 +02:00
3c128a0ed7
pkg/emb6: Add utils/random to rename patch
...
Both random_init and random_rand are prefixed with emb6_ to prevent
function name collisions with RIOT
2018-07-16 14:27:38 +02:00
Peter Kietzmann
446ff9f282
Merge pull request #9553 from bergzand/pr/pkg/lwip/set_netdev_events
...
lwip: explicitly set required netdev events
2018-07-13 17:09:45 +02:00