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

1161 Commits

Author SHA1 Message Date
Hauke Petersen
2510fe03f5 Merge pull request #4646 from authmillenon/at86rf2xx/api/netdev2
at86rf2xx: port to netdev2
2016-03-24 15:03:15 +01:00
Martine Lenders
1724ab50fc Merge pull request #4654 from Yonezawa-T2/fix_ipv6_ext
ipv6_ext: fixed extension header handling
2016-03-24 10:53:00 +01:00
Yonezawa-T2
b2d6f4aed3 tests: add a test application for gnrc_ipv6_ext 2016-03-24 18:20:28 +09:00
Martine Lenders
dff0c528ff tests: modify driver_at86rf2xx for pure netdev2 2016-03-23 17:45:19 +01:00
Oleg Hahm
991c71cf27 gnrc ipv6: use ipv6_addr_t ptr for hdr_build 2016-03-23 15:20:12 +01:00
Oleg Hahm
360413a033 gnrc ipv6 hdr: remove len params from hdr_build 2016-03-23 15:20:11 +01:00
Andreas "Paul" Pauli
7b083f192d Merge pull request #4918 from gebart/pr/xtimer-drift-jitter
tests/xtimer_drift: Compute drift and jitter
2016-03-23 10:07:55 +01:00
Peter Kietzmann
ad149dcd68 Merge pull request #4804 from haukepetersen/opt_srf02_impltrigger
driver/srf02: expose trigger and read to API
2016-03-23 07:50:35 +01:00
941bdbbc56 drivers/bmp180: initial implementation 2016-03-22 19:51:03 +01:00
Hauke Petersen
1a91600c24 tests/driver_srf02: mutliple improvements
- added single shot conversion command
- enhanced README
- added more verbose output
- now all outputted addresses are in decimal format
2016-03-22 17:07:04 +01:00
Hauke Petersen
91c5a5eef7 Merge pull request #5125 from haukepetersen/add_test_xtimer_longterm
tests: added xtimer long-term test
2016-03-22 11:44:32 +01:00
Hauke Petersen
ed084b1a5e tests: added xtimer long-term test 2016-03-22 10:59:03 +01:00
DipSwitch
5b5810ab7b Merge pull request #5109 from DipSwitch/pr/fix_core_inc_irq
core: Fix/refactor function naming in core/incude/irq.h
2016-03-22 08:12:24 +01:00
Hauke Petersen
d2c62f5e0c tests/xtimer: remove redundant FEATURE_REQUIRED 2016-03-21 18:43:34 +01:00
e1fcee67c0 arm/newlib: Add pseudomodule to enable floating point printf support 2016-03-21 11:47:38 +01:00
DipSwitch
0bb4748a94 core: Fix/refactor function naming in core/incude/irq.h 2016-03-20 16:47:34 +01:00
Joakim Nohlgård
ed0cb746bb tests/xtimer_drift: Clean up data types in printf loop 2016-03-17 21:47:57 +01:00
Joakim Nohlgård
f03194f84e tests/xtimer_drift: Add explanation for drift and jitter 2016-03-17 21:43:49 +01:00
Hauke Petersen
dd16560070 drivers/si70xx: adapted to GPIO changes 2016-03-17 14:55:31 +01:00
Hauke Petersen
0e4446e261 tests: adapted other tests to GPIO changes 2016-03-17 14:55:30 +01:00
Hauke Petersen
88483febc0 test/periph_gpio: adatped to GPIO interface changes 2016-03-17 14:39:11 +01:00
Cenk Gündoğan
a2979cdeb4 unittests/tests-ipv6_nc: add tear_down 2016-03-16 13:51:23 +01:00
Martine Lenders
0a3b56e0b4 Merge pull request #5006 from immesys/fix-rtr-adv
ndp: change rtr adv src to link local
2016-03-16 12:42:12 +01:00
Martine Lenders
2305b9dca7 Merge pull request #5084 from brummer-simon/devel-color
RGB color inversion and complementary color calculation added
2016-03-16 11:47:34 +01:00
Simon Brummer
1af9612b34 sys/color: added RGB inversion and complementary color 2016-03-16 11:43:26 +01:00
Hauke Petersen
4dd57aafb7 tests/periph_spi: removed LED_xx calls 2016-03-15 18:37:53 +01:00
Hauke Petersen
35cc73f403 tests/leds: blink ALL defined on-board LEDs 2016-03-15 15:48:46 +01:00
Hauke Petersen
18ae50ad4e tests/periph_uart: adapted to cb type changtests/periph_uart: adapted to cb type changee 2016-03-15 11:02:06 +01:00
Hauke Petersen
74bd800903 tests/periph_dac: updated test for API changes 2016-03-14 20:39:31 +01:00
Martine Lenders
d66625b6ca Merge pull request #4430 from haukepetersen/opt_periph_adc
drivers/periph: reworked the ADC driver
2016-03-14 14:45:23 +01:00
Hauke Petersen
1c03639d03 tests/periph_dac: adapted to ADC changes 2016-03-14 13:06:24 +01:00
Hauke Petersen
c46d8ee0ff tests/driver_mq3: adapted to ADC driver changes 2016-03-14 13:06:24 +01:00
Hauke Petersen
dbaafc0ea1 tests/periph_adc: adapted to ADC interface changes 2016-03-14 10:38:42 +01:00
Mathias Tausig
cb6d0e046d micro-ecc: Adaptated testcase for newer version 2016-03-14 10:14:11 +01:00
Cenk Gündoğan
047fd79ae6 tests: use global gnrc_pktdump_pid 2016-03-11 14:23:07 +01:00
Joakim Nohlgård
dc303a4f0b sys/uart_stdio: rename STDIO -> UART_STDIO_DEV, move to header 2016-03-11 12:04:00 +01:00
René Kijewski
818d703810 Merge pull request #5004 from OlegHahm/core_kernel_macros_attributs_merge
core: merge kernel_macros.h and attributes.h into kernel_defines.h
2016-03-10 16:47:10 +01:00
Oleg Hahm
bdcf8879fd core: merged kernel_macros.h and attributes.h
Merged into new kernel_defines.h and updated all includes.
2016-03-09 22:29:06 +01:00
Hauke Petersen
1665fb7c01 tests/driver_adt7310: blacklisted arduino-mega2560 2016-03-09 18:34:42 +01:00
Michael Andersen
60f6aeaf70 ndp: change rtr adv src to link local 2016-03-08 21:33:35 -08:00
f488998c3f Merge pull request #3723 from A-Paul/test_thread_flood
tests: Adding test for thread_create
2016-03-07 23:47:34 +01:00
Martine Lenders
32e0c7ae66 Merge pull request #4636 from authmillenon/ieee802154/enh/general-hdr
ieee802154: provide general header build and read functions
2016-03-07 21:02:52 +01:00
Martine Lenders
ab0505dfff tests: provide unittests for ieee802154 module 2016-03-07 16:40:30 +01:00
Peter Kietzmann
2f0b4c20bf Merge pull request #4849 from haukepetersen/add_test_leds
tests: added test for on-board LED macros
2016-03-07 09:42:13 +01:00
Martine Lenders
cba05cc028 Merge pull request #4873 from Yonezawa-T2/zero_udp_checksum
udp: fixed a corner case for checksum computation.
2016-03-07 09:21:24 +01:00
Martine Lenders
9201063bd1 Merge pull request #3307 from OlegHahm/sixlowpan-tests_0
unittests: initial import of 6LoWPAN tests
2016-03-07 09:16:05 +01:00
Oleg Hahm
e0c38f9899 unittests: initial import of 6LoWPAN tests 2016-03-06 21:00:24 +01:00
Martine Lenders
cf9bef8f16 Merge pull request #4965 from kaspar030/add_testrunner
tests: add shared pexpect test code
2016-03-05 23:59:29 +01:00
test
f9905b5a0c tests: xtimer_msg_receive_timeout: speed up test 2016-03-05 20:36:28 +01:00
test
a9ef72ff02 tests: make use of testrunner 2016-03-05 20:36:28 +01:00
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