Francisco Molina
842b7e37c8
bootloaders/riotboot: set RIOTBOOT_BUILD
...
Set a make variables to indicate `riotboot` application (riots
bootloader) is being built.
2020-01-10 11:42:16 +01:00
Bas Stottelaar
4dc67679a4
Merge pull request #13056 from fjmolinas/pr_fix_local_pkg_13036
...
pkg/local.mk: fix local pkg build
2020-01-09 11:51:25 +01:00
Francisco Molina
673ff3e94a
pkg/local.mk: fix local pkg build
2020-01-09 11:19:06 +01:00
Francisco
c8461a4bef
Merge pull request #13036 from basilfx/feature/save_state_and_dependencies
...
pkg/pkg.mk: use intermediate state files
2020-01-08 22:57:12 +01:00
Cenk Gündoğan
ce1eb014cf
Merge pull request #12915 from PeterKietzmann/pr_bump_ccnl
...
pkg/ccn-lite: bump version
2020-01-08 22:56:12 +01:00
Francisco
f395a6d231
Merge pull request #13049 from fjmolinas/pr_ccm_alen_0
...
crypto/ccm: fix plaintext_len write
2020-01-08 22:39:15 +01:00
PeterKietzmann
ee53dd958c
pkg/ccn-lite: bump version
2020-01-08 22:26:56 +01:00
Gaëtan Harter
f08116f3ce
dist/tools/*: adapt to new state file targets
...
Prepare for handling pkg state with files. So it requires having the
path defined before declaring targets. In addition, it cleans up the
old git-download target.
2020-01-08 20:55:19 +01:00
Gaëtan Harter
ca5d13cc2a
pkg/*: adapt to new state file targets
...
Prepare for handling pkg state with files. So it requires having the
path defined before declaring targets. In addition, it cleans up the
old git-download target.
2020-01-08 20:55:19 +01:00
Bas Stottelaar
831898f735
pkg: adapt Makefile template
2020-01-08 20:55:19 +01:00
Gaëtan Harter
9b6526c911
pkg/pkg.mk: use intermediate state files
...
Rely on file creation and dependencies instead of .PHONY targets.
Files will be rebuilt when changing version as the main `Makefile` will
have been updated. All steps are re-done on version change.
When deleting patches, the '.prepare' step should be redone thanks
to the included 'patch-dep.inc' file (TODO TEST ME).
Implementation in order:
* '.git': means the repository has been cloned.
* '.git-downloaded': Fetches the wanted version
* '.git-prepared': will clean checkout the version and apply patches
2020-01-08 20:55:19 +01:00
Gaëtan Harter
1a07471311
pkg/pkg.mk: ensure file is included at the beginning
...
This should prevent issues where the Makefile use 'PKG_BUILDDIR' before
them being defined.
This will also allow changing the state targets to be file targets.
2020-01-08 20:54:54 +01:00
Gaëtan Harter
0b7f5c2272
pkg/pkg.mk: prepare to move include at the beginning
...
The file must not change the default goal otherwise it could change
packages behavior.
2020-01-08 20:54:54 +01:00
Gaëtan Harter
480a8bf076
crypto/ccm: fix plaintext_len write
...
plaintext_len should be written in MSB first order into bytes
[16-L..15] both included and not ]16-L..15].
[RFC3610: 2.2 Authentication]
2020-01-08 19:49:15 +01:00
Gaëtan Harter
4eb0538e74
tests/sys_crypto: test that the whole plaintext_len is written
2020-01-08 19:49:15 +01:00
a018df68cd
Merge pull request #12364 from mtausig/ccm_msglen
...
Fix CCM mode encryption when length of message > 256
2020-01-08 15:28:31 +01:00
7480642776
Merge pull request #13043 from aabadie/pr/tests/pkg_cmsis_tests_cleanup
...
tests: cleanup tests/lua_loader, tests/pkg_cmsis-dsp Python test scripts
2020-01-08 10:56:43 +01:00
ce0bb35587
Merge pull request #12993 from fjmolinas/pr_cc2538_rtt
...
cpu/cc2538: add periph_rtt
2020-01-08 09:55:45 +01:00
MichelRottleuthner
4fb8de579e
Merge pull request #12942 from kaspar030/xtimer_bench_listop
...
tests/bench_xtimer: initial import
2020-01-08 09:53:51 +01:00
330b2b6e58
tests/lua_loader: cleanup Python test script
2020-01-08 09:46:09 +01:00
9988d98929
tests/pkg_cmsis-dsp: cleanup Python test script
2020-01-08 09:43:16 +01:00
Francisco Molina
b436ba4a0c
boards/common/remote: add periph_rtt
2020-01-08 09:16:49 +01:00
Francisco Molina
59ada62930
boards/openmote-b: add periph_rtt
2020-01-08 09:16:49 +01:00
Francisco Molina
1801f4f085
cpu/cc2538: add periph_rtt
2020-01-08 09:16:49 +01:00
ff285cb3e0
Merge pull request #13042 from fjmolinas/pr_compile_and_test_args
...
dist/tools/compile_and_test_for_board: pass parser as main arg
2020-01-08 09:01:14 +01:00
Francisco Molina
413f401b97
dist/tools/compile_and_test_for_board: pass parser as main arg
2020-01-08 08:32:42 +01:00
Mathias Tausig
44281269e1
crypto: Add testcase for CCM mode with message length > 256
2020-01-07 23:31:35 +01:00
Mathias Tausig
116240d721
crypto: Fix CCM mode when message size > 256
...
Fixes part of issue #8107
2020-01-07 23:31:35 +01:00
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
d89debd183
tests/bench_xtimer: initial import
2020-01-07 21:58:05 +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