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

836 Commits

Author SHA1 Message Date
Gaëtan Harter
79877679e4
Merge pull request #10210 from bergzand/pr/pkg/spiffs_move
tests/spiffs: Move from unittests to regular test
2019-05-28 18:53:20 +02:00
e80fccaf50
Merge pull request #11511 from gdoffe/scanf_float
sys: add pseudomodule scanf_float
2019-05-28 18:23:43 +02:00
eb7d7d6d99
tests/spiffs: Move from unittests to regular test 2019-05-28 17:41:11 +02:00
1d38863e2e
tests/littlefs: Move from unittests to regular test 2019-05-28 17:39:26 +02:00
Juan Carrano
66c66b59a5 tests/unittests: add tests for scanf_float.
Newlib-nano does not seem to support hexadecimal floats or the %a
specifier. What is even weirder, it reports a successful conversion
anyways.

Tests for these two cases have been commented out.
2019-05-28 12:10:39 +02:00
Marian Buschsieweke
855b5bd54d
tests: Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-leonardo to BOARD_INSUFFICIENT_MEMORY where needed
2019-05-24 17:57:44 +02:00
07a7ae9c3a
test: not enough memory for i-nucleo-lrwan1 2019-05-21 09:57:33 +02:00
ea2988c057
tests: add lsn50 to insufficient memory boards 2019-05-17 22:43:04 +02:00
José Alamos
d16d911f42
Merge pull request #10120 from mtausig/ocb
Add OCB encryption mode
2019-04-23 11:08:30 +02:00
Mathias Tausig
dcab239b9b crypto: Implement Unit Tests for OCB mode 2019-04-23 10:36:31 +02:00
Hyungsin
d9c17c2154 boards: add initial hamilton board support 2019-04-03 15:00:35 -07:00
88171698e0
Merge pull request #10931 from kb2ma/nanocoap/pktapi_opt_enospc
net/nanocoap: Packet API return error if buffer full
2019-04-03 14:49:44 +02:00
Sebastian Meiling
4242a026e9
Merge pull request #11197 from miri64/tests/fix/pktbuf-unittests-malloc
tests/unittests: exclude ENOMEM tests for gnrc_pktbuf_malloc
2019-03-29 10:03:11 +01:00
Hauke Petersen
ce5a08cd2c unittests: added tests for bluetil_addr 2019-03-26 21:05:11 +01:00
Martine Lenders
a927a051db tests/unittests: exclude ENOMEM tests for gnrc_pktbuf_malloc 2019-03-26 12:08:10 +01:00
Hauke Petersen
eae103cbd7 unittests/core: added tests for clist_count 2019-03-23 23:47:25 +01:00
Martine Lenders
4ee4625f39
Merge pull request #10357 from jcarrano/posix_headers-module
sys/posix: make posix module provide only headers.
2019-03-20 14:07:12 +01:00
Juan Carrano
6b766c3cd3 sys/posix: make posix module provide only headers.
The build system contains several instances of
 INCLUDES += -I$(RIOTBASE)/sys/posix/include

This is bypassing the module management system, by directly accesing
headers without depending on a module. The module is the posix module.

That line is also added when one of the posix_* modules is requested.

According to the docs, the posix module provides headers only, but in
reality there is also inet.c.

This patch:

- Moves `inet.c` into `posix_inet`, leaving `posix` as a headers-only
  module.
- Rename `posix` as `posix_headers` to make it clear the module only
  includes headers.
- Makes `posix_*` modules depend on `posix_headers`, thus removing the
  explicit `INCLUDES+=...` in `sys/Makefile.include`.
- Ocurrences of `INCLUDES+=...` are replaced by an explicit dependency
  on `posix_headers`.
2019-03-20 12:57:13 +01:00
Ken Bannister
7d259cc268 net/gcoap: verify error when overfill on coap_opt_finish 2019-03-19 05:30:04 -04:00
Ken Bannister
58faa35156 tests/nanocoap: verify error when overfill buffer 2019-03-19 05:30:04 -04:00
Hauke Petersen
9fb2f541ba net/gnrc_pktbuf: rm deprecated _pktbuf_get_iovec() 2019-03-15 10:21:22 +01:00
Marian Buschsieweke
0e90e6195f
tests: Updated Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-nano to BOARD_INSUFFICIENT_MEMORY/BOARD_BLACKLIST following suit
of how arduino-uno is marked, as arduino-nano is mostly an Uno in a different
form factor.
2019-03-14 15:39:54 +01:00
297efdd5b2
Merge pull request #10892 from kb2ma/gcoap/use_opt_finish
net/gcoap: Replace use of gcoap_finish() with coap_opt_finish()
2019-03-12 22:16:32 +01:00
Gaëtan Harter
8e4b11cdd0
Merge pull request #10369 from miri64/gnrc_ipv6_nib/fix/arsm-16-bit
gnrc_ipv6_nib/arsm: ensure proper int width in backoff calculation
2019-02-12 17:54:52 +01:00
Martine Lenders
f5086e76df tests/unittests: add tests for exponential NS backoff 2019-02-12 17:01:14 +01:00
Martine Lenders
875377d622 tests/unittests: suppress cppcheck redundantAssignment warning
To make the CI happy ;-).
2019-02-08 23:35:37 +01:00
Martine Lenders
2451fb36f8 tests: add unittest for state corruption in NC cache-out 2019-02-08 19:22:51 +01:00
Kevin "Bear Puncher" Weiss
7dc243e3cc
Merge pull request #10220 from bergzand/pr/crypto/chacha20poly1305
chacha20poly1305: Initial implementation of AEAD cipher.
2019-02-04 12:52:24 +01:00
f4a4f5d0b1
chacha20poly1305: Provide a test based on the rfc
Add a test case to the crypto tests testing the chacha20poly1305
algorithm with the test vectors from rfc 8439.
2019-02-04 09:29:26 +01:00
Ken Bannister
e96209fddb net/gcoap: use coap_opt_finish in unit tests 2019-01-27 09:14:46 -05:00
Sebastian Meiling
44234783da
Merge pull request #10823 from kb2ma/nanocoap/verify_before_write_option
net/nanocoap: validate option length
2019-01-24 09:23:26 +01:00
Dylan Laduranty
7afacf97e7 tests/*: add saml1*-xpro to BOARD_INSUFFICIENT_MEMORY 2019-01-21 17:11:32 +01:00
Dylan Laduranty
762e5251b4 tests/unittests: disable optimization for test_atomic_inc_rollover
Disable optimization for this function only with CPU_SAML1X MCUs due to an internal crosscompiler bug
2019-01-21 17:10:19 +01:00
Ken Bannister
715b79a1e7 tests/nanocoap: build request that fills buffer 2019-01-18 12:34:55 -05:00
9767dd3d49
Merge pull request #10754 from kaspar030/fix_nanocoap_optlen
nanocoap: fix server-side option_count overflow
2019-01-14 13:26:37 +01:00
Ken Bannister
1058a8d07e tests/nanocoap: add test for option parse overflow 2019-01-14 12:30:06 +01:00
dd53bb89f7 tests/unittests/nanocoap: add test case for option_count overflow 2019-01-14 12:30:06 +01:00
Martine Lenders
1d5184a948 tests: move gnrc_rpl_srh unittests to dedicated test application 2019-01-11 15:18:52 +01:00
José Alamos
f14d46d935
Merge pull request #10242 from miri64/gnrc_ipv6_ext_rh/enh/icmpv6_error_msg
gnrc_ipv6_ext_rh: add ICMPv6 error message sending
2019-01-03 10:35:54 +01:00
Sebastian Meiling
139b5dba3c
Merge pull request #10501 from kb2ma/gcoap/req_path_null
net/gcoap: allow NULL path in gcoap_req_init()
2018-12-21 14:36:04 +01:00
Martine Lenders
be5dd81a79 tests/unittests: adapt rpl_srh tests for API change 2018-12-18 19:46:27 +01:00
1de4ae743a tests: exclude nrf51dk from big tests 2018-12-04 08:37:00 +01:00
Kevin "Bear Puncher" Weiss
f05852290a
Merge pull request #9236 from bergzand/pr/crypto/poly1305
crypto: Poly1305 implementation
2018-12-03 14:31:28 +01:00
Peter Kietzmann
c83493728a
Merge pull request #10435 from leandrolanzieri/pr/boards/sodaq_sara_r410m
boards/sodaq-sara-aff: Initial support
2018-12-03 14:11:34 +01:00
Leandro Lanzieri
d53fbb0045 boards/sodaq-sara-aff: Initial support 2018-12-03 10:05:37 +01:00
d5c527161d
test/crypto: Add tests for poly1305
Tests are based on the tests vectors provided in RFC 7539
2018-12-03 09:31:10 +01:00
Joakim Nohlgård
36e5b8ef23 usb-kw41z: NXP USB-KW41Z wireless IoT USB dongle 2018-12-01 13:51:55 +01:00
Juan I Carrano
77c9cc4041
Merge pull request #10219 from bergzand/pr/crypt/helper_add_wipe
crypto/helper: Add secure wipe function
2018-11-30 11:32:45 +01:00
Martine Lenders
9d6a32b551 gnrc_mac: fix header includes
The inclusion of `net/gnrc.h` in `net/gnrc/mac/types.h` header makes it
impossible to include the `net/gnrc/netif.h` header within
`net/gnrc/netif/hdr.h`, due to `net/gnrc/mac/types.h` being included
with `net/gnrc/netif/mac.h` (which is included in `net/gnrc/netif.h`)
2018-11-29 12:39:34 +01:00
Ken Bannister
ffa0c5b03c tests/gcoap: test NULL path in gcoap_req_init() 2018-11-28 13:26:04 -05:00