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

25951 Commits

Author SHA1 Message Date
Francisco
4c4cb8a14f
Merge pull request #12362 from mtausig/ccm_aadlen
Fix CCM mode when length of AAD is > 24
2020-01-07 22:26:24 +01:00
Mathias Tausig
c817bc9a11 sys/crypto: Add unit test for CCM mode with AAD length > 24 2020-01-07 21:25:48 +01:00
Mathias Tausig
6fe6f8f6ca sys/crypto: Allow CCM encryption with AAD of length > 24
Fixes parts of issue #8107
2020-01-07 21:25:48 +01:00
Mathias Tausig
f266275afb sys/crypto: Make internal functions static 2020-01-07 21:23:13 +01:00
Mathias Tausig
3382a089a8 sys/crypto: Check block size for CCM operations 2020-01-07 21:22:09 +01:00
Francisco
7d8c6b7eed
Merge pull request #13038 from smlng/pr_print_shell
print_toolchain_versions: print system and make's default shell.
2020-01-07 19:48:09 +01:00
ad7d0d302e
Merge pull request #13041 from kaspar030/fe310_drain_uart_in_init
cpu/fe310: some uart fixes
2020-01-07 14:22:24 +01:00
Francisco
d94cd6d71d
Merge pull request #12921 from miri64/sock_async/fix/header-foobar
sock_async: fix cyclic include problem
2020-01-07 13:40:15 +01:00
Francisco
56ed36f3e3
Merge pull request #13034 from MyCodeMyMoney/master
core/ringbuffer: compensate 'ringbuffer_remove' underflow error
2020-01-07 13:39:47 +01:00
Francisco
0c93eb0db7
Merge pull request #12805 from aabadie/pr/pkg/utensor
pkg/utensor: add support to RIOT
2020-01-07 13:16:28 +01:00
4eba1427d2 cpu/fe310: uart_init(): drain RX fifo before enabling RX IRQ 2020-01-07 13:16:02 +01:00
e2f88abe63 cpu/fe310: periph_uart: only call rx_cb if set 2020-01-07 13:14:08 +01:00
MyCodeMyMoney
4167d4dd9b tests/unittests/tests-core/tests-core-ringbuffer: test underflow 2020-01-07 12:56:17 +01:00
mjc
7f44c02f45 core/ringbuffer: compensate 'ringbuffer_remove' underflow error
When rb->start = rb->size, `ringbuffer_get_one(ringbuffer_t *restrict rb)`
will read out of bounds.
2020-01-07 12:56:17 +01:00
8a9ded984d
tests/pkg_utensor: set boards without enough memory 2020-01-07 11:22:38 +01:00
390f51091a
tests/pkg_utensor: add example application with test 2020-01-07 11:22:38 +01:00
087246ea0f
pkg: add support for utensor as a package 2020-01-07 11:22:38 +01:00
Martine S. Lenders
3896145c31
sock: ignore -Wtypedef-redefinition for LLVM where needed
net/sock/async/types.h included by net/sock.h needs to re-typedef the
the sock types to prevent cyclic includes.
2020-01-07 10:13:02 +01:00
Martine S. Lenders
82180a8bb6
test/gnrc_sock_async: include net/sock/async.h 2020-01-07 10:13:02 +01:00
Martine S. Lenders
37d99c11b0
gnrc_sock: use …/async/types.h instead of …/async.h 2020-01-07 10:13:01 +01:00
Martine S. Lenders
43b1c5c74c
sock_async: fix cyclic dependency with sock_types.h
Typically a stack needs to add the callback for a sock as a member of
its respective `sock` type so `sock_types.h` needs to include
`net/sock/async.h` at the moment. As those however include
`net/sock/<prot>.h`, which in turn include `sock_types.h`, we create a
cyclic dependency.

This fix resolves this cyclic dependency, by putting the callback
definitions in its own header that then in turn can be also included
by `sock_types.h`.
2020-01-07 10:13:01 +01:00
Juan Carrano
02b72ab385 print_toolchain_versions: print system and make's default shell.
Some systems use dash as system shell, others use bash. The shell used
by make can also be different, and unrelated to the system shell.
Differences in this variable can cause problems when testing PRs and
reporting bugs.

The default shell is important system information that should be reported.
2020-01-07 09:28:46 +01:00
Francisco
421d174f60
Merge pull request #13023 from leandrolanzieri/pr/makefiles/kconfig/fix_autoheader_win
makefiles/kconfig: Change autoconf.h comment style
2020-01-07 09:11:05 +01:00
Francisco
2729580cf1
Merge pull request #13027 from gschorcht/dist/tools/esp8266_version_check
dist/tools/ci:  print toolchain version update for esp8266
2020-01-06 17:31:00 +01:00
Francisco
dcc5299682
Merge pull request #10667 from miri64/gnrc_sixloenc/enh/6lo-config
gnrc_netif: make 6LoENC dynamically configurable
2020-01-06 13:19:24 +01:00
Leandro Lanzieri
ffbd764111
Merge pull request #12997 from miri64/shell_commands/enh/6lo-ctx-on-non-6LBR
shell_commands: make 6Lo compression contexts configurable on non-6LBR
2020-01-06 11:46:05 +01:00
Francisco
41808f0286
Merge pull request #13031 from basilfx/feature/gecko_sdk_fix_hash
pkg/gecko_sdk: correct SHA-1 of package.
2020-01-06 11:30:29 +01:00
Francisco
f972a47fa6
Merge pull request #13033 from basilfx/feature/pkg_improvements
pkg: minor improvements to metadata handling
2020-01-06 10:19:39 +01:00
Bas Stottelaar
19575ea4b6 pkg: add PKG_LICENSE to templates 2020-01-06 00:37:47 +01:00
Gaëtan Harter
0e6b22dd2e pkg/openthread: define PKG_LICENSE to BSD 3-Clause
The 'BSD 3-Clause "New" or "Revised" License' is the value found by
github

3a248f649a/LICENSE

> A permissive license similar to the BSD 2-Clause License, but with a 3rd
> clause that prohibits others from using the name of the project or its
> contributors to promote derived products without written consent.
2020-01-06 00:37:47 +01:00
Gaëtan Harter
c5b4064267 pkg/heatshrink: define PKG_LICENSE to ISC-License
This "ISC License" is the value found by github

7d419e1fa4/LICENSE

    A permissive license lets people do anything with your code with proper
    attribution and without warranty. The ISC license is functionally
    equivalent to the BSD 2-Clause and MIT licenses, removing some language
    that is no longer necessary.
2020-01-06 00:37:47 +01:00
Gaëtan Harter
239f16a8f6 pkg/pkg.mk: explicit set --git-dir and --work-tree for git
This should prevent issues when the directory is not a git repository
which would for example checkout force or clean in the RIOT repository
instead.
2020-01-06 00:37:47 +01:00
Gaëtan Harter
edca088193 pkg/pkg.mk: add checks for required variables
Ensure the required variables are defined before including 'pkg.mk'.
2020-01-06 00:18:05 +01:00
Bas Stottelaar
e88bbec313 pkg/gecko_sdk: correct SHA-1 of package. 2020-01-05 23:57:28 +01:00
Leandro Lanzieri
e88254e52a makefiles/kconfig: Escape comment in autoconf.h for Windows
In Windows setups using MSYS environment variables which start with a
slash get the 'root path' added. This adds a second slash to the content
of KCONFIG_AUTOHEADER_HEADER, so the first one is escaped when building
on those platforms.
2020-01-05 20:45:14 +01:00
benpicco
0d4d621f99
Merge pull request #13013 from Hoernchen20/stm32f1_rtc_stop_mode
cpu/stm32f1: improve rtc irq
2020-01-04 21:45:48 +01:00
Hoernchen20
3b966cc260 cpu/stm32f1: improve rtc irq 2020-01-04 19:59:14 +01:00
Gunar Schorcht
0252af6572 dist/tools/ci: print toolchain version update for esp8266
The new ESP8266 port in PR #11108 requires a different tool chain than the previous implementation. The version check must be updated accordingly.
2020-01-04 17:23:28 +01:00
Francisco
f6f4469542
Merge pull request #11889 from miri64/tapsetup/enh/sudo
tapsetup: require to be executed with sudo
2020-01-04 10:43:06 +01:00
Martine S. Lenders
64a0d73a0a examples: adapt doc on tapsetup for new sudo requirement 2020-01-03 21:00:54 +01:00
Martine S. Lenders
38f76f951d doc: adapt doc on tapsetup for new sudo requirement 2020-01-03 21:00:54 +01:00
Martine S. Lenders
bacef29086 native: adapt doc on tapsetup for new sudo requirement 2020-01-03 21:00:54 +01:00
Martine S. Lenders
a68db25604 README.md: adapt doc on tapsetup for new sudo requirement 2020-01-03 21:00:54 +01:00
Martine S. Lenders
08b11d424d tapsetup: require to be executed with sudo 2020-01-03 21:00:54 +01:00
Francisco
4e9c1c06c1
Merge pull request #13024 from aabadie/pr/tools/build_system_sanity_linkflags
ci/build_system_sanity_check: ensure LINKFLAGS/LINKER_SCRIPT are not exported
2020-01-03 18:38:55 +01:00
748ffff931
boards/nrf52: remove use of export for LINKER_SCRIPT 2020-01-03 16:07:15 +01:00
970008a74c
ci/build_system_sanity_check: check LINKFLAGS not exported 2020-01-03 16:07:15 +01:00
9198fbdf1c
Merge pull request #13017 from aabadie/pr/cpu/cortexm_inc_cleanup
cpu/cortexm: cleanup cortexm.inc.mk
2020-01-03 16:06:51 +01:00
3e3f4e2324
pkg/jerryscript: ensure MCPU is exported
This export is only performed for the libjerry target
2020-01-03 14:20:21 +01:00
ff00097992
cpu/cortexm: cleanup cortexm.inc.mk
- fix indent
- remove unnecessary exports
2020-01-03 14:19:48 +01:00