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

1041 Commits

Author SHA1 Message Date
Cenk Gündoğan
170acbc4f6 rpl: srh: add unittests 2016-02-27 20:40:06 +01:00
Oleg Hahm
94c287c4c2 Merge pull request #4884 from kaspar030/fix_msg_try_receive
core: msg: fix msg_try_receive()
2016-02-25 18:17:54 +01:00
58cd796348 tests: msg_try_receive: initial commit 2016-02-25 14:13:33 +01:00
BytesGalore
f0245bd648 hashes/sha256: add sha256-chain computation and verification functions
* also added unittetst for it

x[SQUASH ME] separated out all waypoints test and increased waypoints
2016-02-24 19:04:17 +01:00
Oleg Hahm
dd15430fce Merge pull request #4856 from BytesGalore/sha256_separate_unittests
unittests/sha256: separated tests to prevent stack corruption on boards
2016-02-24 16:55:17 +01:00
BytesGalore
8a0016a928 unittests/sha256: separated tests to prevent stack corruption on borards 2016-02-24 14:07:49 +01:00
Oleg Hahm
0d066bc145 Merge pull request #4779 from basilfx/feature/driver_si7021
drivers: add support for low power si7021 i2c temp and humidity sensor
2016-02-23 21:39:07 +01:00
Oleg Hahm
89ff0448bb Merge pull request #4883 from kaspar030/fix_tests_xtimer_msg_receive_timeout
tests: xtimer_msg_receive_timeout: remove timer before ending scope
2016-02-23 21:35:35 +01:00
Andreas "Paul" Pauli
19c48d7d26 Merge pull request #4827 from gebart/pr/xtimer-tests-usleep-until-stats
tests/xtimer_usleep_until: Print statistics at the end
2016-02-23 18:51:54 +01:00
6f84493da7 tests: xtimer_msg_receive_timeout: remove timer before ending scope 2016-02-23 13:52:30 +01:00
Oleg Hahm
e0732a5a81 Merge pull request #4701 from OlegHahm/sha1
hashes: Import of SHA-1 algorithm
2016-02-23 12:23:21 +01:00
Oleg Hahm
20567d46dc tests: added unittests for SHA-1 2016-02-23 12:09:37 +01:00
Bas Stottelaar
9e50d09b60 drivers: si70xx: temperature and humidity sensor
This includes the Si7006, Si7013, Si7020 and Si7021 I2C sensors, including a
test application.
2016-02-23 07:32:40 +01:00
Joakim Nohlgård
11b2b488ef tests/periph_gpio: Fix mixed up command descriptions 2016-02-22 21:50:27 +01:00
Joakim Nohlgård
4b47c3e9b7 tests/xtimer_usleep_until: Print statistics at the end 2016-02-22 17:55:01 +01:00
Yonezawa-T2
e92c355aba udp: fixed a corner case for checksum computation.
Fixes #4842.

RFC 2460 section 8.1 (https://tools.ietf.org/html/rfc2460#section-8.1)
states:
> if that computation yields a result of zero, it must be changed to hex
> FFFF for placement in the UDP header.
2016-02-22 20:30:31 +09:00
Cenk Gündoğan
f26ea2028c unittests: added some unittests for the color module 2016-02-21 20:18:25 +01:00
Hauke Petersen
edce26bb15 tests/driver_dht: adjusted to interface changes 2016-02-20 18:19:20 +01:00
Hauke Petersen
8048c7d14e tests/driver_dht: cleanup Makefile and use auto_init 2016-02-20 18:19:20 +01:00
Cenk Gündoğan
dbb01011d7 Merge pull request #4803 from cgundogan/pr/mma8652/driver_fix
drivers/mma8652: enhancements
2016-02-18 18:08:28 +01:00
Hauke Petersen
95893a5653 tests: added test for on-board LED macros 2016-02-18 17:04:33 +01:00
Joakim Nohlgård
e2f7ac78f0 Merge pull request #4040 from gebart/pr/periph-timer-init-freq
periph/timer: Change timer_init API to support arbitrary (integer) frequencies
2016-02-15 23:36:44 +01:00
Ludwig Knüpfer
1fedd456ce Revert "crc: rename checksum to CRC"
This reverts commit 3f645884a4.
2016-02-15 09:28:57 +01:00
Hauke Petersen
a95ec92633 tests: adapted to HWRNG interface changes 2016-02-14 12:59:47 +01:00
Joakim Nohlgård
d1a57d040a Merge pull request #4638 from gebart/pr/periph-pwm-api-change
drivers: Optimized periph PWM interfaces
2016-02-14 08:54:47 +01:00
Joakim Nohlgård
92d1bf7a36 tests/periph_timer: Update to match timer_init API change 2016-02-13 21:29:36 +01:00
Joakim Nohlgård
8d11fab8bd drivers/lis3dh: Add SAUL support 2016-02-13 21:25:07 +01:00
Hauke Petersen
2581b2c8a2 test/driver_srf02: added some commands
- added shell
- made init manual (by giving address)
- added command to change device address
2016-02-12 16:40:51 +01:00
Cenk Gündoğan
37c2cddf32 drivers/mma8652: convert raw data to milli g 2016-02-12 16:25:15 +01:00
Hauke Petersen
4b4cc5a6b3 tests/periph_pwm: adjusted to interface changes 2016-02-12 15:52:37 +01:00
Joakim Nohlgård
686cad8170 tests/unittests/tests-cbor: Add static to compilation-unit local variables 2016-02-11 15:19:56 +01:00
Joakim Nohlgård
03fbca46fa tests/xtimer_shift_on_compare: Add static to compilation-unit local variables 2016-02-11 15:19:00 +01:00
Joakim Nohlgård
d1e860380c tests/irq: Add static to compilation-unit local variables 2016-02-11 15:18:44 +01:00
Joakim Nohlgård
a5862f8710 tests/driver_pir: Add static to compilation-unit local variables 2016-02-11 15:18:34 +01:00
Joakim Nohlgård
c60e35e97c tests/driver_mpu9150: Clean up printf formats 2016-02-11 15:13:50 +01:00
Hauke Petersen
49dd104fd6 tests: added test app for the bh1750fvi driver 2016-02-09 16:01:32 +01:00
Hauke Petersen
f09a631d66 tests/periph_cpuid: s/CPUID_ID_LEN/CPUID_LEN/ 2016-02-08 11:10:59 +01:00
BytesGalore
b1537bc17c hashes/sha256: initial commit for hmac-sha256 computation 2016-02-06 08:11:37 +01:00
Oleg Hahm
3f645884a4 crc: rename checksum to CRC 2016-02-04 14:58:34 +01:00
Oleg Hahm
51db509f7c sha256: move from crypto to hashes 2016-02-04 14:58:34 +01:00
Cenk Gündoğan
e0bf46ce60 unittests: nc: test reachability of unmanaged entries 2016-01-30 15:27:08 +01:00
Ludwig Knüpfer
1df395f364 Merge pull request #4647 from LudwigKnuepfer/pr/sys-checksum
sys/checksum: initial import including CRC16-CCITT
2016-01-28 18:11:35 +01:00
Oleg Hahm
a57e77e46a sys: remove hash_string module
hash_string implements djb2 which is already part of `sys/hashes/`
2016-01-28 14:20:54 +01:00
Martine Lenders
03081216f3 Merge pull request #4692 from authmillenon/unittests/fix/python3
unittests: fix for python3
2016-01-27 23:32:37 +01:00
Ludwig Knüpfer
edbfdeb02e tests/unittests: add checksum test 2016-01-27 19:28:05 +01:00
Martine Lenders
0f7f9fe986 unittests: fix for python3 2016-01-27 15:07:35 +01:00
BytesGalore
59a69796ab unittests/crypto: changed to really compare digest vs string of digest
* added additional test with longer input
* uncrustified file
2016-01-27 06:32:28 +01:00
Cenk Gündoğan
617796241e Merge pull request #4295 from authmillenon/gnrc_ipv6_nc/enh/l2addr-lookup
gnrc_ipv6_nc: introduce L2 address lookup function
2016-01-26 19:30:01 +01:00
Martine Lenders
9740ccae52 unittests: add tests for gnrc_ipv6_nc_get_l2_addr() 2016-01-26 10:19:16 +01:00
Martine Lenders
4fb7939ab9 unittests: add new test runner script 2016-01-23 15:22:18 +01:00
Martine Lenders
55044512fb unittests: do not powerdown node at the end 2016-01-23 15:17:36 +01:00
Aaron Sowry
7759611713 Rename 'openmote' board to 'openmote-cc2538'
This is to avoid ambiguity with future versions of the OpenMote platform.
2016-01-23 08:06:15 +13:00
Oleg Hahm
0ab1d4bed1 tests: swap thread priorities in msg_snd_rcv test
c3f7925c1c was the wrong fix for the described problem. The replying thread 2 needs a higher priority because otherwise the sender thread 1 may send before 2 is in receiving mode again.
2016-01-08 14:16:30 +01:00
Cenk Gündoğan
2cd2738eb3 Merge pull request #4585 from kaspar030/fix_native_timer_set_absolute
cpu: native: fix native timer_set_absolute()
2016-01-07 23:31:22 +01:00
781ee875aa tests: xtimer_now64_continuity: initial commit 2016-01-07 19:33:40 +01:00
Cenk Gündoğan
461365f390 Merge pull request #4602 from jfischer-phytec-iot/fix@of-gnrc_pktbuf_realloc_data
gnrc_pktbuf_static.c: fix overflow in gnrc_pktbuf_realloc_data
2016-01-07 19:33:17 +01:00
Martine Lenders
31e40467c3 Merge pull request #4606 from thomaseichinger/pr/tests_xtimer_hang_fix
tests:xtimer_hang: use THREAD_STACKSIZE_DEFAULT instead of literal.
2016-01-07 16:58:18 +01:00
Oleg Hahm
a8036ebe21 Merge pull request #4593 from thomaseichinger/pr/fix_fault_handler
tests: allow language extensions for fault_handler test in clang
2016-01-07 16:38:17 +01:00
Martine Lenders
d48a8230f9 unittests: add unittests for overflow fix 2016-01-07 15:17:52 +01:00
Thomas Eichinger
f5310bfd5e tests:xtimer_hang: use THREAD_STACKSIZE_DEFAULT instead of literal. 2016-01-07 13:57:22 +01:00
Thomas Eichinger
4f502a4a61 tests: allow language extensions for fault_handler test in clang 2016-01-07 13:38:12 +01:00
2488bbf4a1 tests: remove vtimer tests 2016-01-06 22:10:59 +01:00
Thomas Eichinger
ebf8bfa4ce tests: fix clang missing field error
Without this clang complains about missing initializers.
`error: missing field 'microseconds' initializer [-Werror,-Wmissing-field-initializers]`
2016-01-06 17:21:24 +01:00
Martine Lenders
3b9c9abad8 unittests: fix formatting of fib_sr tests 2015-12-19 21:58:40 +01:00
Martine Lenders
e664507f00 unittests: some fixes to fib_sr tests 2015-12-19 21:56:50 +01:00
Martine Lenders
fa7df9adb2 unittests: deactivate relic tests for all but native 2015-12-18 23:48:32 +01:00
Martine Lenders
d1d39fd3cf Revert "unittests: deactivate relic tests for all but native" 2015-12-18 23:44:58 +01:00
Martine Lenders
18ab5bf898 unittests: deactivate relic tests for all but native 2015-12-18 23:40:20 +01:00
Victor Arino
3a8a932b27 boards/nucleo-f103: add support for nucleo-f103 2015-12-15 17:23:27 +01:00
Hauke Petersen
6cbdec8395 tests: added test application for enc28j60 driver 2015-12-08 11:51:18 +01:00
Hauke Petersen
cf53aeddd8 Merge pull request #4382 from haukepetersen/rm_core_flagsh
core: move thread flags from flags.h to thread.h
2015-12-08 11:36:43 +01:00
Oleg Hahm
f3e3e40bda Merge pull request #4360 from OlegHahm/relic_import
Add a RELIC package and unit test that shows how to use it
2015-12-08 10:05:54 +01:00
Oleg Hahm
7fd62876af unittests: exclude tests for particular platforms 2015-12-08 08:58:11 +01:00
Tobias Markmann
57b8a24466 Add a RELIC package and unit test that shows how to use it
Add install of cmake to .travis.yml.

Test-Information:

This has been tested on OS X and on Ubuntu for both the native target
and STM32F4Discovery.
2015-12-08 08:58:11 +01:00
Hauke Petersen
cc23481d55 tests: adapted to renamed THREAD_FLAGS 2015-12-07 22:09:47 +01:00
Hauke Petersen
fa7c2a1b45 tests: removed includes of flags.h 2015-12-07 22:09:46 +01:00
Oleg Hahm
834f77a15e tests coap: POSIX sockets require conn
Currently the only implementation for POSIX sockets is through gnrc_conn. This was missing in the Makefile for this application.
2015-12-07 20:51:31 +01:00
Oleg Hahm
baa4869b70 tests: unittests for gnrc_netif_exist 2015-12-04 10:38:04 +01:00
Martine Lenders
281b0ba46e Merge pull request #4343 from kb2ma/misc/fix-checksum
Fix UDP/ICMPv6 checksum for a sliced/accumulated payload.
2015-12-03 13:16:12 +01:00
Ken Bannister
0cd5bf9b8f Add unit tests for inet_csum_slice() 2015-12-02 05:53:58 -05:00
Oleg Hahm
349d333ede Merge pull request #3997 from DipSwitch/core_msg_avail_support
core: add support to see if there are messages available for the curr…
2015-12-02 11:07:17 +01:00
DipSwitch
15e8f4e3d1 core: add support to see if there are messages available for the current thread 2015-12-02 09:08:15 +01:00
Lucas Jenss
ddaa9863f2 Add 256 byte block hamming code implementation 2015-11-30 20:08:36 +01:00
Peter Kietzmann
329820ddd4 Merge pull request #4119 from latsku/nucleo-f401
boards: Add support for Nucleo-f401
2015-11-30 10:52:24 +01:00
Lari Lehtomäki
14be504b6a boards/nucleo-f401: Add initial support
cpu: Add support for STM32F401xE cpu

boards: Add support for Nucleo-f401

boards/nucleo-f401: New line fixes and comment on green led pin

board/nucleo-f401: Added LED GPIO

board/nucleo-f401: Fixed LED GPIO

board/nucleo-f401: Minor fixes
2015-11-30 11:06:34 +02:00
2d1ad4b31e Merge pull request #4272 from OlegHahm/xtimer_msg_receive_timeout
xtimer: implement missing msg receive timeout
2015-11-29 00:02:08 +01:00
Oleg Hahm
24ce427a3a tests: added test for xtimer_msg_receive_timeout 2015-11-28 22:58:22 +01:00
dc1187ac6f tests: fmt_print: initial commit 2015-11-28 22:09:37 +01:00
René Kijewski
ab3345ac5a Merge pull request #4321 from kaspar030/cleanup_posix
sys: cleanup posix compat code
2015-11-26 20:39:30 +01:00
test
d927ecdb7f nhdp: blacklist chronos 2015-11-25 09:21:11 +01:00
Peter Kietzmann
81b943e2c0 Merge pull request #4147 from gebart/pr/test-xtimer-drift
tests/xtimer_drift: Introduce drift test application.
2015-11-24 21:20:25 +01:00
Cenk Gündoğan
3ff6030e89 tests: add buildtest for nhdp 2015-11-24 21:18:02 +01:00
Martine Lenders
7af2a62b12 Merge pull request #4110 from authmillenon/posix/api/i4109
posix_semaphore: make API POSIX compliant and port to xtimer (+ fixes)
2015-11-24 15:04:44 +01:00
Martine Lenders
aca1224401 tests: port semaphore tests to xtimer 2015-11-24 14:06:00 +01:00
e051a388d9 tests: adapt posix tests to xtimer sleep/usleep 2015-11-20 00:55:58 +01:00
Hauke Petersen
6e3e99cf4d tests/driver_at86rf2xx: use default atrf_params.h 2015-11-19 16:25:40 +01:00
e98237a26f sys: div: remove div_u32_by_10() 2015-11-19 13:29:10 +01:00
Cenk Gündoğan
567d0efe16 Merge pull request #4217 from haukepetersen/opt_tests_makefiles
tests: simplified Makefiles for device driver test apps
2015-11-13 15:46:04 +01:00
Cenk Gündoğan
bc12c7a69a tests: cpp11_thread: vtimer to xtimer 2015-11-11 13:21:21 +01:00
Cenk Gündoğan
751507a961 tests: cpp11_mutex: vtimer to xtimer 2015-11-11 13:21:19 +01:00