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
Gaëtan Harter
50f58bfb07
makefiles/scan-build: Produce an error when doing 'scan-build-analyze'
...
This makes doing 'scan-build-analyze' produce an error at execution if
WERROR=1.
When used from `scan-build` it will not procude an error to display the result
webpage.
2018-11-14 14:18:31 +01:00
Gaëtan Harter
ea3c1661f3
makefiles/scan-build: Fix 'scan-build-analyze' target
...
This correctly defines a `scan-build-analyze` target that does not display the
result webpage.
`scan-build-view` has now been moved to a private target as should not
be used directly.
The handling of displaying the page on the host system and implementing
'scan-build-analyze' are now explicitely done with separate targets and
not double implemented target when in docker or on the host that were executed
twice with different implementations.
2018-11-14 14:16:35 +01:00
Martine Lenders
a98edd33a0
Merge pull request #10387 from SemjonKerner/fix_nrf52_hwrng
...
cpu/nrf5x: fix hwrng hang
2018-11-14 13:39:34 +01:00
PeterKietzmann
0de38c2a6f
tests/puf_sram: add input args to automation script
2018-11-14 13:34:41 +01:00
Gaëtan Harter
bcf292b3d4
makefiles/scan-build: Remove un-necessary ';'
2018-11-14 13:06:16 +01:00
Gaëtan Harter
e3b50a6bf8
makefiles/scan-build: Provide a per board scan-build output
...
Update the SCANBUILD_OUTPUTDIR to be per board.
Also remove un-necessary export and 'CURDIR'.
2018-11-14 13:02:06 +01:00
Gaëtan Harter
bba88065ac
makefiles/scan-build: make RIOT_CI_BUILD visible to scan-build
...
This is required to have reference builds context using the right
RIOT_VERSION_OVERRIDE=buildtest.
2018-11-14 13:01:09 +01:00
Semjon Kerner
ee3ef1927d
cpu/nrf5x: fix event hang
2018-11-14 12:48:32 +01:00
Martine Lenders
83ca890ef7
Merge pull request #10339 from miri64/gnrc_pktbuf/cleanup/rm-duplicate-upto
...
gnrc_pktbuf: deprecate gnrc_pktbuf_duplicate_upto
2018-11-13 18:50:02 +01:00
Martine Lenders
f2760c033c
gnrc_pktbuf: deprecate gnrc_pktbuf_duplicate_upto
2018-11-13 18:05:09 +01:00
José Alamos
8de5ba27bb
Merge pull request #10257 from jia200x/pr/release_notes_2018.10
...
Release 2018.10 notes
2018-11-13 13:31:01 +01:00
Jose Alamos
50832fb643
release-notes.txt: Add Release 2018.10 notes
2018-11-13 13:08:48 +01:00
Sebastian Meiling
1f7ec9b208
Merge pull request #10334 from maribu/saul_rssi
...
{drivers/saul,sys/phydat}: Added RSSI sensor and dBm unit
2018-11-12 21:01:24 +01:00
00b6e46abc
Merge pull request #8114 from cladmi/pr/crypto/ccm/auth_data_len_upper_bound
...
crypto/ccm: fix auth_data_len check
2018-11-12 17:30:17 +01:00
Martine Lenders
685efc4f5d
Merge pull request #10366 from crest42/gnrc_udp_use_after_free
...
gnrc_sock_[udp|ip]: read return value for _recv after release
2018-11-12 17:01:10 +01:00
Gaëtan Harter
147390c209
tests/ccm: add test for auth_data_len upper value
...
Maximal supported value is 0xFEFF.
2018-11-12 16:38:45 +01:00
Wentao Shang
3fd8276c37
crypto/ccm: fix auth_data_len upperbound value
...
RFC3610 states that len_encoding is only valid for "0x0001 ... 0xFEFF"
If 0 < l(a) < (2^16 - 2^8), then the length field is encoded as two
octets which contain the value l(a) in most-significant-byte first
order.
2018-11-12 16:38:45 +01:00
Gaëtan Harter
f0e785a430
crypto/ccm: check ccm_compute_adata_mac return value
...
Return value was ignored but function could fail
2018-11-12 16:37:00 +01:00
Robin
e9047063ca
gnrc_sock_[udp|ip]: store return value before release
...
sock_[udp|ip]_recv returns `pkt->size` after pkt was released via `gnrc_pktbuf_release(pkt)`.
This can result in wrong values returned by this functions and thus is not according to its sepecification.
Storing this values before releasing pkt returning the stored values should fix this.
2018-11-12 14:58:26 +01:00
Sebastian Meiling
0319a56586
Merge pull request #10368 from gebart/tools/version-make
...
print_toolchain_versions.sh: Add make command version
2018-11-12 14:33:14 +01:00
Joakim Nohlgård
3deea7dfbf
print_toolchain_versions.sh: Add make command version
2018-11-12 14:06:29 +01:00
Schorcht
16f0bf4fdc
cpu/esp32: fixes compile problems
2018-11-10 14:14:49 +01:00
Martine Lenders
98f42eeea8
Merge pull request #10356 from miri64/gnrc_ipv6_nib/fix/netif_queued
...
gnrc_ipv6_nib: provide interface on packet queueing
2018-11-09 17:47:12 +01:00
Martine Lenders
4671b18dca
Merge pull request #10358 from miri64/gnrc/fix/llvm-static-analyzer2
...
gnrc_ipv6_nib: fix several issues found with LLVM's static code analyzer (only critical)
2018-11-09 16:10:39 +01:00
Martine Lenders
94549d136b
gnrc_ipv6_nib_pl: return early if PL entry wasn't allocated
2018-11-09 15:40:46 +01:00
Martine Lenders
6d1a3caa26
gnrc_ipv6_nib: fix NULL pointer dereference
2018-11-09 15:39:41 +01:00
Martine Lenders
ce0c46836c
gnrc_ipv6_nib: provide interface on packet queueing
...
Without this the first packet to a new link-local address will not be
delivered in non-6Lo environments, since the interface is not provided.
With this change, if an internet was provided to the address resolver it
will be stored within an allocated `gnrc_netif_hdr_t`.
At this point [IPv6 already striped](netif strip) the packet of its
netif header, so there is no risk that there will be to, in case it was
provided and the `netif` came from its existence.
2018-11-09 12:56:20 +01:00
92a2c1632f
Merge pull request #10354 from miri64/core/enh/fix-debug-msg
...
core: mutex: fix DEBUG pointer output
2018-11-09 10:50:55 +01:00
Martine Lenders
28572d7d21
core: mutex: fix DEBUG pointer output
2018-11-09 08:41:50 +01:00
f3fa8b5ecd
Merge pull request #8558 from gebart/pr/kinetis-gpio-interrupt
...
kinetis: Optimize GPIO interrupt handler
2018-11-08 22:27:38 +01:00
Martine Lenders
12049a5779
Merge pull request #10205 from haukepetersen/opt_nimble_standalone
...
pkg/nimble: improve initialization and add host thread
2018-11-08 15:44:54 +01:00
Joakim Nohlgård
8bb73f237d
kinetis: GPIO: avoid dup calls to cortexm_isr_end on KW41Z
...
Devices with combined IRQs would call the cortexm_isr_end handler twice
when it is part of the irq_handler routine.
2018-11-08 14:52:10 +01:00
Joakim Nohlgård
b9ceac5ccc
kinetis: Optimize GPIO IRQ handler
...
Measurements show that the time from pin edge until return from
interrupt is reduced from 22 us to 6.1 us for KW41Z running at
41.94 MHz. The measurements used a no-op GPIO callback for testing and
were measured using an external logic analyzer.
2018-11-08 14:52:10 +01:00
Hauke Petersen
f829887f18
examples/nimble_gatt: simplify example
2018-11-08 14:40:52 +01:00
Hauke Petersen
73534850fa
sys/auto_init: add auto init for nimble
2018-11-08 14:40:52 +01:00
Hauke Petersen
8f2a825b58
pkg/nimble: ipmrove host initialization
2018-11-08 14:40:52 +01:00
Hauke Petersen
fa520a09cc
Merge pull request #10196 from haukepetersen/fix_nimble_nodevelhelp
...
pkg/nimble: prepare for building without DEVELHELP
2018-11-08 14:40:07 +01:00
Hauke Petersen
4d30651177
Merge pull request #10349 from SemjonKerner/cleanup_nrf52_headers
...
cpu/nrf5x: update vendor headers
2018-11-08 14:24:42 +01:00