Kevin "Bear Puncher" Weiss
58500f92c5
Merge pull request #10179 from cladmi/pr/dist/tools/build_system/check
...
dist/tools: add build system sanity check script
2018-11-19 15:29:11 +01:00
Kevin "Bear Puncher" Weiss
c7894d2bfc
Merge pull request #10385 from PeterKietzmann/pr_tests_puf_args
...
tests/puf_sram: add input args to automation script
2018-11-19 09:54:48 +01:00
Joakim Nohlgård
126f232cc6
Merge pull request #10394 from aabadie/pr/boards/frdm-kw41z-update-i2c
...
boards/frdm-kw41z: update i2c configuration
2018-11-19 08:17:50 +01:00
Joakim Nohlgård
c5ebf60bf2
Merge pull request #10408 from aabadie/pr/board/frdm-kw41z-auto-fxos8700
...
boards/frdm-kw41z: autoload fxos8700 with saul_default
2018-11-17 23:16:46 +01:00
08dd9a1df8
cc2538_rf: Don't propagate address to 802154 layer
2018-11-17 22:38:18 +01:00
ffe6aed83e
cc2538_rf: Add NETOPT_ADDRESS{,_LONG} to getters
2018-11-17 22:38:17 +01:00
Joakim Nohlgård
e1a4f7d7b9
frdm-k22f: Define BTNx macros for user pushbuttons
2018-11-17 21:52:47 +01:00
ZetaR60
1b1d7b8b91
Merge pull request #10411 from cladmi/pr/eepreg/remove_features_required
...
tests/eepreg: remove duplicate FEATURES_REQUIRED
2018-11-17 15:18:45 -05:00
Martine Lenders
2b9134d6b8
Merge pull request #10418 from Josar/pr/at86rf2xx_framebuffer_doc
...
at86rf2xx/at86rf2xx_netdev: improve documentation.
2018-11-17 17:25:20 +01:00
c755071483
Merge pull request #10421 from miri64/gnrc_icmpv6_error/bug/dont-send-to-unspec
...
gnrc_icmpv6_error / gnrc_ipv6: fixes for unspecified address
2018-11-17 16:06:03 +01:00
Martine Lenders
0bdbb68959
gnrc_ipv6: drop packets with unspecified destination
...
It just doesn't makes sense to handle them any further
2018-11-17 15:45:25 +01:00
Martine Lenders
0aa96a4579
gnrc_icmpv6_error: fix doc alignment
2018-11-17 15:45:25 +01:00
Martine Lenders
ef1132384a
gnrc_icmpv6_error: check IPv6 header before starting to build
...
Check for:
- if it exists (critical error condition -- non-IPv6 headers should
not trigger these functions) => assert
- if it has a multicast source (that shouldn't really happen but
people might try weird stuff ;-)
- if it has an unspecified source (can't determine receiver of error
message => don't send it, don't build it)
2018-11-17 15:45:25 +01:00
Martine Lenders
447e1b8eb8
Merge pull request #10422 from miri64/gnrc_ipv6/bug/fill-until-end-case
...
gnrc_ipv6: fix _fill_ipv6_hdr() for pure IPv6 packets
2018-11-17 15:08:52 +01:00
Martine Lenders
d4f425bb00
gnrc_ipv6: allow for empty IPv6 header
2018-11-17 14:49:12 +01:00
Martine Lenders
3ec37acbd1
gnrc_ipv6: fix _fill_ipv6_hdr() for pure IPv6 packets
...
If a packet only contains IPv6 and IPv6 extension header snips (e.g. if
the IPv6 packet has no payload or if an extension header was not
pre-parsed)
2018-11-17 14:48:49 +01:00
Martine Lenders
3b1a7d0eee
Merge pull request #8594 from miri64/gnrc_icmpv6_error/enh/use-icmpv6-error
...
gnrc_icmpv6_error: fix and use where appropriate
2018-11-16 19:05:55 +01:00
josar
8e7c6cc26a
at86rf2xx/at86rf2xx_netdev: improve documentation.
...
It was not obvious where `dev->idle_state` was saved.
2018-11-16 18:53:36 +01:00
Martine Lenders
897e688194
examples: activate gnrc_icmpv6_error for gnrc_networking
2018-11-16 17:39:17 +01:00
Martine Lenders
e801829c7a
gnrc_udp: send ICMPv6 error messages where appropriate
2018-11-16 17:39:16 +01:00
Martine Lenders
db2da19ea4
gnrc_ipv6: send IPv6 error messages where appropriate
2018-11-16 17:39:16 +01:00
Martine Lenders
04a2827089
gnrc_icmpv6_error: provide NOPs when compiled without module
...
This is aimed to make the usage code of this module more readable.
2018-11-16 17:39:16 +01:00
Martine Lenders
697ad17ed1
icmpv6_error: doc: provide better references to error codes
2018-11-16 17:39:16 +01:00
Martine Lenders
b99e9f4185
gnrc_icmpv6_error: append IPv6 and netif header before sending
2018-11-16 17:39:16 +01:00
Martine Lenders
d161379e47
gnrc_icmpv6_error: re-order header inclusions
2018-11-16 17:39:16 +01:00
Martine Lenders
0b4230e5f6
gnrc_icmpv6_error: fix and optimize pointer search in _param_prob_build
2018-11-16 17:39:16 +01:00
Martine Lenders
335342a466
gnrc_icmpv6_error: fix build function for send and recv order
2018-11-16 17:39:16 +01:00
Martine Lenders
f0da2a0cd7
gnrc_icmpv6_error: don't include netif header into fit
2018-11-16 17:39:16 +01:00
Martine Lenders
c4175a5e52
gnrc_icmpv6_error: adapt _fit() to get MTU from netif
2018-11-16 17:39:16 +01:00
Martine Lenders
c8c8564d51
gnrc_icmpv6_error: use netapi_dispatch_send instead of netapi_send
2018-11-16 17:39:16 +01:00
Martine Lenders
ba13d8f5bf
gnrc_icmpv6_error: introduce debug messages
2018-11-16 17:39:15 +01:00
Martine Lenders
a7a8227e36
gnrc_icmpv6_error: centralize send function
2018-11-16 17:39:15 +01:00
Martine Lenders
36617f3733
gnrc_icmpv6_error: make input pointers constant
2018-11-16 17:39:15 +01:00
Martine Lenders
6ec456b0fc
gnrc_icmpv6_error: don't release orig_pkt on error
...
The stack might still wants to do something with the packet after
copying it to the error message.
2018-11-16 17:22:20 +01:00
Martine Lenders
3b56c78a3b
gnrc_icmpv6_error: make build functions private
2018-11-16 17:22:20 +01:00
Martine Lenders
a30bdebc2c
gnrc_icmpv6_error: remove static inline from functions
2018-11-16 17:22:20 +01:00
cladmi
143e393fcd
dist/tools: add build system sanity check script
...
Add a script to execute sanity checks on build system files.
It should prevent bad patterns to re-appear after being cleaned.
Currently adds a check for using the content of `FEATURES` instead of
`USEMODULE`.
Modules should not check the content of FEATURES_PROVIDED/_REQUIRED/OPTIONAL
Handling specific behaviors/dependencies should by checking the content of:
* `USEMODULE`
* maybe `FEATURES_USED` if it is not a module (== not a periph_)
2018-11-16 16:40:23 +01:00
a79d03835a
Merge pull request #10417 from bergzand/pr/pkt/mark_const
...
gnrc/pkt: Add const keyword to length functions
2018-11-16 16:19:18 +01:00
Martine Lenders
a0067b925d
tests/unittests: provide tests for gnrc_pkt_len_upto()
2018-11-16 15:51:36 +01:00
21202e7e18
gnrc/pkt: Add const keyword to length functions
2018-11-16 15:06:39 +01:00
879e0cb1e2
Merge pull request #10406 from jcarrano/aes-t-table
...
sys/crypto: optimize AES footprint (resurrected)
2018-11-16 14:25:26 +01:00
Joakim Nohlgård
9e9a01bc19
frdm-kw41z: Use SAUL_GPIO_INVERT on SW3, SW4 inputs
...
with this flag set, reading 1 means that the button is being pressed.
2018-11-16 13:23:08 +01:00
Joakim Nohlgård
38f8cc2284
frdm-kw41z: Define BTNx macros for user pushbuttons
2018-11-16 13:17:40 +01:00
Gaëtan Harter
195d51b92a
tests/eepreg: remove duplicate FEATURES_REQUIRED
...
The dependency from eepreg to FEATURES_REQUIRED is already defined in
`sys/Makefile.dep` so should not need to be duplicated in the
application Makefile.
2018-11-16 12:07:00 +01:00
e47e996b0e
boards/frdm-kw41z: autoload fxos8700 with saul_default
2018-11-15 21:23:08 +01:00
Juan Carrano
3393dafe82
sys/crypto: configure AES via pseudomodules.
...
USEMODULE += crypto_aes_precalculated enables the precalculated T tables (the old
code).
USEMODULE += crypto_aes_unroll causes loops to be unrolled.
2018-11-15 18:25:26 +01:00
Oleg Artamonov
05fe168a1e
sys/crypto: optimize AES
2018-11-15 18:21:17 +01:00
fb5aed464f
boards/frdm-kw41z: update i2c configuration
...
Remove first I2C that is not reachable from the pinout and is not connected to anything. Move I2C1 as the first I2C device.
Update FXOS8700 I2C device in board configuration
2018-11-15 08:57:20 +01:00
836fe3dbba
Merge pull request #9890 from bergzand/pr/ethos/sync
...
ethos: Only accept frame if previous frame is read
2018-11-14 22:41:52 +01:00
c4608ca0eb
ethos: Only accept frame if previous frame is read
2018-11-14 22:16:04 +01:00