2b010b5337
core: rename tcb_t -> thread_t, move into thread.h
2016-03-05 18:20:17 +01:00
Martine Lenders
2e4a99eeec
Merge pull request #4829 from haukepetersen/add_test_saul
...
tests: added SAUL test application
2016-03-04 14:34:37 +01:00
kYc0o
65f9bccbb8
Merge pull request #4940 from OlegHahm/xtimer_msg_receive_timeout_doc
...
tests xtimer: update documentation xtimer_msg_receive_timeout
2016-03-03 11:14:17 +01:00
Andreas "Paul" Pauli
69dc26d49f
tests: handle thread creation limit
...
adjusted to API change, uncrustified
2016-03-03 10:01:35 +01:00
Hauke Petersen
af48dadb26
Merge pull request #4807 from gebart/pr/saul-lis3dh
...
drivers/lis3dh: Add SAUL support
2016-03-02 13:23:29 +01:00
Oleg Hahm
76c397f252
Merge pull request #4924 from kaspar030/smaller_core_types
...
core: reduce types of tcb->status and tcb->priority
2016-03-02 11:15:38 +01:00
Oleg Hahm
91432faccb
tests: remove timer after each loop
...
...in xtimer_msg_receive_timeout
2016-03-01 21:44:19 +01:00
Oleg Hahm
a92f30e13f
test: xtimer document xtimer_msg_receive_timeout
2016-03-01 21:44:01 +01:00
Hauke Petersen
6b43125c16
tests: added SAUL test application
2016-03-01 17:38:06 +01:00
Martine Lenders
327f7c442c
Merge pull request #4816 from kaspar030/rename_genrand
...
sys: random: rename genrand_* to random_*
2016-03-01 13:58:39 +01:00
Joakim Nohlgård
31548c6027
Merge pull request #4879 from gebart/pr/tests-periph-gpio-help-text
...
tests/periph_gpio: Fix mixed up command descriptions
2016-03-01 10:20:32 +01:00
Peter Kietzmann
c8829a49b8
Merge pull request #4838 from haukepetersen/fix_periph_timerarg
...
drivers/timer: added callback argument
2016-03-01 08:55:54 +01:00
Joakim Nohlgård
3af809bdfc
Merge pull request #4910 from kaspar030/core_header_cleanup
...
core: header cleanup
2016-02-29 22:48:35 +01:00
ded39b461e
sys: random: rename genrand_* to random_*
2016-02-29 21:33:17 +01:00
Peter Kietzmann
a8b6fba69c
Merge pull request #4664 from haukepetersen/opt_driver_dhtinit
...
drivers/dht: numerous improvements
2016-02-29 16:23:31 +01:00
Hauke Petersen
31f6e35533
tests/periph_timer: adapted to API changes
2016-02-29 14:45:00 +01:00
a8865a2808
core: reduce types of tcb->status and tcb->priority
2016-02-29 01:48:08 +01:00
9082273746
core: header cleanup
2016-02-28 22:46:28 +01:00
Joakim Nohlgård
68a91426fb
tests/xtimer_drift: Compute drift and jitter
...
- drift is the total difference from the expected time
- jitter is the difference only since the last printout
2016-02-28 00:58:38 +01:00
Joakim Nohlgård
857df0a93a
tests/xtimer_drift: Fix typo
2016-02-28 00:58:38 +01:00
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