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

496 Commits

Author SHA1 Message Date
Simon Brummer
68581a8fbe core: bugfix: ringbuffer_remove 2017-03-01 22:01:26 +01:00
BytesGalore
dacc3cba9f Merge pull request #6283 from OTAkeys/pr/hmac_iterative_calc
hashes/sha256: add iterative hmac calc. functions
2017-03-01 17:14:11 +01:00
Hermann Lelong
f2ef9db988 hashes/sha256: add iterative hmac calc. functions
Add init, update, and final functions to do HMAC
calculation using blocks, instead of one shot.

Unit tests: use the PRF-6 test vector to test the case
where data is splitted in 3 different blocks.
2017-03-01 15:51:21 +01:00
4ca7f1096a tests/unittests: exclude nucleo-l073 board 2017-02-24 16:12:41 +01:00
77df65e95e tests: add nucleo32-f031 to unsufficient memory boards 2017-02-22 18:43:02 +01:00
3628617001 tests/unittest: add nucleo-f411 to ARM Cortex based boards 2017-02-22 15:18:21 +01:00
Joakim Nohlgård
cb34eed8f3 tests/unittests/core-atomic: Use stdatomic.h instead of custom atomic.h 2017-02-08 16:23:49 +01:00
kYc0o
5ff272f9f8 tests/unittests: add more boards to insufficient memory list 2017-01-26 15:02:00 +01:00
kYc0o
2277cc3354 tests/unittests/tests-tweetnacl: increase needed stack 2017-01-26 15:02:00 +01:00
Martine Lenders
751a82807b Merge pull request #6214 from miri64/tests/enh/list-unittests
tests: provide unittests for core/list
2017-01-24 15:56:43 +01:00
Francisco Acosta
e44236d379 Merge pull request #6170 from haukepetersen/add_periph_romaddrtopage
drivers/flashrom: added addr-to-page function
2017-01-24 14:18:41 +01:00
Martine Lenders
b0a849c01c tests: provide unittests for core/list 2017-01-24 14:15:48 +01:00
Hauke Petersen
87bdd7be32 tests/unittests: added flashpage tests (page<->addr) 2017-01-24 09:41:56 +01:00
Frits Kuipers
e483c2307b boards/maple-mini: initial support 2017-01-21 16:27:17 +01:00
Martine Lenders
5b1c00ad8b Merge pull request #6388 from astralien3000/opencm9-04
boards/opencm9-04 : initial support
2017-01-21 14:37:50 +01:00
Ken Bannister
342c3f2ed3 gcoap: Remove coap.h include file, which is no longer used.
Also change references in dependencies to the net/gcoap.h include.
2017-01-20 22:00:25 -05:00
Ken Bannister
acda73c9c7 gcoap: Update unit tests for rebase on sock 2017-01-20 22:00:25 -05:00
Loïc Dauphin
73a3be518b tests: add opencm9-04 to insufficient memory boards in some tests 2017-01-20 18:11:00 +01:00
smlng
a79ee2d623 unittests: fix heatshrink compiler error on macOS 2017-01-20 14:34:35 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
693636690c Merge pull request #6399 from OlegHahm/timex_constants
timex: unambiguous time conversion macros
2017-01-19 17:29:26 +01:00
Martine Lenders
76f951b54f Merge pull request #6326 from smlng/pr/osx/tests_name_clash
tests: fix linker failure on OS X due to name clash
2017-01-19 16:08:13 +01:00
smlng
6a037ad004 tests: add prefix to Makefile.tests_common
- fixes name clash on macOS
    - correct naming of test coap to pkg_libcoap
2017-01-19 15:20:37 +01:00
Martine Lenders
8ba057daf7 Merge pull request #6377 from aabadie/nucleo32-f303
boards/nucleo32-f303 : initial support
2017-01-19 14:19:28 +01:00
Oleg Hahm
4f4214235b timex: unambiguous time conversion macros 2017-01-19 13:18:08 +01:00
Oleg Hahm
b9b6e4934c Merge pull request #5203 from OlegHahm/cbor_bound_checking
cbor: bounds checking on read and no_copy string deserialization
2017-01-19 12:21:18 +01:00
ca11e4c9e6 tests: add nucleo32-f303 to insufficient memory boards in some tests 2017-01-19 11:09:42 +01:00
963662416b boards/nucleo32-f042: change board name nucleo->nucleo32 2017-01-18 22:04:59 +01:00
Lucio Torre
d783d784c9 cbor: add zero copy string deserialization 2017-01-18 19:33:00 +01:00
smlng
48a93cb665 unittests: fix array length error on OSX 2017-01-18 13:50:56 +01:00
21faabe417 Merge pull request #5948 from kaspar030/add_pkg_heatshrink
pkg: add heatshrink compression library
2017-01-17 08:37:04 +01:00
680a923aa5 tests: unittests: add unittests for heatshrink package 2017-01-17 00:04:03 +01:00
Oleg Hahm
c2893d4a88 sys: crypto: remove twofish and rc5 2017-01-15 14:53:43 +01:00
0194091673 remove obsolete lpm code 2017-01-12 11:24:15 +01:00
Francisco Acosta
deeb48723b Merge pull request #6293 from kYc0o/tweetnacl_pkg
pkg: add tweetnacl as a package
2017-01-11 21:04:00 +01:00
kYc0o
b84b151e78 tests/unittests: add tweetnacl unittest 2017-01-11 16:29:53 +01:00
Peter Kietzmann
82ec622748 Merge pull request #6168 from BytesGalore/base64_fix_expected_encode_size
sys/base64: corrected output size determination
2017-01-11 11:51:06 +01:00
BytesGalore
49f89b4268 sys/base64: corrected output size determination 2017-01-10 18:30:38 +01:00
Vincent Dupont
1a12a40110 boards/nucleo-f042: initial support 2017-01-10 10:34:35 +01:00
zhuoshuguo
6a0ac75d2c gnrc_mac: add mac tx and rx internal types and API. 2017-01-04 13:59:16 +01:00
Martine Lenders
71f778aa65 tests: provide unittests for ucrc16 2016-12-27 00:58:11 +01:00
9172e42437 tests/unittests: add stm32f3discovery to BOARD_INSUFFICIENT_MEMORY 2016-12-18 16:56:36 +01:00
Joakim Nohlgård
c5058673b7 tests/unittests: Mark limifrog-v1 for insufficient memory 2016-11-29 20:44:31 +01:00
Joakim Nohlgård
4e5fae77da tests/fib: Tidy up code style and fix cppcheck warning 2016-11-29 20:44:31 +01:00
Joakim Nohlgård
7c48c891a0 xtimer: Update xtimer usage to match API changes 2016-11-29 20:44:31 +01:00
Joakim Nohlgård
199140e50b sys/div: Add support for big 64 bit numbers 2016-11-28 11:00:42 +01:00
Joakim Nohlgård
94da9c2975 sys/div: Add div_u64_by_15625div512
64-bit version of div_u32_by_15625div512

also updated tests-div to use correct order for expected and actual values in unit tests (embUnit)
2016-11-28 11:00:42 +01:00
Hauke Petersen
8787eee178 tests: blacklisted calliope-mini 2016-11-21 17:20:53 +01:00
Hauke Petersen
fe7fc50106 tests: blacklisted microbit for insufficiant RAM 2016-11-09 12:01:09 +01:00
Martine Lenders
57ab1b06d5 unittests: Add more boards to BOARD_INSUFFICIENT_MEMORY
Somehow in the merging of 6dac4bd this was not catched, but those new
unittests made the total build too big for some more boards.
2016-11-01 11:05:43 +01:00
Martine Lenders
6dac4bd530 Merge pull request #5950 from zhuoshuguo/add_packet_queue_module_to_gnrc_mac
gnrc: Add priority packet queue module to gnrc
2016-11-01 07:45:31 +01:00
Ken Bannister
88a3eeb574 gcoap: unit tests 2016-10-31 22:41:53 -04:00
zhuoshuguo
0ebe2a0309 gnrc: add priority packet queue module. 2016-10-31 16:53:01 +01:00
Martine Lenders
5090e805e6 Merge pull request #5976 from miri64/tests/enh/fletcher-wrap-around
tests: unittests: add tests for longer input vectors
2016-10-26 17:52:03 +02:00
1659f56904 boards/nucleo-f070: initial support for nucleo-f070 board 2016-10-26 14:12:39 +02:00
Martine Lenders
0016463687 all: fix for new netreg_entry_t structure 2016-10-25 22:17:18 +02:00
Hauke Petersen
bc232a5642 Merge pull request #5524 from miri64/gnrc_netreg/api/helper-macro
gnrc_netreg: introduce helper macro/function for entry init
2016-10-25 21:21:25 +02:00
Hauke Petersen
bee57a4d6a Merge pull request #5798 from aabadie/nucleo-f030
boards: initial support for Nucleo f030 board
2016-10-25 19:50:59 +02:00
Lucas Jenß
4e20feb453 Merge pull request #5975 from miri64/cbor/bug/i5420
cbor: fix off-by-one error
2016-10-25 19:20:52 +02:00
Martine Lenders
dc45cd2610 gnrc: use new netreg helper functions everywhere 2016-10-25 18:47:30 +02:00
Martine Lenders
f341947612 cbor: fix off-by-one error 2016-10-24 15:52:05 +02:00
Martine Lenders
100991e59e tests: unittests: add tests for longer input vectors
Fixes #5299
2016-10-21 11:06:27 +02:00
560a509036 make: remove trailing slash from BINDIR variable 2016-10-18 23:27:59 +02:00
3f29e77a4c boards/nucleo-f030: initial support 2016-10-12 14:32:25 +02:00
Francisco Acosta
ba6a8e06b0 Merge pull request #5475 from aabadie/arduino_zero
boards/arduino-zero: add initial support
2016-10-06 20:26:33 +02:00
68acc8857e boards/arduino-zero: add initial support 2016-10-04 18:34:51 +02:00
Martine Lenders
ed343907e4 tests: adapt tests for changed broadcast settings 2016-09-30 14:57:06 +02:00
Martine Lenders
3b35dae6cd tests: adapt unittests for removal of user-controlled PAN_COMP 2016-09-30 14:57:05 +02:00
Kees Bakker
076d5bda11 boards: add support for SODAQ Autonomo
The following features were tested (briefly):
* UART (the first)
* I2C using a BMP180 on a SODAQ TPH board
* SPI0, connected to the on-board serial data flash (only DevID was read
using the periph_spi test program)
* xtimer is working (it's the same code as in samr21)

boards/sodaq-autonomo: Disable the "big" unittests because it does not fit
2016-09-28 18:02:16 +02:00
Martine Lenders
6f0018f66a Merge pull request #5694 from miri64/gnrc/enh/0-length-payload
gnrc_pktbuf: allow for 0-sized payload snips
2016-09-28 07:09:23 +02:00
Martine Lenders
8f890b3790 tests: adapt unittests for new gnrc_pktbuf preconditions 2016-09-27 21:49:58 +02:00
Martine Lenders
1f5dcd91cc Merge pull request #5873 from Lotterleben/unittest_link_fix
unittests: fix link
2016-09-27 20:57:03 +02:00
Lotte Steenbrink
faaf50619d unittests: fix link 2016-09-27 11:41:44 -07:00
Lotte Steenbrink
1bccdfe9c2 unittests: document make debug 2016-09-27 11:34:35 -07:00
BytesGalore
9818d053f4 hashes/sha256: changed data pointer parameters to void* 2016-09-27 06:36:08 +02:00
b2b42c7b71 Merge pull request #5451 from mali/uno
boards: add arduino uno and duemilanove support
2016-09-22 09:29:49 +02:00
Laurent Navet
3ff576e46a tests: adapt for arduino uno and duemilanove support
- blacklist arduino-uno and arduino-duemilanove for
  coap, libfixmath_unittests, lwip, nhdp,
  pthread, pthread_barrier, pthread_cleanup, pthread_condition_variable
  pthread_cooperation, pthread_rwlock and pthread_tls tests.

- fix sys/pipe build

- unittests: boards added to BOARD_INSUFICIENT_MEMORY list.
2016-09-21 21:12:58 +02:00
Martine Lenders
dd7fb1c63b Merge pull request #5228 from OlegHahm/gnrc_ipv6_hdr_get
gnrc ipv6: convenient function to get the header
2016-09-01 23:16:49 +02:00
Oleg Hahm
de0963948c tests: unittests for gnrc_ipv6_get_header 2016-07-22 16:34:52 +02:00
Lotte Steenbrink
fef429e16b fix typo 2016-07-20 12:20:50 +02:00
Hauke Petersen
08a2aed46d unittests: added test for printf with floats 2016-07-18 23:22:28 +02:00
Martine Lenders
e16bbda5f6 Merge pull request #5629 from kaspar030/improve_clist
core: improve clist
2016-07-18 19:36:16 +02:00
d86c141842 core, tests: adapt to changed clist function names 2016-07-18 16:20:40 +02:00
Victor Arino
e84e2996f3 core/cib: add unittest for cib_peek 2016-07-18 08:57:44 +02:00
Joakim Nohlgård
ffb4573667 Merge pull request #5097 from gebart/pr/make-include
make: Place most configuration macros in a separate file instead of on the command line
2016-07-07 18:03:18 +02:00
Joakim Nohlgård
4d6883a732 tests/unittests: Remove unnecessary FORCE target
Changes to CFLAGS #defines are now picked up by the configuration
header (genconfigheader) when building, so the FORCE target is no longer
necessary when building different test suites.
2016-07-05 16:06:33 +02:00
kYc0o
62a9773a9c boards/waspmote-pro: add support for Waspmote PRO v1.2 2016-07-05 13:05:12 +02:00
Martine Lenders
2af14d6373 unittests: apply proper naming for gnrc_netif tests 2016-06-04 17:21:27 +02:00
aee6a6ad60 Merge pull request #5307 from kaspar030/add_fmt_types
sys: fmt: add fmt_u64_dec(), print_u64_dec()
2016-06-02 11:12:40 +02:00
be269d3773 tests: unittests: add fmt_u64_dec() tests 2016-06-02 10:40:19 +02:00
Mathias Tausig
dfee5c3274 hashes: Unified the cryptographic hash functions
- Same signatures for XXX_init, XXX_update and XXX_final
- Same naming conventions and parameter types for all funtions in sha1.h
2016-05-24 16:52:30 +02:00
Leon M. George
c8985056e9 tests/unittests: cc2650stk insufficient memory 2016-04-18 19:00:50 +02:00
Hauke Petersen
e2fe3cc504 test: added unittests for the SAUL registry 2016-04-15 15:07:49 +02:00
Ludwig Knüpfer
ef25f32536 tests/checksum: fix style in fletcher32 2016-04-08 22:03:48 +02:00
Ludwig Knüpfer
018b3b4660 tests/checksum: fix style in fletcher16 2016-04-08 22:03:48 +02:00
Ludwig Knüpfer
4d9ac9eebd tests/checksum: fix style in crc16-ccitt 2016-04-08 22:03:48 +02:00
Ludwig Knüpfer
889adc18b8 unittests: add fletcher* tests 2016-04-08 22:03:48 +02:00
Hauke Petersen
02df871428 Merge pull request #4949 from jia200x/nucleo-f072
board: added support for nucleo f072
2016-03-31 19:18:28 +02:00
José Ignacio Alamos Aste
cc0e94f9c6 blacklist: nucleo-f072: blacklisted several examples and tests 2016-03-31 19:08:10 +02:00
Cenk Gündoğan
9dbfdcac0b Merge pull request #4279 from BytesGalore/fib_prefix_handling_change
fib: changed handling of the net prefix by the FIB
2016-03-30 11:19:49 +02:00