Francisco Acosta
84d0d61279
Merge pull request #5608 from gebart/pr/xtimer-ticks
...
xtimer: Allow arbitrary timer frequency, second attempt
2016-11-29 23:00:31 +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
Peter Kietzmann
e547ff1d60
Merge pull request #6013 from haukepetersen/opt_periph_uartreturntypes
...
periph/uart: added names to return values
2016-11-29 19:14:09 +01:00
Joakim Nohlgård
63e91151cd
xtimer: Add tick conversion
2016-11-28 11:00:42 +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
smlng
06d6f544b6
pkg/oonf_api: add compile test
2016-11-23 17:16:21 +01:00
Hauke Petersen
8787eee178
tests: blacklisted calliope-mini
2016-11-21 17:20:53 +01:00
Hauke Petersen
16af568afa
tests: added Calliope mini specific test app
2016-11-21 17:20:53 +01:00
Peter Kietzmann
9c7d9eb06f
Merge pull request #6141 from haukepetersen/opt_bh1750fvi_namedreturnvalues
...
drivers/bh1750fvi: added names to return values
2016-11-21 08:23:24 +01:00
Martine Lenders
0946bda027
Merge pull request #6143 from miri64/gnrc_sock/enh/include-af
...
gnrc_sock: move net/af.h include to sock_types.h
2016-11-18 15:47:19 +01:00
Martine Lenders
bd533dd785
gnrc_sock: move net/af.h include to sock_types.h
2016-11-18 12:33:01 +01:00
Peter Kietzmann
711415360f
Merge pull request #5433 from OTAkeys/pr/mma8x5x
...
mma8652: add support for all mma8x5x accelerometers
2016-11-18 09:02:42 +01:00
Hauke Petersen
31aeb3a09a
tests/driver_bh1750fvi: check return value
2016-11-17 22:58:19 +01:00
Vincent Dupont
b9b838f1dc
mma8652: add support for all mma8x5x accelerometers
2016-11-16 14:14:07 +01:00
Hauke Petersen
fe7fc50106
tests: blacklisted microbit for insufficiant RAM
2016-11-09 12:01:09 +01:00
Hauke Petersen
6484d9ad1a
tests: added micro:bit specific test app
2016-11-09 12:01:09 +01:00
Martine Lenders
34319b2964
Merge pull request #6084 from miri64/tests/fix/gnrc_sock_udp-resize-pktbuf
...
tests: resize packet buffer for gnrc_sock_udp test
2016-11-08 21:52:53 +01:00
Francisco Acosta
25e7681c35
Merge pull request #6079 from miri64/tests/fix/posix_semaphore
...
tests: fix posix_semaphore output and for timer error
2016-11-08 20:37:54 +01:00
Francisco Acosta
380b71726b
Merge pull request #6080 from miri64/od/fix/newlib-nano
...
od: quick-fix for newlib-nano
2016-11-08 19:16:06 +01:00
Martine Lenders
63c17ceb53
tests: resize packet buffer for gnrc_sock_udp test
2016-11-08 18:19:39 +01:00
Martine Lenders
fcff65b6d8
od: quick-fix for newlib-nano
2016-11-08 17:16:53 +01:00
Martine Lenders
8136a12d24
tests: fix posix_semaphore output and for timer error
2016-11-08 16:38:04 +01:00
Martine Lenders
362077d3d5
tests: fix sizeof_tcb output
2016-11-08 16:28:40 +01:00
Martine Lenders
815426b0a1
Merge pull request #6051 from OlegHahm/fix_test_mutex_order_readme
...
tests: mutex_order: updated test and fixed README
2016-11-04 01:11:33 +01:00
Oleg Hahm
9c2338ea7d
tests: mutex_order: added pexpect script
2016-11-03 16:37:54 +01:00
Oleg Hahm
a5245769d3
tests: mutex_order: fixed and updated README
2016-11-03 16:37:39 +01:00
Oleg Hahm
e0ede745a6
tests: mutex_order: remove xtimer dependency
2016-11-03 16:37:24 +01:00
Martine Lenders
8a399fd5bd
tests: fix test description for emb6
2016-11-03 12:54:37 +01:00
Cenk Gündoğan
19eac87d9b
tests/pkg_micro-ecc: rm requirement for periph_hwrng in Makefile
2016-11-02 09:55:00 +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
Hauke Petersen
13cebf2739
tests/periph_uart: use named UART return values
2016-10-28 10:32:00 +02:00
Hauke Petersen
f6413ee5f5
Merge pull request #5772 from miri64/gnrc/feat/sock
...
gnrc_sock: provide port for sock_ip and sock_udp
2016-10-27 11:43:44 +02: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
Martine Lenders
9e97b0a028
Merge pull request #5977 from miri64/ieee802154/enh/centralize-default-values
...
ieee802154: centralize default values
2016-10-26 16:39:44 +02:00
Martine Lenders
964cd75c3c
tests/driver_xbee: add nucleo-f334 to insufficient RAM
2016-10-26 15:33:29 +02:00
Martine Lenders
9508c8f5a5
tests: provide gnrc_sock_ip tests
2016-10-26 15:20:39 +02:00
Martine Lenders
6bc0a0ce61
tests: provide gnrc_sock_udp tests
2016-10-26 15:20:39 +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
Cenk Gündoğan
05be6cb9e0
Merge pull request #5732 from haukepetersen/add_driver_lpd8808
...
drivers: add support for LPD8808 based LED stripes
2016-10-25 20:26:05 +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
Hauke Petersen
7908708608
tests: added test for the LPD8808 driver
2016-10-25 18:32:52 +02:00
Francisco Acosta
b2bed29683
Merge pull request #5564 from locicontrols/mpu-rebase2
...
Cortex-M MPU driver and pseudo-module for guarding against stack overflows
2016-10-25 11:56:40 +02:00
Ian Martin
0c588e7b24
add tests/mpu_stack_guard for testing psuedomodule
2016-10-24 12:40:55 -04:00
Ian Martin
28a7ddc9a8
core: save the stack_start in the thread context for mpu_stack_guard
2016-10-24 12:36:15 -04:00
Martine Lenders
f341947612
cbor: fix off-by-one error
2016-10-24 15:52:05 +02:00
Martine Lenders
3225f020e5
Merge pull request #5964 from kaspar030/make_fix_appdir_bindir
...
make: remove trailing slash from BINDIR and APPDIR variables
2016-10-24 14:33:40 +02:00
Martine Lenders
100991e59e
tests: unittests: add tests for longer input vectors
...
Fixes #5299
2016-10-21 11:06:27 +02:00
Martine Lenders
bef0231133
Merge pull request #5891 from kaspar030/improve_module_deps
...
make: improve module dependencies
2016-10-19 12:50:37 +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
Joakim Nohlgård
d6c3ced630
Merge pull request #5903 from keestux/i2c-char-to-uint8
...
periph/i2c: convert char to uint8_t where applicapable
2016-10-06 07:50:56 +02:00
Francisco Acosta
b412d1179a
Merge pull request #5670 from astralien3000/dev-aversiveplusplus
...
Added Aversive++ package.
2016-10-05 17:11:27 +02:00
Kees Bakker
bac5cda1e3
periph/i2c: convert char to uint8_t where applicapable
...
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.
Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
68acc8857e
boards/arduino-zero: add initial support
2016-10-04 18:34:51 +02:00
Loïc Dauphin
c4d3ebe5da
Aversive++: initial import
2016-09-30 15:39:54 +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
af5afeadec
pkg: emb6: move dependencies to pkg Makefile.dep
2016-09-29 15:41:13 +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
9b69005200
Merge pull request #5815 from makomi/periph_gpio
...
tests/periph_gpio: fix variableScope (cppcheck)
2016-09-28 07:09:07 +02:00
Martine Lenders
4161ae1f11
Merge pull request #5686 from OTAkeys/pr/fix_uart_test
...
tests/periph_uart: include uart_stdio.h
2016-09-28 07:08:54 +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
smlng
671831d326
corrects flag compare
2016-09-21 16:51:12 +02:00
add6e1d36d
Merge pull request #5674 from aabadie/driver_io1_xplained
...
drivers/io1_xplained: initial implementation of Atmel IO1 Xplained extension board
2016-09-16 10:35:49 +02:00
Andreas "Paul" Pauli
662076e150
Merge pull request #5747 from miri64/tests/feat/od-test
...
tests: provide tests for od module
2016-09-10 15:24:01 +02:00
Martine Lenders
2cc52fba19
tests: provide tests for od module
2016-09-08 20:02:24 +02:00
Bas Stottelaar
dc0d8efc38
tests: pkg_u8g2: simplify Makefile + default display per output type
...
This matches better with other tests and makes code less bloated.
2016-09-05 16:48:43 +02:00
d94e53690b
Merge pull request #5820 from makomi/xtimer_now64_continuity
...
tests/xtimer_now64_continuity: fix variableScope (cppcheck)
2016-09-05 15:33:21 +02:00
Martine Lenders
8754a3da4d
Merge pull request #5812 from makomi/periph_uart
...
tests/periph_uart: fix invalidPrintfArgType_sint (cppcheck)
2016-09-05 13:08:40 +02:00
Martine Lenders
0b627be82e
Merge pull request #5809 from makomi/driver_dht
...
tests/driver_dht: fix invalidPrintfArgType_sint (cppcheck)
2016-09-05 13:06:46 +02:00
Matthias Kolja Miehl
2ea342dcaf
tests/xtimer_now64_continuity: fix variableScope
2016-09-05 02:31:11 +02:00
Matthias Kolja Miehl
da0fb324a5
tests/periph_gpio: fix variableScope
2016-09-05 02:30:10 +02:00
Matthias Kolja Miehl
6ea7a8f6ae
tests/periph_uart: fix invalidPrintfArgType_sint
...
Since the argument type is 'unsigned int', the printf
format string has to be '%u' instead of '%i'.
2016-09-05 02:27:24 +02:00
Matthias Kolja Miehl
54fc0fd2a8
tests/driver_dht: fix invalidPrintfArgType_sint
...
Since the argument type is 'unsigned int', the printf
format string has to be '%u' instead of '%i'.
2016-09-05 02:26:41 +02:00
3aa1ffb5fb
drivers/io1_xplained: initial implementation including temperature/LED/GPIO and auto init
2016-09-02 10:42:09 +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
Mathias Tausig
1e5195722a
tiny-asn1: Created new package tiny-asn1
2016-09-01 13:57:35 +02:00
Martine Lenders
bd2429f299
cpu: drivers: adapt devices for netdev2 parameter type change
2016-08-03 12:30:51 +02:00
kYc0o
1b3012bcc6
Merge pull request #5612 from gebart/pr/xtimer-periodic-wakeup
...
xtimer: Refactor xtimer_usleep_until and rename to xtimer_periodic_wakeup
2016-07-29 13:44:26 +02:00
Joakim Nohlgård
c0ad83c167
tests: Update xtimer_usleep_until usage to xtimer_periodic_wakeup
2016-07-29 13:05:02 +02:00
Joakim Nohlgård
71501de4c6
tests/xtimer_periodic_wakeup: Copy and adapt from xtimer_usleep_until
2016-07-29 13:05:02 +02:00
kYc0o
5a79b5c0de
Merge pull request #5700 from BytesGalore/test_nhdp_changed_print_info
...
tests/nhdp: changed printf to puts
2016-07-27 17:52:01 +02:00
e8927388d3
tests: msg_send_receive: fix "sent ptr goes out of scope" bug
2016-07-27 17:08:14 +02:00
BytesGalore
8986d2cb85
tests/nhdp: changed printf to puts
2016-07-27 16:45:36 +02:00
Toon Stegen
2039cd1e26
tests/periph_uart: include uart_stdio.h
...
This makes sure UART_STDIO_DEV is defined, so the init command fails
when trying to use the shell UART as a parameter.
2016-07-25 09:43:36 +02:00
Bas Stottelaar
0902ccb2e0
drivers: si70xx: adapt for SAUL
2016-07-22 18:22:13 +02:00
Oleg Hahm
de0963948c
tests: unittests for gnrc_ipv6_get_header
2016-07-22 16:34:52 +02:00
c239ec351a
Merge pull request #5666 from aabadie/bmp180_deps
...
drivers/bmp180: add dependency to periph_i2c
2016-07-22 09:47:28 +02:00
Bas Stottelaar
d72afd37fd
tests: driver_bh1750: fix application name
2016-07-20 23:33:18 +02:00
b469cedd6d
tests: pkg_micro-ecc: fix application name to avoid clash with pkg
2016-07-20 21:16:04 +02:00
Lotte Steenbrink
fef429e16b
fix typo
2016-07-20 12:20:50 +02:00
144ab431e7
drivers/bmp180: add dependency to periph_i2c
2016-07-20 10:47:05 +02:00
Hauke Petersen
260a8ab7ad
tests: removed printf_float test application
...
this test is covered by the unittests and not longer needed
2016-07-18 23:22:28 +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
Bas Stottelaar
7033401eaa
tests: pkg_u8g2: blacklist boards with insufficient memory
2016-07-13 22:33:29 +02:00
Bas Stottelaar
d8b02b5620
tests: pkg_u8g2: improve readme.
2016-07-13 21:23:36 +02:00
Bas Stottelaar
25d7fd33a1
tests: pkg_u8g2: improvements after comments.
2016-07-13 21:23:36 +02:00
Bas Stottelaar
4b2fca6f1a
tests: pkg_u8g2: add u8g2 test application.
2016-07-13 21:23:36 +02:00
kYc0o
f6303d5f53
tests/periph_spi: print int variables instead of spi_*_t variables
2016-07-13 16:43:46 +02:00
kYc0o
8c6ebc0785
tests/periph_spi: match with overriden spi enumerations
2016-07-12 16:58:16 +02:00
PeterKietzmann
3b18263ce8
tests/periph_spi: fix printf format fot GPIO
2016-07-11 09:05:20 +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
1c6c447493
Merge pull request #5607 from gebart/pr/xtimer-cleanups
...
xtimer: Code refactoring and clean ups
2016-07-07 06:37:50 +02:00
Joakim Nohlgård
a0fb3b7d91
delete tests/xtimer_shift_on_compare
2016-07-06 22:23:05 +02:00
kYc0o
0a70094449
tests: add telosb to memory insufficient boards
2016-07-06 20:23:49 +02:00
9bb61f5aca
tests: some fixes for <32bit platforms
2016-07-06 18:16:15 +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
Peter Kietzmann
fef632aa57
Merge pull request #5577 from PeterKietzmann/tests_thread_exti_doc
...
tests/thread_exti: add small README
2016-06-29 11:21:33 +02:00
PeterKietzmann
a74bc86eec
tests/thread_exti: add minimal README
2016-06-28 17:39:24 +02:00
PeterKietzmann
dbd51aeb65
tests/thread_exti: fix typo
2016-06-28 17:39:21 +02:00
PeterKietzmann
473b2e8fe2
tests/xtimer_longterm: fix expected delays
2016-06-28 15:23:30 +02:00
Martine Lenders
1701b12f29
Merge pull request #5383 from A-Paul/fix_tests_printf_float
...
tests_printf_float: fixed precision in test case
2016-06-16 11:16:43 +02:00
Martine Lenders
e67eb87f57
Merge pull request #5510 from miri64/tests/enh/gnrc_netif_naming
...
unittests: apply proper naming for gnrc_netif tests
2016-06-08 18:53:44 +02:00
Yonezawa-T2
f7bd2374d0
tests: adds 6LoWPAN receiving test
2016-06-07 09:57:40 +09:00
Martine Lenders
2af14d6373
unittests: apply proper naming for gnrc_netif tests
2016-06-04 17:21:27 +02:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
Martine Lenders
35077bb224
Merge pull request #4871 from kaspar030/remove_netdev2_isr_arg
...
drivers: netdev2: remove netdev2 event_callback isr_arg
2016-06-02 13:30:30 +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
d7b17684e4
drivers: net: adapt to removed event_callback argument
2016-06-02 11:11:40 +02:00
be269d3773
tests: unittests: add fmt_u64_dec() tests
2016-06-02 10:40:19 +02:00
Peter Kietzmann
8cf11d3206
Merge pull request #5404 from miri64/pkg/enh/lwip-mld
...
lwip: introduce MLD as pseudo-module and deactivate by default
2016-06-01 00:59:02 +02:00
Martine Lenders
eff89c56ef
tests: add comment about exclusion of MLD in lwIP app
2016-05-31 21:40:40 +02:00
Oleg Hahm
ad5ad76db2
Merge pull request #5430 from mtausig/hash_interface
...
Unified interface of hashing functions
2016-05-24 17:12:25 +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
Martine Lenders
39fb0ae19a
tests: adapt libfixmath tests for change
2016-05-17 21:52:35 +02:00
Martine Lenders
4a13324abb
Merge pull request #5281 from authmillenon/gnrc_ipv6/fix/ext-fix-with-nhc
...
gnrc_ipv6: fix asserts for NHC
2016-04-27 08:39:39 +02:00
Martine Lenders
655aa0404c
tests: rework IPv6 extension header tests for changes
2016-04-22 10:11:45 +02:00
Andreas "Paul" Pauli
530a9e5388
tests_printf_float: fixed precision in test case
2016-04-21 16:07:34 +02:00
Leon M. George
c8985056e9
tests/unittests: cc2650stk insufficient memory
2016-04-18 19:00:50 +02:00
Leon M. George
3b240ff7ec
tests/thread_cooperation: cc2650stk insufficient memory
2016-04-18 19:00:49 +02:00
Hauke Petersen
e2fe3cc504
test: added unittests for the SAUL registry
2016-04-15 15:07:49 +02:00
kYc0o
e6d15f2d36
Merge pull request #5224 from haukepetersen/fix_periph_undef
...
drivers/periph: fixed UNDEF values to UINT_MAX
2016-04-13 16:39:59 +02:00
Bas Stottelaar
cf5e4c8fb6
drivers: si70xx: bugfixes + test improvements
2016-04-13 13:27:09 +02:00
Joakim Nohlgård
690b505a7a
Merge pull request #4938 from LudwigKnuepfer/pr/fletcher-unittest
...
unittests: add fletcher* tests
2016-04-12 08:46:39 +02:00
DipSwitch
21edec412a
posix: Remove _t from struct names
2016-04-11 21:46:54 +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
1367df0805
tests/periph_uart: fixed signedness issues
2016-04-08 10:49:34 +02:00
e8c97c5817
tests: add test for encx24j600 driver
2016-04-06 23:00:20 +02:00
Oleg Hahm
0169ec35ae
tests: add compile test for netstats_l2
2016-04-04 18:37:20 +02:00
39984dee4f
Merge pull request #5059 from kaspar030/unify_asm_keyword
...
unify usage of inline assembly keywords
2016-04-01 09:28:46 +02:00
Martine Lenders
8ab89c473a
Merge pull request #4713 from authmillenon/pkg/port/emb6
...
pkg: initial import of emb6 stack
2016-04-01 00:35:54 +02:00
c3f7186d4e
unify usage of inline assembly
2016-03-31 22:23:35 +02:00
757d4618e4
Merge pull request #5216 from authmillenon/tests/fix/i4372
...
tests: xtimer_msg_receive_timeout: initialize values
2016-03-31 22:18:37 +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
Martine Lenders
dcda44e9ea
tests: xtimer_msg_receive_timeout: initialize values
...
Fixes #4372
2016-03-31 18:09:11 +02:00
Yonezawa-T2
79d33897cb
native: add UART driver based on /dev/tty
...
uart0 functionality is removed by #3164 . This patch implements periph/uart,
rather than deprecated uart0, using /dev/tty.
To use with netdev2_tap simultaneously, this patch adds asynchronus read system
and modifies netdev2_tap to use it.
A TTY device is specified on command line with -c (COM) option, since -t was
used by the old implementation.
This patch also implements empty GPIO driver needed by the xbee driver.
2016-03-31 16:59:12 +09:00
Oleg Hahm
c09190b979
Merge pull request #3851 from kaspar030/make_messaging_optional
...
core: make messaging optional
2016-03-30 23:56:55 +02:00
58a12e5034
core: make messaging optional
2016-03-30 23:27:09 +02:00
Martine Lenders
43f7f55ca0
tests: add emb6 test
2016-03-30 19:05:07 +02:00
Martine Lenders
4dbc26fd4e
Merge pull request #3551 from authmillenon/pkg/port/lwip
...
lwIP: Initial import
2016-03-30 18:22:10 +02:00
Martine Lenders
3ddff58a27
Merge pull request #5200 from kaspar030/optimize_thread_flags
...
core: thread_flags: optimize thread_flags_wait_one, fix doxygen
2016-03-30 17:43:39 +02:00
Martine Lenders
9b8417fbb9
tests: intial import of lwIP test application
2016-03-30 17:35:51 +02:00
412b3637d8
tests: thread_flags: add thread_flags_wait_one() test
2016-03-30 17:11:49 +02:00
dc1616ba8a
Merge pull request #5202 from kaspar030/pkg_add_jsmn
...
pkg: add jsmn minimal JSON parser
2016-03-30 17:04:00 +02:00
Peter Kietzmann
dcafbb8d0c
Merge pull request #4835 from authmillenon/netdev2_test/feat/init
...
netdev2_test: initial import
2016-03-30 16:59:08 +02:00
Martine Lenders
076a49b512
tests: add test application for netdev2_test
2016-03-30 16:49:17 +02:00
4692f3df58
tests: add jsmn package test application
2016-03-30 14:35:58 +02:00
Oleg Hahm
7800f46593
Merge pull request #5199 from Yonezawa-T2/fix_driver_pir_unused_arg
...
driver_pir: fix unused parameter
2016-03-30 13:51:13 +02:00
5f81284270
Merge pull request #4103 from kaspar030/add_thread_flags
...
core: add thread flags
2016-03-30 12:17:53 +02:00
Yonezawa-T2
5f904f13b6
driver_pir: fix unused parameter
2016-03-30 19:10:25 +09: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
37bbdacd38
tests: thread_flags: initial commit
2016-03-30 10:38:53 +02:00
abff2e3fb7
core: introduce thread flags
2016-03-30 10:38:53 +02:00
BytesGalore
1bc9c3bfd2
fib: changed handling of the net prefix
...
Until now the prefix length has been determined automatically by the FIB
This PR changes it to be provided as msb(yte) in the global_flags of an entry
2016-03-30 10:05:05 +02:00
Oleg Hahm
07b1c94f40
Merge pull request #4923 from kaspar030/optimize_clist
...
core: make clist singly-linked
2016-03-30 01:44:15 +02:00
1bac3f3a2f
tests: unittests: adapt tests-core-clist to singly linked clist
2016-03-30 00:27:49 +02:00
Hauke Petersen
26bbb6a3b4
Merge pull request #3495 from ReneHerthel/lis3mdl
...
LIS3MDL driver implementation for LimiFrog V1
2016-03-29 23:06:00 +02:00
Hauke Petersen
01137c5741
tests: added test for mutex unlock order
2016-03-29 21:40:35 +02:00
Rene Herthel
44ee645373
drivers/lis3mdl: Initial create of lis3mdl
2016-03-29 21:02:18 +02:00
Hauke Petersen
0610c20914
tests: added unittests for fmt_s16_[dfp|dec]()
2016-03-29 15:23:04 +02:00
Oleg Hahm
59674a679b
netdev2: use params parameter for setup
2016-03-28 20:22:20 +02:00
Oleg Hahm
3ba99aabe4
xbee: fix naming inconsistency
2016-03-28 20:22:20 +02:00
Cenk Gündoğan
30217f8a7b
Merge pull request #5040 from kYc0o/rid_of_vtimer
...
sys/compat/vtimer: get rid of
2016-03-25 14:35:35 +01:00
Martine Lenders
9dcb5cc476
Merge pull request #5134 from OlegHahm/netif_default
...
make: introduce netdev_default pseudomodule
2016-03-24 18:23:49 +01:00
kYc0o
f92b025b85
vtimer: get rid of
2016-03-24 17:10:54 +01:00
Oleg Hahm
10f5f1aa33
make: introduce netif_default pseudomodule
...
Additionally the dependencies for GNRC specific modules are centralized in Makefile.dep.
2016-03-24 16:47:30 +01:00
Cenk Gündoğan
c7a29918ca
Merge pull request #5169 from cgundogan/pr/gnrc_netif/DELETE_ALL_INTERFACES
...
gnrc_ipv6_netif: remove existing interfaces on INIT
2016-03-24 16:34:54 +01:00
Cenk Gündoğan
37c2dc961c
tests-ipv6_nc: init interfaces for all unittests
2016-03-24 16:13:21 +01:00
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
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
Cenk Gündoğan
2672787ccb
tests: cpp11_condition_variable: vtimer to xtimer
2015-11-11 13:02:04 +01:00
Cenk Gündoğan
b863fabfcf
tests: nrf24l01p: use xtimer in Makefile
2015-11-11 08:57:43 +01:00
Joakim Nohlgård
6378be104c
Merge pull request #4100 from authmillenon/tests/fix/i4095
...
unittests: initialize xtimer if present
2015-11-06 08:53:18 +01:00
Hauke Petersen
58245bab60
tests/zep: simplified Makefile
2015-11-03 16:04:33 +01:00
Hauke Petersen
1db162adbf
tests/slip: simplified Makefile
2015-11-03 16:04:33 +01:00
Hauke Petersen
77d40d789d
tests/driver_xbee: simplified Makefile
2015-11-03 16:04:33 +01:00
Hauke Petersen
770efad28a
tests/driver_tmp006: simplified Makefile
2015-11-03 16:04:33 +01:00
Hauke Petersen
c78fbe92ee
tests/driver_tcs37727: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
cba6a74294
tests/driver_srf08: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
8c3a526441
tests/driver_srf02: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
3ee0980243
tests/driver_pir: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
23c3315654
tests/driver_pcd8544: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
f9ce415d3f
tests/driver_nvram_spi: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
ddd4117e12
tests/driver_nrf24l01p_lowlevel: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
d3676d20c2
tests/driver_mq3: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
400857070b
tests/driver_mpu9150: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
379717b0b0
tests/driver_mpl3115a2: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
c53fcb49db
tests/driver_mma8652: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
269a4e0c68
tests/driver_mag3110: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
965c69d8be
tests/driver_lsm303dlhc: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
208c72f4dd
tests/driver_lps331ap: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
f54e16ac84
tests/driver_lis3dh: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
a67a57ae39
tests/driver_l3g4200d: simplified Makefile
2015-11-03 16:04:32 +01:00
Hauke Petersen
fddfa7487b
tests/driver_kw2xrf: simplified Makefile
2015-11-03 16:04:31 +01:00
Hauke Petersen
3ac943aa77
tests/driver_isl29125: simplified Makefile
2015-11-03 16:04:31 +01:00
Hauke Petersen
5c55aad752
tests/driver_isl29020: simplified Makefile
2015-11-03 16:04:31 +01:00
Hauke Petersen
9e94faf389
tests/driver_ina220: simplified Makefile
2015-11-03 16:04:31 +01:00
Hauke Petersen
7c381a0282
tests/driver_hih6130: simplified Makefile
2015-11-03 16:04:31 +01:00
Hauke Petersen
f3643ee3cd
tests/driver_hdc1000: simplified Makefile
2015-11-03 16:04:31 +01:00
Hauke Petersen
26eed54b0b
tests/driver_dht: simplified Makefile
2015-11-03 16:04:31 +01:00
Hauke Petersen
6d9d6b428a
tests/driver_at86rf2xx: simplified Makefile
2015-11-03 16:04:31 +01:00
Hauke Petersen
b7f2c5f7ee
tests/driver_adt7310: simplified Makefile
2015-11-03 15:27:24 +01:00
BytesGalore
523d1f87ca
net/fib: Added network prefix flag to indicate a network destination
2015-11-02 15:57:39 +01:00
Cenk Gündoğan
26e67b86b5
Merge pull request #4161 from kaspar030/add_fmt
...
sys: fmt: initial commit of simple string formatting library
2015-10-30 18:51:29 +01:00
Cenk Gündoğan
de52225c70
sys: fmt: add basic unittests for fmt
2015-10-29 19:18:24 +01:00
Cenk Gündoğan
206e027725
Merge pull request #3647 from BytesGalore/fib_source_routing
...
fib: initial source route support
2015-10-29 12:08:47 +01:00
Martine Lenders
42d387a42f
unittests: initialize xtimer if present
2015-10-29 09:39:30 +01:00
Martine Lenders
5c2da0e289
tests: adapt posix_semaphores test to correct API
2015-10-28 17:16:23 +01:00
Martine Lenders
45b30a8e91
posix_semaphore: make API POSIX compliant
2015-10-28 17:16:23 +01:00
Joakim Nohlgård
d1b4e7a70b
xtimer: Rename _xtimer_now() -> _lltimer_now()
...
This matches _lltimer_set() and _lltimer_mask()
2015-10-28 13:54:54 +01:00
Hauke Petersen
85e05d411e
Merge pull request #4114 from haukepetersen/opt_periph_uart
...
drivers/periph/uart: remodeled UART interface
2015-10-28 10:50:03 +01:00
Hauke Petersen
4e18d9e1a5
tests: blacklisted some boards for insufficent RAM
2015-10-28 09:48:45 +01:00
BytesGalore
6c57582107
fib: initial source route support
2015-10-27 20:20:18 +01:00
Hauke Petersen
a38e51c0d0
tests: added new UART test application
2015-10-27 14:59:37 +01:00
Hauke Petersen
ad0e036a31
tests: removed old UART test applications
2015-10-27 14:59:36 +01:00
Cenk Gündoğan
697e7923e6
ipv6-tests_addr: add test for ipv6_addr_init_iid
2015-10-26 16:55:02 +01:00
Joakim Nohlgård
97189b6541
tests/xtimer_drift: Introduce drift test application.
...
The xtimer_drift test application can be used to measure the drift of
the xtimer subsystem when referenced against the wall clock or,
preferably, a PC with NTP synchronized clock as reference.
2015-10-25 08:33:51 +01:00
Johann F
a3e187e767
tests/driver_tcs37727: initial commit for tcs37727 driver test
2015-10-22 12:06:35 +02:00
Hauke Petersen
3bd01d7516
tests/periph_i2c: removed slave mode from test
2015-10-20 16:57:39 +02:00
Martine Lenders
3d4f373ba5
Merge pull request #3549 from authmillenon/sem/feat/initial
...
sem: initial import of a lightweight semaphore layer
2015-10-19 14:45:34 +02:00
Martine Lenders
f050c4e39b
tests: posix_semaphore: mark nucleo-f334 as of insufficient RAM
2015-10-19 14:12:31 +02:00
Martine Lenders
174e2d5f35
tests: add pexpect script for semaphore test app
2015-10-19 14:12:31 +02:00
Martine Lenders
12472a8984
tests: add test for sem_timedwait()
2015-10-19 14:12:31 +02:00
Martine Lenders
4b92961f82
tests: expand semaphore test for multiple semaphores
2015-10-19 14:12:31 +02:00
Martine Lenders
ae65746d59
tests: adapt semaphore test application
2015-10-19 14:12:31 +02:00
Martine Lenders
de421cdf78
posix: use sem module for semaphore implementation
2015-10-19 14:12:31 +02:00
Cenk Gündoğan
7ecd6d4a8a
fib: reduce scope of global vars to the scope of fib_table_t
2015-10-19 10:26:41 +02:00
Paul Rathgeb
df68ac9f79
cpu/lpc11u34 : Added SPI for NXP LPC11U34 (SPI_0 and SPI_1)
...
make: Blacklisted 'weio' in driver_at86rf2xx and driver_kw2xrf due to insufficient memory
2015-10-16 17:28:09 +02:00
Thomas Eichinger
2b29abed8e
Merge pull request #4071 from thomaseichinger/hauke-fix-gpio-gpiodev
...
drivers/gpio: renamed GPIO(x,y) macro to GPIO_PIN
2015-10-13 16:05:19 +02:00
Thomas Eichinger
34bedb4870
tests: Makefiles: s/GPIO(x,y)/GPIO_PIN(x,y)/
2015-10-13 14:59:54 +02:00
Hauke Petersen
3ece1fc4c4
tests: s/GPIO(x,y)/GPIO_PIN(x,y)/
2015-10-13 14:59:54 +02:00
f1e742dcf4
tests: unittests: add unittests for div.h
2015-10-12 23:25:58 +02:00
Cenk Gündoğan
bcb0d54028
Merge pull request #3758 from cgundogan/pr/bloom/static
...
sys/bloom: Pass buffer to bloom instead of using m/calloc
2015-10-08 16:35:28 +02:00
6558795c6c
tests: add xtimer_hang
2015-10-07 19:55:19 +02:00
Cenk Gündoğan
bc44c44dce
tests/bloom_bytes: add boards to insufficient memory
2015-10-05 12:53:36 +02:00
Cenk Gündoğan
13229a6b33
tests/bloom_bytes: adjust test to use static buffer for bloom
2015-10-05 11:41:53 +02:00
Cenk Gündoğan
4b405b9680
unittests/tests-bloom: use static memory for bloom
2015-10-05 11:41:53 +02:00
Oleg Hahm
c3f7925c1c
tests: msg_send_receive: add a delay
...
Otherwise the pre-condition (receiver is already in RX block) is not met.
2015-10-03 03:48:58 +02:00
Oleg Hahm
de74a64e8a
tests: msg_send_receive: use correct stack sizes
2015-10-03 03:48:51 +02:00
Peter Kietzmann
10bddd5ca6
Merge pull request #3755 from daniel-k/pr/at30tse75x
...
drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor
2015-10-02 14:55:04 +02:00
daniel-k
396b76c039
drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor
2015-10-02 13:34:21 +02:00
Paul Rathgeb
cefe2a6698
make: Blacklisted the board 'weio' for some test due to insufficient
...
RAM/ROM
Blacklisted LPC11Uxx.h for doxygen
2015-10-01 20:11:48 +02:00
Thomas Eichinger
99720b4eec
unittest/fib: fix printf formating for OS X
2015-09-30 15:41:59 +02:00
Daniel Krebs
1c585688bc
Merge pull request #3700 from gebart/pr/cortexm-state-rebased
...
cortexm: Attempt to reconstruct state for debugging hard faults
2015-09-29 11:26:28 +02:00
Ludwig Knüpfer
eda6328e21
documentation: update my name (Ortmann -> Knüpfer)
2015-09-27 18:58:30 +02:00
Joakim Gebart
d9c44ffabc
tests/fault_handler: Add fault handler test application
2015-09-23 13:50:37 +02:00
Martine Lenders
4508e22da8
Merge pull request #3646 from authmillenon/posix/feat/sockets
...
posix: redo socket API to use conn
2015-09-22 23:04:03 +02:00
Martine Lenders
c36f9e0537
tests: adapt coap test app
2015-09-22 22:28:32 +02:00
Martine Lenders
8df17de95b
Merge pull request #3925 from authmillenon/gnrc_pktbuf_static/fix/short_snip
...
gnrc_pktbuf_static: fix marking of pktsnips with short payload
2015-09-22 16:20:22 +02:00
Oleg Hahm
a0957b11d6
Merge pull request #3926 from OlegHahm/some-scan-build-warnings
...
clean up: Some scan build warnings
2015-09-22 11:43:20 +02:00
Martine Lenders
b254889b2b
tests: unittests: provide test for fix
2015-09-22 10:50:17 +02:00
Martine Lenders
39f8a41066
tests: add test application for gnrc_conn_ip
2015-09-21 20:09:08 +02:00
Joakim Nohlgård
98c465008b
all: Update @gebart family name, email
2015-09-20 13:47:39 +02:00
Hauke Petersen
002985db1d
s test/main: changed num from int to unsigned
2015-09-17 13:57:59 +02:00
Hauke Petersen
8739a2a319
s test: fixed copyright and reformatted license
2015-09-17 13:57:59 +02:00
Hauke Petersen
7f74c41c40
tests: added test for periph timer
2015-09-17 13:57:58 +02:00
Oleg Hahm
423d6e31f3
unittests: add an netif before performing nc tests
2015-09-17 11:11:49 +02:00
Oleg Hahm
5644102399
unittests: adapt netif tests to 1461675
...
Since 14616753433559bb7be7a8bed224d86d339b5fe2 an IPv6 interface doesn't have a link-local address per default any more, so tests shouldn't check for it.
2015-09-17 11:11:26 +02:00
7c97c38a96
tests: xtimer_usleep_until: some updates
2015-09-16 11:13:42 +02:00
bd19a903ab
sys: xtimer: add slow-timer-read compensation + test application
2015-09-16 11:13:41 +02:00
5a485c3f73
sys: net: fib: switch to xtimer
2015-09-16 10:58:56 +02:00
13aad65049
tests: pthread_rwlock: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
096823e4d0
tests: pthread_barrier: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
144a912e37
tests: periph_uart_int: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
d4ed8fe63d
tests: periph_random: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
a4a421cb1d
tests: periph_pwm: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
3695433092
tests: periph_dac: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
fb1ed800a1
tests: periph_adc: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
affcbffb6a
tests: driver_tmp006: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
1d34b27933
tests: driver_srf08: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
4f8a495836
tests: driver_servo: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
df5b89a444
tests: driver_pir: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
ec01c9dee5
tests: driver_nvram_spi: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
480a90256d
tests: driver_mq3: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
941acb180d
tests: driver_mpl3115a2: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
cd99ca5c19
tests: driver_mma8652: vtimer -> xtimer
2015-09-16 10:58:55 +02:00
2199aa3d1c
tests: driver_mag3110: vtimer -> xtimer
2015-09-16 10:58:54 +02:00
0438fe9146
tests: driver_lsm303dlhc: vtimer -> xtimer
2015-09-16 10:58:54 +02:00
205aed03b0
tests: driver_lps331ap: vtimer -> xtimer
2015-09-16 10:58:54 +02:00
8be416cc41
tests: driver_lis3dh: vtimer -> xtimer
2015-09-16 10:58:54 +02:00
122b238587
tests: driver_l3g4200d: vtimer -> xtimer
2015-09-16 10:58:54 +02:00
ef01db6d69
tests: driver_isl29125: vtimer -> xtimer
2015-09-16 10:58:54 +02:00
e4a239b78a
tests: driver_isl29020: vtimer -> xtimer
2015-09-16 10:58:54 +02:00
4a74e88ad2
tests: driver_ina220: vtimer -> xtimer
2015-09-16 10:58:54 +02:00
6ede769620
tests: driver_hdc1000: vtimer -> xtimer
2015-09-16 10:58:54 +02:00
ada00d1ca6
tests: driver_adt7310: vtimer -> xtimer
2015-09-16 10:58:54 +02:00
c530ca4db5
tests: driver_mpu9150: vtimer -> xtimer
2015-09-16 10:58:54 +02:00
1fe205924a
tests: driver_nrf24l01p_lowlevel: use xtimer_usleep
2015-09-16 10:58:54 +02:00
b512b98dc2
tests: periph_gpio: remove obsolete hwtimer include
2015-09-16 10:58:54 +02:00
c6c7e9e981
tests: periph_rtc: switch to xtimer
2015-09-16 10:58:54 +02:00
8e446af6bb
tests: irq: switch to xtimer
2015-09-16 10:58:54 +02:00
25c0fc0eb7
tests: driver_nrf24l01p_lowlevel: swithc to xtimer
2015-09-16 10:58:54 +02:00
75720c70ae
tests: driver_dht: switch to xtimer
2015-09-16 10:58:54 +02:00
01b8c57882
tests: bloom_bytes: switch to xtimer
2015-09-16 10:58:53 +02:00
14cbec41bb
tests: bitarithm_timings: convert to xtimer
2015-09-16 10:58:53 +02:00
8b2dc150dc
tests: remove hwtimer tests
2015-09-16 10:58:53 +02:00
39533eb28c
drivers: hih6130: switch to xtimer
2015-09-16 10:58:51 +02:00
Martine Lenders
f595ac32a6
unittests: tests-ipv6_addr: adapt for optional IPv4 address support
2015-09-11 20:03:46 +02:00
Martine Lenders
be587ca717
tests: add unittests for ipv4_addr
2015-09-11 16:32:36 +02:00
d2f6b351d0
Merge pull request #3786 from kaspar030/fix_tests_xtimer_usleep_until
...
tests: xtimer_usleep_until: fix diff calculation
2015-09-07 14:19:20 +02:00
Hauke Petersen
2529a91010
tests/driver_srf02: adapted to driver changes
...
- switched test to xtimer
- adapted to interface changes
2015-09-07 12:02:38 +02:00
Oleg Hahm
8afecdd8a6
Merge pull request #3658 from OlegHahm/ipv6_fib
...
universal_addresses: configure sizes according to the used modules
2015-09-07 10:14:08 +02:00
Oleg Hahm
7d2f414476
universal_address: make size dependent on FIB size
2015-09-07 09:18:29 +02:00
f85e21d23a
tests: xtimer_usleep_until: fix diff calculation
...
xtimer_usleep_until's internal logic has changed, always setting
&last_wakeup to the expected instead of real value.
In order to make this test output valid values, this commit adapts it.
2015-09-05 16:21:46 +02:00
48baf5ddcf
Merge pull request #3683 from kaspar030/add_gnrc_netdev2_support
...
sys: net: add gnrc netdev2 support
2015-09-04 18:00:18 +02:00
4e5a675280
tests: remove obsolete ethernet tests
2015-09-04 15:39:04 +02:00
Hauke Petersen
fe5d9fb3df
tests: removed redbee-econotag from blacklistings
2015-09-04 10:44:48 +02:00
25f900e489
tests, examples: adapt to simplified shell
2015-09-03 13:33:49 +02:00
448e90ba3a
Revert "applications: only use uart0 for none-newlib boards"
...
This reverts commit 9c6ab1007b
.
2015-09-03 13:33:18 +02:00
Hauke Petersen
151dbf95b8
test/xtimer_usleep_until: fix and blacklist
...
- s/N/NUMOF/
- blacklisted chronos for insufficient RAM
2015-09-02 17:10:28 +02:00
Hauke Petersen
6df83c55db
test/xtimer_remove: s/N/NUMOF/
2015-09-02 17:10:28 +02:00
Oleg Hahm
3edfb772f3
auto_init: rename ng_slip to gnrc_slip
2015-09-01 19:11:30 +02:00
Oleg Hahm
b514eeab04
Merge pull request #3706 from OlegHahm/fib_size_parameter
...
fib: add size parameter
2015-09-01 11:28:55 +02:00
Oleg Hahm
86cabbd102
fib: add data struct for meta information
...
In order to properly make use of different FIB tables, handling of different sizes is required. The fib_table_t provides a pointer to the array of entries and its size.
2015-09-01 11:09:10 +02:00
Cenk Gündoğan
ce14897665
tests/cpp11_mutex: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:18:34 +02:00
Cenk Gündoğan
6563ea55b2
tests/cpp11_condition_variable: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:17:57 +02:00
Cenk Gündoğan
780da384cc
tests/slip: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:17:20 +02:00
Cenk Gündoğan
447d0be129
tests/cpp11_thread: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:16:57 +02:00
Cenk Gündoğan
a5058869d8
tests/driver_kw2xrf: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:16:19 +02:00
Cenk Gündoğan
dee6cc9408
tests/driver_at86rf2xx: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:15:46 +02:00
Cenk Gündoğan
25802adbe8
tests/driver_xbee: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:14:57 +02:00
Cenk Gündoğan
5ea852cabd
tests/vtimer_msg_diff: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:14:23 +02:00
Cenk Gündoğan
7848a03549
tests/unittests: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:13:34 +02:00
Cenk Gündoğan
9badbb200c
tests/thread_msg_seq: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:13:02 +02:00
Cenk Gündoğan
c6c6c41219
tests/thread_msg: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:12:27 +02:00
Cenk Gündoğan
2bfd214a92
tests/thread_coorporation: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:11:55 +02:00
Cenk Gündoğan
484c568094
tests/pthread_rwclock: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:11:09 +02:00
Cenk Gündoğan
c3e176c1f2
tests/pthread_condition_variable: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:10:38 +02:00
Cenk Gündoğan
2d052a4299
tests/pthread_barrier: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:09:45 +02:00
Cenk Gündoğan
5eaf226690
tests/posix_semaphore: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:08:40 +02:00
Cenk Gündoğan
e6a775cf16
tests/coap: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY
2015-08-28 18:07:55 +02:00
fe61811095
tests/periph_i2c: fix custom shell commands
2015-08-28 09:39:33 +02:00
4bd830121a
tests: driver_pcd8544: fix custom shell commands
2015-08-28 09:38:21 +02:00
bc260fff88
tests: periph_gpio: fix usage of shell_commands
2015-08-28 09:16:51 +02:00
76502c7558
tests: slip: fix auto_init_ng_netif -> auto_init_gnrc_netif
2015-08-26 07:21:20 +02:00
Martine Lenders
293c5322de
Merge pull request #3137 from authmillenon/slip/fix/some-fixes
...
gnrc_slip: Fixes
2015-08-25 22:19:37 +02:00
bd40b2c56b
Merge pull request #3661 from authmillenon/auto_init/api/auto_init_gnrc_netif
...
sys: auto_init: rename auto_init_ng_netif to auto_init_gnrc_netif
2015-08-25 21:17:19 +02:00
René Kijewski
11ce199c41
cbor: compare asserted lengths in unit test
...
In `test_array`, `test_array` and `test_map` the variable `offset` was
written to but not read. The accumulated value should equal the total
length of the input. This diff adds this check and fixes the warning
in turn.
Found via scan-build.
2015-08-25 21:16:50 +02:00
Cenk Gündoğan
ed3a33982c
Merge pull request #3690 from OlegHahm/shell_uart0_newlib_distinction
...
shell: uart0 newlib distinction (workaround)
2015-08-25 21:15:44 +02:00
Martine Lenders
b66ada2ae7
ng_slip: fix auto initialization
2015-08-25 20:40:52 +02:00
Oleg Hahm
9c6ab1007b
applications: only use uart0 for none-newlib boards
2015-08-25 20:11:23 +02:00
6d1aab7126
Merge pull request #2926 from kaspar030/wtimer
...
sys: add new timer subsystem
2015-08-25 19:20:07 +02:00
Peter Kietzmann
7ce87862f8
Merge pull request #3609 from gebart/pr/tests-unblacklist-boards
...
tests: unblacklist some boards
2015-08-25 19:03:10 +02:00
301c6f49ae
tests: add xtimer_sleep_until
2015-08-25 13:20:36 +02:00
57630b764e
tests: add xtimer_reset
2015-08-25 13:20:36 +02:00
b21aca4fef
tests: add xtimer_remove
2015-08-25 13:20:36 +02:00
a1dde926c4
tests: add xtimer_msg
2015-08-25 13:20:36 +02:00
Frank Holtz
ee952f79fe
boards: added nrf6310 support. (NRF51 MCU)
2015-08-23 17:00:01 +02:00
Martine Lenders
c1e24d449e
Merge pull request #3584 from cgundogan/pr/seqno
...
sys: Serial Number Arithmetic (RFC1982)
2015-08-21 23:55:08 +02:00
Cenk Gündoğan
9d1b899e56
tests/unittests/tests-seq: unittests for Serial Number Arithmetic
2015-08-21 23:30:06 +02:00
fa5046cd03
tests: unittests: add netopt module unit tests
2015-08-21 11:04:06 +02:00
Oleg Hahm
155b91bd06
Merge pull request #3655 from OlegHahm/fib_multiple_instances
...
fib: allow for multiple instances of FIB
2015-08-20 16:39:13 +02:00
Oleg Hahm
4267212502
fib: allow for multiple instances of FIB
2015-08-20 15:47:27 +02:00
Lari Lehtomäki
1ecaadab4e
cpu/stm32f0: RTC implementation with external clock
...
tests: Tests for RTC clock
2015-08-20 13:09:43 +03:00
Thomas Eichinger
a848b56937
Merge pull request #3665 from authmillenon/iotlab_m3/board/rename
...
iot-lab_M3: rename to iotlab-m3
2015-08-19 22:00:49 +02:00
Joakim Gebart
56b0beeebe
Merge pull request #3107 from gebart/pr/cppsupport
...
c++: Define some support functions required by GCC
2015-08-19 21:49:24 +02:00
Martine Lenders
64c6d49cbd
iot-lab_M3: rename to iotlab-m3
2015-08-19 20:59:06 +02:00
Martine Lenders
d46f542220
iot-lab_M3: rename to iotlab_m3
2015-08-19 18:29:17 +02:00
Martine Lenders
b41e31bb8a
auto_init_ng_netif: remove deprecated files
2015-08-19 17:22:54 +02:00
Martine Lenders
c2706ef492
auto_init: rename auto_init_ng_netif to auto_init_gnrc_netif
2015-08-19 17:21:28 +02:00
Martine Lenders
58ff31bfe9
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:00:07 +02:00
Martine Lenders
87c222d2fa
Merge pull request #3595 from authmillenon/gnrc/api/mv
...
gnrc: rename ng_netbase to gnrc
2015-08-18 16:59:34 +02:00
Martine Lenders
b969eeb217
gnrc: rename ng_netbase to gnrc
2015-08-18 16:11:55 +02:00
Oleg Hahm
b68213a410
Merge pull request #3561 from OlegHahm/ipv6_source_candidate_set
...
IPv6: implement source address candidate selection
2015-08-18 01:17:38 +02:00
Oleg Hahm
65e2acb29d
unittests: fixed ipv6_netif tests
...
Anycasts are not explicitly forbidden according to RFC6724, Appendix B.
2015-08-18 00:31:58 +02:00
Martine Lenders
feb8b8cc0f
Merge pull request #3639 from OlegHahm/unittest-color-output
...
Added a colored outputter to embUnit.
2015-08-17 22:06:51 +02:00
Janos Kutscherauer
5d7ba5b35f
Added a colored outputter to embUnit.
...
The outputter is called ColorTextOutputter and can be enabled by defining OUTPUT=COLORTEXT.
The colored outputter behaves just like the TextOutputter, but displays successful tests in GREEN and failed tests in RED. The summary message is also in GREEN/RED, but is slightly different from the TextOutputter.
Also:
* Added fancy simple none-verbose color-outputter for EmbUnit. The outputter outputs a simple statistics line in GREEN or RED, according to the test success or failure. (Also, the ColorTextOutputter was adjusted to use the statistics output of this new ColorOutputter.) The new outputter can be activated with OUTPUT=COLOR.
* Added a single character "." output for the simple color outputter and replaced the color codes by macros.
2015-08-17 15:04:27 +02:00
Oleg Hahm
bc3aba24a4
Merge pull request #3594 from authmillenon/ipv6/api/disentengle-hdr-ext
...
ipv6: move non-GNRC types and functions in their own module
2015-08-17 13:11:51 +02:00
Martine Lenders
bce1cf618d
Merge pull request #3586 from daniel-k/fix/pktbuf_release_check_contains
...
ng_pktbuf_static: check if pkt is in buffer before derefencing in ng_pktbuf_release
2015-08-17 10:22:44 +02:00
Martine Lenders
2903667494
tests: adapt unittests for ipv6_hdr module division
2015-08-14 17:18:37 +02:00
Martine Lenders
4f650b31f9
ipv6: move non-GNRC types and functions in their own modules
2015-08-14 17:18:35 +02:00
Hauke Petersen
e6a9549d16
Merge pull request #3213 from haukepetersen/add_pktbuf_iovecexport
...
net/ng_pktbuf: added IOVEC export function
2015-08-12 19:46:01 +02:00
daniel-k
12a3a65350
ng_pktbuf_static: remove unittests release_pkt_[null|external]
2015-08-12 14:41:20 +02:00
Oleg Hahm
4a5f5579f6
Merge pull request #3323 from OlegHahm/test_hwtimer_wo_sleep
...
Test hwtimer wo sleep
2015-08-12 11:51:03 +02:00
Oleg Hahm
8639d2c27d
at86rf2xx: rename remaining files and variables
2015-08-11 23:52:02 +02:00
Joakim Gebart
2de14062fe
tests/libfixmath_unittests: Remove stm32f0discovery, redbee-econotag blacklists
2015-08-11 18:40:01 +02:00
Joakim Gebart
f5af96ccc8
tests/struct_tm_utility: Remove stm32f0discovery blacklist
2015-08-11 18:40:01 +02:00
Joakim Gebart
e21896cdf0
tests/thread_exit: Remove stm32f0discovery blacklist
2015-08-11 18:40:00 +02:00
Joakim Gebart
f02bc75e3f
tests/vtimer_msg: Remove stm32f0discovery blacklist
2015-08-11 18:40:00 +02:00
Joakim Gebart
c2075a83c7
tests/pipe: Remove stm32f0discovery blacklist
2015-08-11 18:40:00 +02:00
Joakim Gebart
76a4198352
tests/bloom_bytes: Remove stm32f0discovery blacklist
2015-08-11 18:40:00 +02:00
Martine Lenders
203561e741
ipv6_addr: remove ng_ prefix
2015-08-11 13:27:07 +02:00
Martine Lenders
2e6c974c15
Merge pull request #3568 from haukepetersen/opt_fib_ngprefix
...
net/fib: removed any ng_'s from the FIB
2015-08-11 02:28:00 +02:00
Martine Lenders
c82dfda445
Merge pull request #3567 from authmillenon/timex/enh/timex_to_str
...
timex: make timex_to_str more efficient
2015-08-11 02:21:41 +02:00
Martine Lenders
2a4fd4dd75
unittests: add test for timex_to_str()
2015-08-11 01:33:21 +02:00
Martine Lenders
a55400133b
tests: fix ipv6_netif tests
...
Fixes #3600
2015-08-10 15:47:50 +02:00
Hauke Petersen
85fe67e629
net/fib: removed all ng prefixes from fib
2015-08-10 15:43:55 +02:00
Hauke Petersen
a0600c1ee9
tests/unittests: added tests for pktbuf_get_iovec()
2015-08-10 10:37:55 +02:00
Hauke Petersen
1189b28d0d
tests/unittests: added tests for ng_pkt_count()
2015-08-10 10:37:55 +02:00
Martine Lenders
54fe08feda
Merge pull request #3591 from authmillenon/at86rf2xx/api/mv
...
at86rf2xx: remove ng_ prefix
2015-08-10 02:53:26 +02:00
Martine Lenders
8f9e1656e1
at86rf2xx: remove ng_ prefix
2015-08-10 00:08:21 +02:00
Martine Lenders
f0cb1429f0
native: rename ng_nativenet to dev_eth_tap
2015-08-09 22:04:26 +02:00
Oleg Hahm
e0f35b78e6
unittests: adapt tests to new IPv6 global check
2015-08-09 20:22:22 +02:00
Joakim Gebart
f3330abf8d
tests/cpp11_condition_variable: Clean up Makefile
...
- Remove BOARD_WHITELIST
- Clean up CXXFLAGS
- Clean up CFLAGS
- Blacklist boards where the C++ library is too large on Travis
2015-08-08 14:44:41 +02:00
Joakim Gebart
01694161bc
tests/cpp11_mutex: Clean up Makefile
...
- Remove BOARD_WHITELIST
- Clean up CXXFLAGS
- Clean up CFLAGS
- Blacklist boards where the C++ library is too large on Travis
2015-08-08 14:44:41 +02:00
Joakim Gebart
2e36564ea1
tests/cpp11_thread: Clean up Makefile
...
- Remove BOARD_WHITELIST
- Clean up CXXFLAGS
- Clean up CFLAGS
- Blacklist boards where the C++ library is too large on Travis
2015-08-08 14:44:41 +02:00
Martine Lenders
5c03268516
inet_csum: remove ng_ prefix
2015-08-07 16:59:13 +02:00
Martine Lenders
b7545365df
protnum: remove ng_ prefix
2015-08-07 16:02:09 +02:00
Oleg Hahm
1373795ec5
Merge pull request #3575 from OlegHahm/ipv6_more_address_types
...
Ipv6: more address types
2015-08-07 09:22:50 +02:00
Oleg Hahm
f9417ba506
tests: unittests for all missing address checks
2015-08-07 08:15:05 +02:00
00a44c9147
sys: net: remove AODVv2
...
(will be upgraded to gnrc soon)
2015-08-06 12:13:19 +02:00
1fceeae91b
tests: coap: remove defaulttransceiver dependency
2015-08-06 12:13:18 +02:00
5d8349298f
remove bulk of legacy network stack and drivers
2015-08-06 12:12:47 +02:00
aabaaa0501
tests: coap: blacklist avr8
2015-08-05 14:08:41 +02:00
Oleg Hahm
2795d51d90
Merge pull request #3058 from cgundogan/universal_address_fib_split
...
sys/universal_address: separate universal_address from fib
2015-08-03 10:42:59 +02:00
Cenk Gündoğan
7e253df7f1
unittests: find best src addr with other subnet
2015-07-31 00:11:02 +02:00
Cenk Gündoğan
ea5e371383
sys/universal_address: separate universal_address from fib
2015-07-30 18:34:48 +02:00
21238b2ccc
Merge pull request #3347 from benoit-canet/timer
...
native: timer: synchronize HWTIMER_SPIN_BARRIER with native timer min resolution
2015-07-29 10:14:58 +02:00
Martine Lenders
3d9945667f
Merge pull request #3496 from authmillenon/ng_pktbuf/enh/new_default
...
ng_pktbuf: new default packet buffer implementation
2015-07-29 02:08:46 +02:00
Martine Lenders
9e823076f4
ng_pktbuf: new default packet buffer implementation
2015-07-29 00:47:30 +02:00
Martine Lenders
f747b07db8
unittests: adapt ng_pktbuf tests for new API
2015-07-29 00:47:30 +02:00
Hauke Petersen
ccf91572f8
tests: blacklisted nrf51dongle for some tests
2015-07-28 18:11:32 +02:00
Nico von Geyso
4a4235c622
Unified Cipher API and Block cipher operation modes
2015-07-22 19:18:34 +02:00
Joakim Gebart
75509c838f
tests/libfixmath_unittests: Add linking with -lm for native
2015-07-22 09:49:28 +02:00
Joakim Gebart
71fff3ac1c
tests/libfixmath_unittests: Add message when tests are finished.
2015-07-22 09:49:25 +02:00
Oleg Hahm
50fce32ea1
tests: some hwtimer cosmetics
2015-07-21 11:11:38 +02:00
Oleg Hahm
9a9d294a0d
tests: remove sleep from hwtimer test
...
Instead set hwtimer_wait delay long enough.
2015-07-21 11:11:38 +02:00
Joakim Gebart
d34af3cb0e
tests/driver_hih6130: test application for drivers/hih6130
2015-07-20 18:41:14 +02:00
Oleg Hahm
717a4c8152
Merge pull request #3143 from authmillenon/ng_sixlowpan_ctx/api/comp-flag
...
ng_sixlowpan_ctx: add compression flag support
2015-07-17 08:23:05 +02:00
Martine Lenders
e6747b89e5
unittests: adapt for compression flag in ng_sixlowpan_ctx
2015-07-17 07:59:16 +02:00
BytesGalore
d97694f106
fib: repaired prefix/default gateway determination and added two according unittests
2015-07-16 13:46:36 +02:00
Lotte Steenbrink
35d48901d8
add tests for the FIB inclusion in AODVv2
2015-07-14 12:32:17 -07:00
Joakim Gebart
fa4e059588
Merge pull request #3319 from gebart/pr/warning-fixes-3
...
Makefile.cflags: Build with -Wall -Werror by default (including fixes to correct all existing warnings)
2015-07-14 08:50:31 +02:00
Joakim Gebart
42d6feaa13
tests/shell: Use libc putchar/getchar instead of wrappers
2015-07-14 08:11:19 +02:00
Joakim Gebart
adc8afb34f
tests/slip: Use libc putchar/getchar instead of wrappers
...
Fixes warnings about wrong function signature.
2015-07-14 08:11:19 +02:00
Joakim Gebart
b318d2607c
tests/shell: Blacklist chronos for missing getchar implementation
2015-07-14 08:11:19 +02:00
Joakim Gebart
c14f2b65cf
tests/libfixmath_unittests: Blacklist MSP430 boards
...
Fixes implicit declaration warnings for missing math functions.
2015-07-14 08:11:19 +02:00
Joakim Gebart
141803a459
tests/pthread_condition_variable: Use ul suffix for constants
2015-07-14 08:11:19 +02:00
Joakim Gebart
c3b8114cbc
tests/bitarithm_timings: Fix warning about integer overflow on msp430
2015-07-14 08:11:19 +02:00
Joakim Gebart
dc9eb4d5bd
tests/driver_pir: printf format fix
2015-07-14 08:11:18 +02:00
Joakim Gebart
adb8945514
tests/driver_dht: printf format fixes
2015-07-14 08:11:18 +02:00
Joakim Gebart
316c71d91f
tests/driver_nrf24l01p_lowlevel: Fix shell warnings
2015-07-14 08:11:18 +02:00
Joakim Gebart
ebce349180
tests/periph_spi: printf format fixes
2015-07-14 08:11:15 +02:00
Joakim Gebart
e3b41a327e
tests/periph_uart_int: warning fixes
2015-07-14 08:11:15 +02:00
Joakim Gebart
50076376fc
tests/periph_uart_blocking: use uint32_t for baudrates
2015-07-14 08:11:15 +02:00
Joakim Gebart
56067f8489
tests/unittests/tests-core-atomic: Reduce arbitrary test input numbers to fit inside int16_t
...
Fixes build warnings on avr and msp430
2015-07-14 08:11:15 +02:00
Joakim Gebart
754549b40d
tests/unittests/tests-ipv6_hdr: Cast to uint32_t to avoid truncation on msp430
2015-07-14 08:11:15 +02:00
René Kijewski
caf5503486
Merge pull request #3235 from haukepetersen/add_md5
...
sys/hashes: added MD5 implementation
2015-07-13 22:59:09 +02:00
Martine Lenders
888bdd70c1
unittests: fix length of test data strings
...
Fixes #3371
2015-07-13 14:37:24 +02:00
Martine Lenders
54d1019533
Merge pull request #3369 from authmillenon/tests/fix/asan
...
unittests: fix errors cought by address sanitizer
2015-07-13 12:57:36 +02:00
Martine Lenders
67d6333c39
unittests: fix errors cought by address sanitizer
2015-07-13 11:21:42 +02:00
10a6afe2e5
tests: add minimal test application
2015-07-12 13:06:39 +02:00
Joakim Gebart
fb90e67863
drivers/adt7310: Add test application
2015-07-09 23:39:37 +02:00
Benoît Canet
e01329796d
native: timer: synchronize HWTIMER_SPIN_BARRIER with timer min resolution
...
This keeps the test/hwtimer_wait test duration correct.
2015-07-09 20:42:21 +02:00
Peter Kietzmann
c3814a7127
Merge pull request #3316 from authmillenon/ng_pktbuf/fix/align
...
ng_pktbuf: fix alignment overwrite issue
2015-07-08 10:49:26 +02:00
c0f2759e60
Merge pull request #3178 from kaspar030/bf_get_unset
...
sys: bitfield: add bf_get_unset
2015-07-08 01:13:35 +02:00
43ecf6d2c3
tests: unittests: add some bitfield unit tests
2015-07-07 17:49:18 +02:00
Oleg Hahm
705e70e6c6
Merge pull request #3322 from gebart/pr/add-missing-inttypes-includes
...
Add missing inttypes.h includes
2015-07-07 16:49:39 +02:00
Joakim Gebart
c9bdbd1a74
lis3dh: Refactor, add INT1 handling, improve FIFO mode
2015-07-07 12:03:28 +02:00
Joakim Gebart
1e4a09cae8
tests/pthread_barrier: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
86389fcadb
tests/vtimer_msg: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
7203013040
tests/netdev: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
0107a8c6e1
tests/driver_mpu9150: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
031fcc05ad
tests/vtimer_msg_diff: Un-blacklist arduino-mega2560
2015-07-07 00:53:26 +02:00
Joakim Gebart
942da9db1b
tests/vtimer_msg_diff: Add missing inttypes.h include
2015-07-07 00:53:26 +02:00
Jonas
4552e3a4e8
tests/driver_kw2xrf/Makefile: Blacklisted nucleo-f334 board
2015-07-06 00:36:59 +02:00
Martine Lenders
057ad18f22
unittests: add test for packet buffer alignment issues
2015-07-05 00:22:14 +02:00
Peter Kietzmann
004a83c44d
Merge pull request #3028 from gebart/pr/cmsis-dsp
...
pkg/cmsis-dsp: Add CMSIS-DSP as a package
2015-07-04 09:39:22 +02:00
Martine Lenders
d96f23fafd
tests: add ZEP test application
2015-07-02 15:47:19 +02:00
Martine Lenders
69992ee7eb
Merge pull request #3293 from authmillenon/ng_inet_csum/fix/wrap-around
...
ng_inet_csum: fix double-wrap around of carry
2015-07-02 12:55:27 +02:00
Martine Lenders
6ce23a42f5
unittests: add test for ng_inet_csum() for double-wraparound
2015-07-02 12:06:31 +02:00
Martine Lenders
8b7a0c2613
unittests: add ng_ipv6_hdr_inet_csum test for initial sum overflows
2015-07-01 17:49:19 +02:00
Benoît Canet
5e7ea2d9e4
msg: Fix incorrect queues initializations
...
From core/include/msg.h:
/**
* @brief Initialize the current thread's message queue.
*
* @param[in] array Pointer to preallocated array of ``msg_t`` structures, must
* not be NULL.
* @param[in] num Number of ``msg_t`` structures in array.
* **MUST BE POWER OF TWO!**
*
* @return 0, if successful
* @return -1, on error
*/
int msg_init_queue(msg_t *array, int num);
sizeof(array) does does not compute an array size. Replace calls to sizeof()
with proper values
Closes #3269 .
Fix two crashes in the tests and probably more in the network stack.
2015-06-29 06:58:24 +02:00
Philipp Rosenkranz
1913b7ea66
Merge pull request #3229 from Kijewski/chacha
...
sys: add ChaCha stream cipher and PRNG
2015-06-28 21:13:59 +02:00
René Kijewski
2cf4253710
sys: add ChaCha stream cipher and PRNG
...
This implementation is optimized for a little code and data size, not
for speed. IMO the code is more readable than in the reference
implementation.
The biggest advantage of ChaCha over other stream ciphers is the very
little data usage with only 64 bytes of context, and its good encryption
speed.
Also part of this PR is pseudo-random number generator, that just
returns the keystream of a randomly initialized ChaCha context.
2015-06-28 18:32:04 +02:00
Joakim Gebart
6e32b337e4
tests/pkg_cmsis-dsp: Add basic test case for CMSIS DSP library
2015-06-25 08:00:55 +02:00
BytesGalore
db18e5760a
fib: added check for passing NULL pointers to fib_get_next_hop()
2015-06-24 09:05:24 +02:00
haukepetersen
b708e423ed
tests/unittest: added tests for MD5
2015-06-22 21:43:28 +02:00
Martine Lenders
82e54d0970
tests: adapt unittests for new pktqueue
2015-06-22 18:19:54 +02:00
Hauke Petersen
55752ff4f2
Merge pull request #3202 from haukepetersen/opt_shell_init
...
sys/shell: changed signature of put_char pointer
2015-06-15 17:28:40 +02:00
Hauke Petersen
350cfc7a2b
Merge pull request #3095 from haukepetersen/opt_gpio
...
drivers/gpio: changed periph driver interface
2015-06-15 13:57:03 +02:00
Hauke Petersen
1bd7111a7b
tests: pass [get|put]char directly in shell_init
2015-06-14 17:09:49 +02:00
Hauke Petersen
8cbfaa8da2
tests: make use of uart0_[readc|putc]
2015-06-14 17:08:51 +02:00
Hauke Petersen
e0241dfcad
tests/driver_xbee: s/GPIO_NUMOF/GPIO_UNDEF/
2015-06-14 16:13:17 +02:00
Hauke Petersen
48096c43d9
test/driver_xbee: removed obsolete auto_init file
2015-06-14 16:05:04 +02:00
Hauke Petersen
24c85bbbe1
test/driver_xbee: removed obsolete auto_init file
2015-06-14 16:04:02 +02:00
Hauke Petersen
6994a1d4ec
test/periph_spi: adjusted to GPIO driver changes
2015-06-14 13:01:18 +02:00
René Kijewski
98aec32f6b
ng_netif: more formats for ng_netif_addr_from_str
2015-06-13 13:38:11 +02:00
René Kijewski
7d3d8dee21
ng_netif: make const what is const
2015-06-12 21:53:59 +02:00
René Kijewski
64e0b8d8fb
ng_netif: more tests for ng_netif_addr_from_str
2015-06-12 21:53:59 +02:00
Hauke Petersen
315ac1bedb
tests: adjusted test to changed GPIO interface
2015-06-12 19:10:16 +02:00
Hauke Petersen
2deedcff6a
tests/periph_spi: adapted to change GPIO driver IF
2015-06-12 19:06:48 +02:00
Hauke Petersen
8ccd289f82
tests: remoldeled the periph_gpio test
2015-06-12 19:06:48 +02:00
Hauke Petersen
c8825a5917
tests: removed gpio_exti test
2015-06-12 18:54:37 +02:00
Cenk Gündoğan
ece64548a6
Merge pull request #2818 from BytesGalore/fib_get_conditionlal_entry_set
...
sys/net/fib: added function to request a set of destination addresses
2015-06-05 22:07:22 +02:00
Hauke Petersen
f5ec1926e6
Merge pull request #3106 from gebart/pr/servo-updates
...
drivers/servo: Add test program, handle inexact frequencies
2015-06-04 12:08:06 +02:00
Martine Lenders
5e7de0821b
Merge pull request #3096 from OlegHahm/ng_nativenet_netdev_auto_foobar
...
ng_nativenet: auto initialization and improvements
2015-06-03 17:53:18 +02:00
Oleg Hahm
4d9f965159
auto_init: initialize ng_netdev_eth
2015-06-03 13:00:35 +02:00
BytesGalore
9079e30da0
sys/net/fib: added function to request a set of destination addresses
2015-06-02 16:42:47 +02:00
Joakim Gebart
3ede02683c
drivers/servo: Handle inexact frequencies from periph_pwm
2015-05-30 12:41:07 +02:00
Joakim Gebart
1918b5d379
tests/driver_servo: Add test application for drivers/servo
2015-05-30 12:41:07 +02:00
Ludwig Ortmann
fe17cae0c0
test/driver_dht: initial import
2015-05-29 06:24:19 +02:00
Lotte Steenbrink
104ea3ceb1
Merge pull request #3091 from Lotterleben/fib_helper_fn
...
Fib helper fn
2015-05-28 18:33:23 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Oleg Hahm
e857ca7f51
Merge pull request #2933 from gebart/pr/atomic-set-return-deprecated
...
core: remove atomic_set_return
2015-05-27 12:33:39 +02:00
Lotte Steenbrink
fbc7f9ddc4
add simple test for fib_devel_get_lifetime()
2015-05-26 15:36:02 -07:00
Joakim Gebart
a6eda18099
unittests/ubjson: Use MUTEX_INIT to initialize mutexes
2015-05-26 21:28:31 +02:00
Joakim Gebart
41ef11c215
core: Remove atomic_set_return()
2015-05-26 21:24:10 +02:00
3a7820c21a
tests: add manual test application for netdev_eth
2015-05-26 21:19:48 +02:00
1c91baed8b
sys: net: add ng_netdev_eth netdev driver for dev_eth based ethernet devices
2015-05-26 21:05:19 +02:00
Oleg Hahm
1bd5a82678
Merge pull request #3070 from authmillenon/ng_slip/fix/rename-params
...
ng_slip: rename xbee_params_t to ng_slip_params_t
2015-05-26 19:29:45 +02:00
cfd9a5905a
Merge pull request #2766 from kaspar030/add_dev_eth
...
sys: net: introduce low-level ethernet driver API
2015-05-26 19:28:14 +02:00
haukepetersen
27c095ceb5
test/driver_nrfmin: fixed stacksize define
2015-05-26 19:10:29 +02:00
Martine Lenders
c29a4b474c
ng_slip: rename xbee_params_t to ng_slip_params_t
...
Fixed copy pasta
2015-05-26 18:59:40 +02:00
Hauke Petersen
569f28f6d9
Merge pull request #2711 from haukepetersen/ng_nrf51prop
...
cpu/nrf51822: added minimal radio driver implementation
2015-05-26 15:39:34 +02:00
6e302185d8
tests: dev_eth: add test application for dev_eth low-level ethernet interface
2015-05-26 15:37:55 +02:00
Martine Lenders
55a48f48cc
Merge pull request #3060 from Lotterleben/ng_netif_tests_rm_warn
...
unittests: rm warning for tests-ipv6_netif
2015-05-25 23:26:18 +02:00
Martine Lenders
4310ab37ba
Merge pull request #3048 from authmillenon/ipv6_netif/fix/get-best-src-mc
...
ipv6_netif: fix ng_ipv6_netif_find_best_src_addr() for multicast
2015-05-25 23:19:20 +02:00
Martine Lenders
6014853530
unittests: add unittests for getting multicast addresses
2015-05-25 22:48:36 +02:00
Martine Lenders
350b040d72
ng_netif: adapt ng_netif_get for holey lists
2015-05-25 22:02:44 +02:00
Martine Lenders
1992244e41
tests: add test application for slip
2015-05-23 13:19:17 +02:00
Lotte Steenbrink
486f8dd8e9
Merge pull request #3044 from Lotterleben/ipv6_ifs_no_duplicates
...
ng_ipv6_netif: no more duplicates if empty entries are found before
2015-05-23 02:12:49 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
Lucas Jenß
742c39e838
Merge pull request #2881 from x3ro/clarify-stacksize-constants
...
Clarify and unify naming of thread-related constants (stacksize and priority)
2015-05-21 16:55:30 +02:00
Lucas Jenss
426170b064
Improve naming of thread stacksize/priority constants
...
As discussed in #2725 , this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:
* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Oleg Hahm
8cb0e59283
Merge pull request #3030 from gebart/pr/tab-fixes2
...
Tab indentation fixes
2015-05-20 18:27:28 +02:00
Johann Fischer
b0e73b9a8c
Merge pull request #2983 from jfischer-phytec-iot/pr@kw2x-rf-autoinit
...
boards/pba-d-01-kw2x: add network interface auto init
2015-05-20 10:00:23 +02:00
Lotte Steenbrink
0afcb620bd
unittests: rm warning for tests-ipv6_netif
2015-05-19 10:15:58 -07:00
Joakim Gebart
e3d051518c
tests/pkg_micro-ecc: Replace tabs by spaces
2015-05-19 12:26:47 +02:00
Joakim Gebart
7b0ade0b75
tests/malloc: Replace tabs by spaces
2015-05-19 12:26:34 +02:00
Hauke Petersen
641adb4186
tests: added manual test for nrfmin radio driver
2015-05-19 10:02:57 +02:00
BytesGalore
369e7bbf43
Merge pull request #2540 from josephnoir/topic/cpp-stl-compatibility
...
Add replacement headers for std thread, mutex and condition_variable
2015-05-19 07:56:54 +02:00
Lotte Steenbrink
705019f3dc
unittests: add tests to ng_ipv6_netif_add concerning https://github.com/RIOT-OS/RIOT/issues/2965
2015-05-18 12:27:22 -07:00
Jonas
9b66477180
adapted new auto-init process to kw2xrf driver
...
added kw2xrf to auto-init
2015-05-18 17:12:44 +02:00
Jonas
bda9ef12d2
deleted depricated auto_init in kw2xrf_test app
2015-05-18 16:28:30 +02:00
Joseph Noir
bddaee751d
Add replacement headers for thread, mutex and cond
...
These headers do not provide full stl functionality,
but a small subset:
* thread and this_thread
* condition_variable (some timed functions are missing)
* mutex, lock_guard and unique_lock
2015-05-18 13:57:02 +02:00
a89b382297
drivers: xbee: adapt to new auto_init_ng_netif scheme
2015-05-17 21:02:00 +02:00
3c00ff0c9b
drivers: adapt ng_at86rf2xx to new auto_init_ng_netif scheme
2015-05-17 21:02:00 +02:00
Oleg Hahm
287aa4cdbf
Merge pull request #2992 from gebart/pr/pwm-return-value
...
periph_pwm: Return actual frequency (like the docs say)
2015-05-17 13:06:08 +02:00
Martine Lenders
5fe7b9a8d3
tests: adapt unittests
2015-05-16 15:03:17 +02:00
Joakim Gebart
616c272801
tests/periph_pwm: Handle pwm_init return value as actual frequency
2015-05-16 10:00:03 +02:00
Lotte Steenbrink
09a67e050d
ipv6_nc: no more duplicates if empty entries are found before
2015-05-14 08:27:15 -07:00
Oleg Hahm
4d64b98f2c
Merge pull request #2756 from jremmert-phytec-iot/pr@ng_kw2xrf
...
driver/kw2xrf: added ng_netdev implementation for the Freescale kw2x radio
2015-05-14 12:51:00 +02:00
Martine Lenders
343bec5593
ipv6_nc: Make interface optional
2015-05-14 04:21:41 +02:00
Jonas
3287e71d45
Initial import of tests for kw2x radio
...
squash: driver: fixed typo to pass doccheck
squash: driver: bug fixes after test
squash: adapted Makefiles for correct build behaviour
restructured, no spi interaction in isr anymore
major bugfixes and restructurization
comments addressed
introduce new netconf option, ..AUTOCCA
squash: minor bugfix and add auto-init mechanism
squash: minor fixes to make travis happy
2015-05-13 13:06:59 +02:00
Martine Lenders
d1c2f7f72b
Merge pull request #2908 from authmillenon/ipv6_nc/enh/opt
...
ipv6_nc: prepare for NDP
2015-05-13 11:05:39 +02:00
Oleg Hahm
21dc560a19
Merge pull request #2906 from LudwigOrtmann/pr/isl29125
...
ISL29125 driver import
2015-05-13 08:42:40 +02:00
Martine Lenders
fd48ccd5d4
unittests: add nrf51822 boards to BOARD_INSUFFICIENT_RAM
2015-05-12 20:06:09 +02:00
Martine Lenders
54c92c0424
unittests: adapt unittests for ipv6_nc API change
2015-05-12 20:06:09 +02:00
Martine Lenders
11e5fb3c9e
Merge pull request #2728 from authmillenon/ipv6_netif/enh/auto-link-local
...
ipv6_netif: auto-add corresponding link-local addresses
2015-05-12 19:08:14 +02:00
Ludwig Ortmann
fb6c75f6d8
tests/driver_isl29125: initial import
2015-05-12 07:23:41 +02:00
Joakim Gebart
e9c567107d
all: remove extra blank lines at the end
2015-05-09 09:10:08 +02:00
Joakim Gebart
6e6890ab45
tests/periph_dac/README.md: trailing whitespace and line lengths
2015-05-09 09:09:05 +02:00
Joakim Gebart
58524b7c21
tests/driver_nrf24l01p_lowlevel/README.md: trailing whitespace and line lengths
2015-05-09 09:08:06 +02:00
Peter Kietzmann
60c9899550
Merge pull request #2076 from BytesGalore/add_conflict_warning
...
RIOT/Makefile.include: added indicating of possibe conflicting features on compile
2015-05-08 15:23:32 +02:00
BytesGalore
f9a79eee41
RIOT/Makefile.include: added compile time warning on conflicting features
2015-05-07 21:05:08 +02:00
Joakim Gebart
25c2bdba84
atomic: Add unit tests for atomic counters
2015-05-07 18:52:13 +02:00
Joakim Gebart
0dded554a9
tests/driver_nvram_spi: Simple test application for nvram_spi
...
This is a simple test application for the nvram_spi driver for tests on
actual hardware.
2015-05-04 10:39:53 +02:00
Oleg Hahm
123979890e
Merge pull request #2879 from haukepetersen/add_driver_pcd8544
...
drivers: added driver for PCD8544 LCD display
2015-05-01 11:38:05 +02:00
haukepetersen
2187b5caa9
tests/driver_at86rf2xx: adjusted netif auto init
2015-04-30 15:08:49 +02:00
haukepetersen
8e0d4ab463
tests/driver_xbee: adjusted to interface auto_init
2015-04-30 15:08:49 +02:00
Hauke Petersen
46e2c5c968
tests: added test app for the PCD8544 LCD driver
2015-04-30 13:46:03 +02:00
Martine Lenders
4741a01e36
Merge pull request #2721 from authmillenon/ipv6_nc/feat/iterators
...
ipv6_nc: add iterators
2015-04-30 08:59:44 +02:00
Martine Lenders
bbf57d1691
unittests: add tests for iterators
2015-04-29 21:22:28 +02:00
Hauke Petersen
78c7527783
Merge pull request #2864 from kaspar030/fix_vtimer_msg_test
...
tests: vtimer_msg: get back vtimer_set_msg call
2015-04-28 20:21:05 +02:00
Hauke Petersen
4e121e1b17
tests: added test app for the at86rf2xx driver
2015-04-27 18:56:59 +02:00
Oleg Hahm
2d8021ac06
Merge pull request #2857 from authmillenon/ipv6_addr/enh/rename-hdr-check
...
ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly
2015-04-25 17:42:12 +02:00
e6c3528980
tests: vtimer_msg_diff: get back vtimer_set_msg call
2015-04-24 14:50:15 +02:00
5a21d68f70
tests: vtimer_msg: get back vtimer_set_msg call
2015-04-24 14:29:44 +02:00
Hauke Petersen
490192e88f
tests/driver_xbee: added output after init
2015-04-23 15:52:00 +02:00
Martine Lenders
3e9db4371f
ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly
2015-04-23 02:26:48 +02:00
Martine Lenders
9a842d0526
unittests: move netreg entries out of stack space
2015-04-21 11:35:09 +02:00
Peter Kietzmann
0d45479f02
Merge pull request #2819 from kushalsingh007/hash_string_missing
...
Tests : Add missing Makefile and Makefile.include for tests-hash_string
2015-04-21 10:25:02 +02:00
kushalsingh007
439b40c0b4
Tests : Add missing Makefile and Makefile.include for tests-hash_string
...
- Adds the missing files from #2793 .
2015-04-20 20:51:21 +05:30
Martine Lenders
8acc8c9ba3
unittests: fix and unify header guards
2015-04-20 14:16:09 +02:00
Martine Lenders
c660fdfdac
Merge pull request #2785 from authmillenon/ng_sixlowpan_ctx/feat/initial
...
ng_sixlowpan: initial import of a context buffer
2015-04-20 10:22:35 +02:00
Martine Lenders
79af989ef6
Merge pull request #2829 from authmillenon/ipv6_addr/fix/init-prefix
...
ipv6_addr: add missing mask to prefix initialization
2015-04-20 10:05:57 +02:00
Peter Kietzmann
d797b91a3c
Merge pull request #2828 from kushalsingh007/fix_errors
...
Tests: Fixing warnings in hash_string_module
2015-04-20 09:24:34 +02:00
kushalsingh007
2f9f67eb38
Tests: Fixing warnings in hash_string_module
...
- Fixing warnings caused due to directly using the string as argument in
the assert statement for hash_string function.
- Typecasted strings to solve the issue.
2015-04-19 19:00:58 +05:30
Martine Lenders
3a72e5346b
unittests: add tests for ng_sixlowpan_ctx
2015-04-18 15:42:42 +02:00
Martine Lenders
0670f7daea
unittests: make ipv6_addr more sensible to masking errors
2015-04-18 15:40:02 +02:00
René Kijewski
2fd7f77e25
tests: remove disable_module
...
This test is included in almost all other tests. Testing the make system
this way is kinda nonsensical.
2015-04-16 18:14:13 +02:00
René Kijewski
f7e72918a2
tests: remove ipc_pingpong
...
This test does not test anything.
2015-04-16 18:14:13 +02:00
René Kijewski
ecf01e521e
tests: delete queue_fairness
...
The test fails because it assumes the `msg_*` functions to yield, which
is unrelated to fairness.
2015-04-16 18:14:13 +02:00
Martine Lenders
f58eac2188
Merge pull request #2807 from authmillenon/ipv6_addr/fix/prefix-init
...
ipv6_addr: do not null remaining bits in prefix initialization
2015-04-16 18:06:21 +02:00
Peter Kietzmann
cc964ebf87
Merge pull request #2821 from kushalsingh007/new_line_error
...
Tests: Removing extra newline from Makefile.include
2015-04-16 17:09:31 +02:00
kushalsingh007
88349beb89
Tests: Removing extra newline from Makefile.include
...
- Removing the extra newline from tests-bloom, tests-crypto and
tests-timex.
2015-04-16 09:50:03 +05:30
PeterKietzmann
a3c2035834
tests/periph_gpio_exti: extend test to 32 GPIOs
2015-04-14 11:50:44 +02:00
Martine Lenders
ccd4b5a2bf
unittests: adapt unittests for ipv6_addr_init_prefix() change
2015-04-14 11:17:11 +02:00
Martine Lenders
1af6126000
Merge pull request #2793 from kushalsingh007/hash_string
...
Tests: Creating unittests for the hash_string module
2015-04-13 16:32:03 +02:00
PeterKietzmann
9e17d1b9fd
doc/drivers/srf: edit author and copyright
2015-04-13 13:07:56 +02:00
kushalsingh007
b16decdec2
Tests: Creating unittests for the hash_string module
...
-Created unittests for hash_string module present in sys/hash_string
2015-04-13 09:59:06 +05:30
Martine Lenders
d47cd80945
Merge pull request #2779 from kaspar030/fix_ipv6_addr_string_max_length
...
sys: net: ipv6: fix max ipv6 address string length
2015-04-11 19:26:01 +02:00
23074c7870
unittests: tests-ipv6_addr: test for long embedded ipv4 addresses
2015-04-11 11:21:47 +02:00
Martine Lenders
c94094529d
Merge pull request #2731 from authmillenon/ipv6_hdr/feat/initial
...
ipv6_hdr: Initial import
2015-04-10 07:35:41 +02:00
Martine Lenders
687947d3db
Merge pull request #2730 from authmillenon/inet_csum/feat/initial
...
inet_csum: initial import of Internet Checksum module
2015-04-10 07:24:58 +02:00
Martine Lenders
2dd24edcf8
ipv6_netif: auto-add corresponding link-local addresses
2015-04-10 01:29:33 +02:00
Martine Lenders
7a3c373038
unittests: add tests for ipv6_hdr
2015-04-10 00:41:56 +02:00
Martine Lenders
5d1ae12e8d
unittests: add tests for inet_csum
2015-04-09 23:30:02 +02:00
Lotte Steenbrink
40acfa732b
Merge pull request #2705 from authmillenon/netif/feat/addr-str
...
netif: add functions to parse and output hardware addresses
2015-04-02 01:04:33 +02:00
Martine Lenders
882bcbe92e
netif: add functions to parse and output hardware addresses
2015-04-01 16:24:19 +02:00
BytesGalore
30c76adc43
net: added a core implementation of a FIB
2015-04-01 10:24:35 +02:00
Martine Lenders
476dd297bd
Merge pull request #2719 from haukepetersen/ng_opt_pktdump
...
net/ng_pktdump: manage stack internal and use msg queue
2015-03-30 02:43:43 +02:00
Martine Lenders
7273d5c9ad
Merge pull request #2723 from authmillenon/ipv6_netif/feat/prefix-list
...
ipv6_netif: add prefix list to interface
2015-03-30 00:31:37 +02:00
Martine Lenders
3b42fae668
Merge pull request #2602 from kushalsingh007/shell-return
...
Return-based error-handling for shell handlers
2015-03-29 18:29:58 +02:00
Peter Kietzmann
096cfd8323
Merge pull request #2694 from altairpearl/master
...
tests: Updated include guards to remove leading underscores
2015-03-29 17:07:45 +02:00
Hauke Petersen
3f5a3cf0bc
tests/driver_xbee: adjusted to pktdump changes
2015-03-28 13:47:03 +01:00
Martine Lenders
d90842151b
unittests: adapt for prefix list in ipv6_netif
2015-03-27 20:39:58 +01:00
kushalsingh007
9aae656be9
shell: Return-based error-handling for shell handlers
...
- Included the missing parts.
- Squashed with @authmillenon's commit
2015-03-25 23:54:04 +05:30
altairpearl
20123210d7
tests: Updated include guards to remove leading underscores
2015-03-25 20:45:17 +05:30
Hauke Petersen
391c7229c9
tests: added manual test for xbee driver
2015-03-24 23:19:29 +01:00
Hauke Petersen
5f77bbe1c8
Merge pull request #2563 from authmillenon/ng_pktbuf/fix/semantics
...
ng_pktbuf: change semantics for received packets
2015-03-24 16:49:49 +01:00
Martine Lenders
9ada601212
unittests: fix unittests for new pktbuf behavior
2015-03-23 23:17:17 +01:00
Martine Lenders
21204dc3eb
ng_pktbuf: change semantics for received packets
2015-03-23 15:08:46 +01:00
Martine Lenders
df8cadf0b3
Merge pull request #2681 from Darredevil/patch-9
...
unittests/tests-pkt: fixed header file include guard
2015-03-22 16:23:36 +01:00
Martine Lenders
cd34fb92ad
Merge pull request #2680 from Darredevil/patch-8
...
unittests/tests-netreg: fixed header file include guard
2015-03-22 16:23:18 +01:00
Martine Lenders
92edaefc77
Merge pull request #2679 from Darredevil/patch-7
...
unittests/tests-netif: fixed header file include guard
2015-03-22 16:23:01 +01:00
Martine Lenders
5551a1beee
Merge pull request #2678 from Darredevil/patch-6
...
unittests/tests-netdev_dummy: fixed header file include guard
2015-03-22 16:22:36 +01:00
Martine Lenders
1df1ecc6cb
Merge pull request #2677 from Darredevil/patch-5
...
unittests/tests-crypto: fixed header file include guard
2015-03-22 16:22:24 +01:00
Martine Lenders
a6c72e9980
Merge pull request #2676 from Darredevil/patch-3
...
unittests/tests-base64: fixed header file include guard
2015-03-22 16:22:12 +01:00
Martine Lenders
6d253ee9a0
Merge pull request #2684 from Darredevil/patch-12
...
unittests/tests-timex: fixed header file include guard
2015-03-22 16:21:48 +01:00
Martine Lenders
a9e6c0fb73
Merge pull request #2683 from Darredevil/patch-11
...
unittests/tests-pktqueue: fixed header file include guard
2015-03-22 16:21:39 +01:00
Martine Lenders
f8737c05d0
Merge pull request #2682 from Darredevil/patch-10
...
unittests/tests-pktbuf: fixed header file include guard
2015-03-22 16:21:21 +01:00
Darredevil
a8051f51bb
unittests/tests-timex: fixed header file include guard
...
fixes #2623
2015-03-22 16:42:49 +02:00
Darredevil
4ce7497cbb
unittests/tests-pktqueue: fixed header file include guard
...
fixes #2623
2015-03-22 16:41:42 +02:00
Darredevil
7c97136699
unittests/tests-pktbuf: fixed header file include guard
...
fixes #2623
2015-03-22 16:40:33 +02:00
Darredevil
febf0c1b08
unittests/tests-pkt: fixed header file include guard
...
fixes #2623
2015-03-22 16:39:10 +02:00
Darredevil
130a861fbc
unittests/tests-netreg: fixed header file include guard
...
fixes #2623
2015-03-22 16:37:04 +02:00
Darredevil
138f25811c
unittests/tests-netif: fixed header file include guard
...
fixes #2623
2015-03-22 16:33:36 +02:00
Darredevil
b976f55022
unittests/tests-netdev_dummy: fixed header file include guard
...
fixes #2623
2015-03-22 16:31:46 +02:00
Darredevil
ce46de3799
unittests/tests-crypto: fixed header file include guard
...
fixes #2623
2015-03-22 16:29:20 +02:00
Darredevil
734d251040
unittests/tests-base64: fixed header file include guard
...
fixes #2623
2015-03-22 16:25:42 +02:00
Darredevil
49c2f5c597
unittests/netdev_dummy: fixed header file include guard
...
fixed #2623
2015-03-22 16:23:06 +02:00
Philipp Rosenkranz
d5848d687c
Merge pull request #2663 from phiros/unittests_constants_fix
...
unittests: move test data to common header
2015-03-22 14:48:07 +01:00
Philipp Rosenkranz
d53c7759e9
unittests: move test data to common header
2015-03-22 13:58:36 +01:00
Darredevil
9ca393f63b
Repair header file include guards #2623
2015-03-22 04:04:36 +02:00
Martine Lenders
6a31fa80a7
Merge pull request #2568 from authmillenon/ng_netreg/feat/allow_nettype_undef
...
ng_netreg: Allow registration of NG_NETTYPE_UNDEF
2015-03-20 17:06:37 +01:00
Martine Lenders
fe5f8cc632
unittests: adapt unittests to netreg change
2015-03-20 11:00:32 +01:00
Peter Kietzmann
a6240e70ea
Merge pull request #2388 from gebart/pr/ina220-initial
...
drivers: Add driver for TI's INA220 current and power monitor
2015-03-20 08:06:10 +01:00
Oleg Hahm
52017a967a
Merge pull request #2545 from kushalsingh007/refactor_vtimer_set_msg
...
Changing return type of vtimer_set_msg
2015-03-19 17:24:40 +01:00
Joakim Gebart
5ea9eaf386
drivers/ina220: Add driver for INA220 current and power sensor.
2015-03-19 17:22:22 +01:00
Martine Lenders
09867e3f39
unittests: add spark-core to BOARD_INSUFFICIENT_RAM
2015-03-19 15:13:19 +01:00
Martine Lenders
5d3ad83cab
unittests: add tests for ipv6_netif
2015-03-19 15:13:19 +01:00
kushalsingh007
1dc6c3581f
vtimer: changing return type of several functions to void
...
- Changed the return type for vtimer_init,vtimer_set_msg and vtimer_remove.
- Current return value is not used anywhere and has no meaning attached to it.
- Fix for #1533
- Removed tests which checked for vtimer_set_msg being set.
- Done doxygen adaption for corresponding vtimer functions.
2015-03-19 03:56:00 +05:30
Martine Lenders
c3e9a931ff
unittests: check return value of ng_netif_get()
2015-03-16 16:25:25 +01:00
Martine Lenders
2909c87329
unittests: add test for correct returned netif array
2015-03-16 16:25:25 +01:00
Martine Lenders
e740c6fb09
unittests: add unittests for neighbor cache
2015-03-13 20:42:54 +01:00
Oleg Hahm
0144bb589b
Merge pull request #2546 from authmillenon/ng_ipv6_addr/api/add_string_functions
...
[RFC] ng_ipv6_addr: add (optional) string conversion functions
2015-03-13 13:41:37 +01:00
Martine Lenders
b63d610451
unittests: add IPv6 string conversion function tests
2015-03-12 21:06:43 +01:00
Hauke Petersen
4bebf3b01a
net/nomac: removed legacy implementation
2015-03-12 13:55:24 +01:00
Martine Lenders
904b363b77
unittests: remove unnecessary MODULE macro definition
2015-03-04 18:07:03 +01:00
Lotte Steenbrink
1793eb7ec8
Merge pull request #2450 from authmillenon/netreg/api/pointer-based
...
RFC: netreg: move to pointer-based API
2015-03-04 15:33:15 +01:00
Martine Lenders
ec5f686cd0
netreg: move to pointer-based API
...
Moving to a pointer-based API simplifies a lot, since there is no need
for an internal pool of entries anymore. Therefore, a lot of
organizational overhead and some restrictions (e.g. an upper limit on
entries) are dropped.
The entries can be stored in the stack of the respective thread.
2015-03-04 13:17:00 +01:00
Joakim Gebart
6a4c61534c
tests/lis3dh: Fix SPI_CONF #define
2015-03-04 08:51:41 +01:00
Joseph Noir
f614d4b186
Merge pull request #1222 from BytesGalore/add_pthread_simple_tls
...
Everything seems to work, so here we go: sys:posix:pthread added dynamic pthread thread local storage
2015-03-03 22:38:27 +01:00
Martine Lenders
dad4e8d5df
Merge pull request #2433 from authmillenon/ng_ipv6_addr/feat/initial
...
ng_ipv6_addr: initial import
2015-02-20 19:27:17 +01:00
Oleg Hahm
10b96f06a3
doc: import unittest documentation from wiki
2015-02-20 17:52:26 +01:00
Martine Lenders
ff36abb2cf
ng_ipv6_addr: initial import
...
The motivation behind this module is to allow for address handling
functions where they, but not the full IPv6 functionality might be
needed. This new version of the IPv6 address data type utilizes the
byteorder.h header to enforce network byte-order on its members.
2015-02-20 17:40:26 +01:00
Ludwig Ortmann
4f29a7757e
Merge pull request #2285 from authmillenon/pktbuf/api/use-pkt
...
pktbuf: port to use pkt_t instead of void*
2015-02-19 14:46:15 +01:00
Martine Lenders
41f60aca4c
pktbuf: port to use ng_ version
2015-02-19 13:51:27 +01:00
Ludwig Ortmann
cec87139a5
core, cpu, drivers, tests: remove trailing space
2015-02-18 13:52:48 +01:00
Fabian Nack
bb6f7926fc
tests: Add test for MPU-9150 9-Axis motion sensor driver
2015-02-13 10:09:16 +01:00
Martine Lenders
cd711ea934
unittests: add ng_netreg tests
2015-02-12 16:13:38 +01:00
Martine Lenders
b208371163
Merge pull request #2417 from authmillenon/netif/feat/initial
...
netif: Initial import of ng_* version
2015-02-11 12:41:54 +01:00
Martine Lenders
cfc64ff4de
Merge pull request #2342 from authmillenon/pkt/api/simplify
...
pkt: simplify API
2015-02-11 12:41:43 +01:00
Martine Lenders
cb74094edd
pktqueue: adapt to change in pkt.h
2015-02-11 11:01:33 +01:00
Martine Lenders
7317097db2
pkt: simplify API
2015-02-11 11:01:33 +01:00
Martine Lenders
894cd964f9
netif: Initial import of ng_* version
2015-02-11 10:52:51 +01:00
Ludwig Ortmann
373f91c6ff
tests/unittests: remove useless doxygen stub
2015-02-10 15:43:35 +01:00
Ludwig Ortmann
dd2da2fb71
Merge pull request #2405 from cgundogan/restrict_with_leading_underscores
...
Use `__restrict` instead of `restrict`
2015-02-08 22:07:23 +01:00
Martine Lenders
498313a23f
doc: Add mail address where it is missing
2015-02-08 19:41:14 +01:00
Cenk Gündoğan
50112af413
tests: restrict => __restrict
2015-02-08 19:22:29 +01:00
Martine Lenders
0eb2d78dda
doc: use my real name
2015-02-08 18:52:16 +01:00
Christian Mehlis
08aa333193
Merge pull request #2403 from haukepetersen/opt_nrf_stacksize
...
cpu/nrf51822: raised default stack size
2015-02-08 16:18:36 +01:00
Ludwig Ortmann
031bed01d3
Merge pull request #2236 from d00616/new_micro-ecc
...
New package for ECDH and ECDSA
2015-02-08 16:17:05 +01:00
Frank Holtz
f3e1922f9d
pkg_micro-ecc: Eliptic curve cryptography from https://github.com/kmackay/micro-ecc
2015-02-07 21:08:06 +01:00
Hauke Petersen
a5e80fbcf8
tests/pthread_rwlock: blacklisted airfy-beacon
2015-02-07 16:33:09 +01:00
Cenk Gündoğan
5c77530da4
sys/bloom: changed doc from bytes -> bits
2015-01-29 15:06:01 +01:00
Thomas Eichinger
991fbd3dc1
Merge pull request #2369 from thomaseichinger/nucleo-f334-fix
...
board/nucleo-f334: blacklist board in failing tests and fix CPU_USAGE
2015-01-28 12:43:34 +01:00
Thomas Eichinger
b0d1ca2d31
tests: blacklist nucleo-f334 in tests not fitting into RAM
2015-01-28 11:20:44 +01:00
Johann Fischer
b540def4b1
drivers/hdc1000: Acquire exclusive access to I2C bus and minor bug fixes
...
fix doxygen warnings
change default address
2015-01-28 10:26:02 +01:00
Martin Landsmann
6e90ad6d73
sys/posix/pthread: added dynamic pthread thread local storage
2015-01-27 23:04:12 +01:00
Joakim Gebart
ba6053e448
tests/nativenet: reduce scope of globals in main.c
2015-01-23 14:05:54 +01:00
Peter Kietzmann
647d0aef5f
Merge pull request #2330 from PeterKietzmann/fix_nrf24l01p_driver
...
drivers/nrf24l01p: fixes
2015-01-21 12:10:01 +01:00
PeterKietzmann
7aaa99221d
tests/driver_nrf24l01p_lowlevel: adapt doc.
2015-01-21 10:28:46 +01:00
PeterKietzmann
a3031ec04e
tests/driver_nrf24l01p_lowlevel:improve by checking for errors
2015-01-21 10:24:55 +01:00
Joakim Gebart
ca56de8251
lis3dh: New device driver for LIS3DH accelerometer sensors.
...
LIS3DH MEMS digital output motion sensor ultra low-power high
performance 3-axes "nano" accelerometer
Manufacturer website:
http://www.st.com/web/catalog/sense_power/FM89/SC444/PF250725
Data sheet:
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00274221.pdf
tests/driver_lis3dh is a simple test application for testing on actual
hardware.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-20 14:53:27 +01:00
Joakim Gebart
dfb0d58cfb
tests/periph_spi: Lock bus for exclusive access when communicating.
2015-01-19 19:05:40 +01:00
Martine Lenders
cfed38ae12
Merge pull request #2287 from authmillenon/pktqueue/api/use-pkt
...
pktqueue: adapt to pkt_t
2015-01-16 19:48:04 +01:00
PeterKietzmann
c917e6d374
tests/periph_spi: correct test application
2015-01-16 11:15:42 +01:00
Martine Lenders
c9e2f5bdce
pktqueue: adapt to pkt_t
2015-01-14 14:53:37 +01:00
Oleg Hahm
2d874af904
Merge pull request #2158 from authmillenon/pkt/feat/initial-import
...
pkt: Initial import
2015-01-14 08:20:46 +01:00
Martine Lenders
62544e6923
tests, pkt: add unittests for pkt
2015-01-14 07:04:57 +01:00
Martine Lenders
0221c27d4b
unittests: provide unittests for basic_mac
2015-01-14 06:59:59 +01:00
BytesGalore
024cf7cc49
tests/pnet: renamed PORT
define as it collides with the samd21-xpro definition
2015-01-13 11:46:16 +01:00
Oleg Hahm
4a615e21ef
Merge pull request #1717 from BytesGalore/base64_encoder_decoder
...
base64 encoding/decoding module
2015-01-12 16:39:08 +01:00
Martin Landsmann
a0898dbb9f
sys: add base64 encoding/decoding module
...
- suppressed cppcheck warning for `unassignedVariable` for
the encode/decode arrays in stream encode/decode tests
as these arrays are assigned by the according `base64_[en|de]code()` function.
2015-01-12 11:26:41 +01:00
Johann Fischer
822a0503c5
add test app for mag3110 magnetometer driver
2015-01-09 11:11:01 +01:00
Johann Fischer
4099e89e1d
add test app for mma8652 accelerometer driver
2015-01-08 11:44:39 +01:00
Peter Kietzmann
2fb2f499f9
Merge pull request #2123 from jfischer-phytec-iot/pr@mpl3115a2
...
Driver for Freescale MPL3115A2 Pressure/Altitude Sensor
2015-01-07 23:28:57 +01:00
Johann Fischer
2be440b55c
add test app for tmp006 sensor
2015-01-07 13:53:23 +01:00
Johann Fischer
fb71721002
add test app for mpl3115a2 sensor driver
2015-01-07 13:03:32 +01:00
René Kijewski
f684aa4b2d
tests: make embUnit a normal sys module
...
There is nothing quite special about embUnit.
This PR makes it a normal sys module, so that you can use it in any
application / test.
2014-12-21 20:04:57 +01:00
Martine Lenders
c991f3dcec
tests: remove do-while(0) blocks for netdev tests or comment on them
2014-12-19 08:19:56 +01:00
PeterKietzmann
46fdcf64c1
drivers/srf08: initial import of the updated ultrasonic driver
2014-12-17 15:37:25 +01:00
Ludwig Ortmann
a7f7d7e516
Revert "tests: don't build test/libfixmath on Travis CI"
...
This reverts commit f061d0214e
.
2014-12-17 09:47:43 +01:00
Martine Lenders
17ef92eade
Merge pull request #2181 from phiros/tests_sha256_transform_into_unittest
...
tests: transformed tests/sha256 into a unittest
2014-12-12 16:29:16 +01:00
Philipp Rosenkranz
f5d941ac22
tests: transformed tests/bloom into an unittest
2014-12-11 22:56:40 +01:00
Philipp Rosenkranz
1024e0b8be
tests: transformed tests/sha256 into an unittest
2014-12-11 21:57:01 +01:00
Ludwig Ortmann
122d488a42
Merge pull request #2165 from haukepetersen/fix_test_uart
...
test/periph_uart_xx: switched to feature based whitelisting
2014-12-09 14:44:15 +01:00
Ludwig Ortmann
e850078769
Merge pull request #2162 from cgundogan/vtimer_set_msg_param_type
...
vtimer: set custom msg_t.type with vtimer_set_msg
2014-12-09 11:12:52 +01:00
Cenk Gündoğan
6ee5e737f9
vtimer: set custom msg_t.type with vtimer_set_msg
...
Currently, when using vtimer_set_msg the corresponding msg_t is filled
with the MSG_TIMER ("12345") type.
This approach makes it difficult to differentiate between incoming
messages via vtimer_set_msg.
In this PR I introduce another parameter for the vtimer_set_msg
function to specify a custom msg_t type.
2014-12-09 10:07:26 +01:00
Hauke Petersen
e859d74ea4
tests: fixed blacklisting for UART tests
...
changed from explicit blacklisting to feature based approach
2014-12-08 18:08:49 +01:00
Hauke Petersen
934f7b6b33
Merge pull request #2161 from haukepetersen/fix_test_nrf24
...
test/driver_nrf24l01p: changed default GPIOs
2014-12-08 16:16:37 +01:00
Hauke Petersen
ec62cbf7ac
test/driver_nrf24l01p: changed default GPIOs
...
not all boards have GPIO_x > GPIO_7, so the new values are
safer to use.
2014-12-08 15:41:54 +01:00
Philipp Rosenkranz
536c910980
Merge pull request #2157 from LudwigOrtmann/unittests-lib
...
tests/unittests: merge lib-ringbuffer into core
2014-12-08 15:36:41 +01:00
Ludwig Ortmann
0027f90be4
Merge pull request #2118 from OlegHahm/simplify_cpu_folder_structure
...
cpu: simplify folder structure
2014-12-08 13:10:13 +01:00
Ludwig Ortmann
4feec9243f
tests/unittests: merge lib-ringbuffer into core
...
Fixup for https://github.com/RIOT-OS/RIOT/pull/2017
2014-12-08 10:15:48 +01:00
René Kijewski
6b559faf88
tests: add UBJSON unittests
2014-12-03 20:42:51 +01:00
Ludwig Ortmann
e6c808d5fa
Merge pull request #1970 from Kijewski/optimize-cib
...
core: inline `cib.c`
2014-12-03 17:12:48 +01:00
PeterKietzmann
91c5620a84
Initial import of a DAC test application
2014-12-03 08:38:05 +01:00
Oleg Hahm
0c967c4d3f
cpu: msp430: renamed msp430x16x to msp430fxyz
2014-12-02 17:46:57 +01:00
Fabian Nack
eebfd5011a
drivers - cc110x: Initial import of new cc110x driver
2014-12-01 17:14:02 +01:00
Ludwig Ortmann
6b95159632
tests/hwtimer_spin: revert behavior, fix doc
2014-11-28 16:23:24 +01:00
Ludwig Ortmann
ac8f51cb52
tests/hwtimer_wait: test smallest value possible
...
By selecting the start value as a multiple of HWTIMER_SPIN_BARRIER+1, the
test now includes the smallest non-spinning value.
2014-11-28 13:48:25 +01:00
Oleg Hahm
565d70cab3
Merge pull request #2094 from OlegHahm/fix_bitarithm
...
core: Fix bitarithm and unittests
2014-11-27 13:02:44 +01:00
Hauke Petersen
b7b03aced7
test/hwtimer_spin: test slightly wider range
...
test is now also testing for values slightly above SPIN_BARRIER
2014-11-26 18:54:07 +01:00
Oleg Hahm
3cf43db63e
unittests: test full 16 bit range for bitarithm
...
Also uses a better pseudo random number.
2014-11-26 16:52:51 +01:00
PeterKietzmann
d8a26d5aa6
Initial import of nrf24l01p lowlevel functions
2014-11-26 13:50:29 +01:00
Ludwig Ortmann
685acd8a54
Merge pull request #2070 from jfischer-phytec-iot/wip@hdc1000
...
Sensor Driver for HDC1000
2014-11-26 10:32:17 +01:00
Martine Lenders
21adda9370
[SQUASH ME] pktqueue: fix unittests
2014-11-25 21:52:28 +01:00
Ludwig Ortmann
8ef2257796
test/coap: update blacklist for features
...
Boards that don't have a transceiver are automatically filtered out already.
2014-11-24 16:07:09 +01:00
Johann F
5b1a519875
add test app for hdc1000 sensor
2014-11-24 13:15:58 +01:00
René Kijewski
89ab9f720f
Merge pull request #2066 from N8Fear/lint
...
lint: tests: fix improper use of format specifiers
2014-11-21 15:42:17 +01:00
Hinnerk van Bruinehsen
12d0c5bbf2
lint: tests: fix improper use of format specifiers
2014-11-21 15:25:56 +01:00
Martine Lenders
03654d74ef
Merge pull request #2027 from authmillenon/netdev-proto
...
netdev: Add protocol field to netdev_hlist_t struct + cppcheck suppressions
2014-11-21 14:44:16 +01:00
René Kijewski
09b274fef7
tests: fix tests/posix_semaphore
2014-11-21 14:33:28 +01:00
Thomas Eichinger
e7ae2f6bfb
tests: define random default GPIOs to pass Travis builds
2014-11-21 13:26:41 +01:00
Martine Lenders
8ee3edcb13
netdev: Add protocol to header list nodes
2014-11-21 12:37:48 +01:00
PeterKietzmann
f207b114e4
Initial import of the updated srf02 driver with general i2c interface
2014-11-21 09:21:27 +01:00
Ludwig Ortmann
6eaaac6372
Merge pull request #2041 from LudwigOrtmann/native-random
...
native: peripheral random interface
2014-11-19 06:25:39 -08:00
Ludwig Ortmann
3d9003f18a
tests/periph_random: fix warnings, conventions
2014-11-19 14:26:58 +01:00
9ce0b676b4
core: sys: move ringbuffer to core
2014-11-19 14:18:39 +01:00
René Kijewski
f23771c6fe
tests: extend cib unittest
2014-11-11 17:39:40 +01:00
René Kijewski
08810d605b
embunit: fix macros
2014-11-10 20:50:50 +01:00
Martine Lenders
1138360a14
unittests: make test macros save for strict aliasing
2014-11-08 19:13:23 +01:00
Martine Lenders
f6795b461c
unittests: Add missing semicolons to macro calls
2014-11-08 13:45:11 +01:00
Hauke Petersen
71568466b5
Merge pull request #1826 from PeterKietzmann/extend_test_periph_spi
...
tests/periph_spi: print rx-buffer on slave
2014-11-06 16:47:12 +01:00
Hauke Petersen
1a9e19cc6c
tests/periph_adc: added test for adc driver
2014-11-06 15:19:36 +01:00
Hauke Petersen
d484255bf7
tests: added test for L3G4200 device driver
2014-11-06 10:36:41 +01:00
56924f28a8
Merge pull request #1944 from authmillenon/msg_send_receive-test
...
tests: Add automatic test for msg_send_receive
2014-11-05 14:49:07 +01:00
Martine Lenders
30c7f37e68
tests: Add automatic test for msg_send_receive
2014-11-05 14:45:25 +01:00
Hauke Petersen
900e01bc26
Merge pull request #1912 from thomaseichinger/lsm303dlhc
...
lsm303dlhc: initial import of lsm303dlhc driver
2014-11-05 14:16:13 +01:00
benpicco
cedc588d77
Merge pull request #1782 from benpicco/fix_malloc
...
check if the requested memory is really available in _sbrk_r
2014-11-05 13:21:40 +01:00
Thomas Eichinger
88fce936e9
lsm303dlhc: initial import of lsm303dlhc driver
...
TODO: Accelerometer does not return valid values yet
2014-11-05 13:04:47 +01:00
Benjamin Valentin
39d73d753c
resurrect malloc test
2014-11-05 12:11:24 +01:00
Christian Mehlis
2114a8267d
added board airfy beacon
2014-11-02 18:26:42 +01:00
Christian Mehlis
f3b1753ac7
added spark core board
2014-11-02 14:36:42 +01:00
Hauke Petersen
7d8e9def20
tests/periph_uart_int: fixed formatting
2014-10-30 21:51:31 +01:00
Thomas Eichinger
44dcd0e631
Merge pull request #1817 from haukepetersen/add_driver_lps331ap
...
drivers: added driver for LPS331AP pressure sensor
2014-10-30 21:05:50 +01:00
Martine Lenders
3bfbc60a48
Merge pull request #1731 from authmillenon/netdev-test-dummy
...
netdev: Provide test network device with netdev interface
2014-10-30 20:37:37 +01:00
Martine Lenders
0de78831f9
unittests: Provide unittests for net_dev_dummy
...
* tests if net_dev_dummy is correct and if driver part of net_dev is
correct
2014-10-30 20:37:21 +01:00
Martine Lenders
cf3fdaabb6
unittests: add test network device
...
The reasoning behind this commit is twofold:
1. test the "lower" part (the device part) of netdev
2. provide a well defined testing infrastructure for modules that utilise
netdev
The actual tests that represent 1. are provided in the following commit
2014-10-30 20:37:20 +01:00
Hauke Petersen
f06eeeaaef
tests: added test for LPS331AP sensor driver
2014-10-30 20:24:51 +01:00
Oleg Hahm
9a61d8cf1c
core: move optional tcb members to DEVELHELP
2014-10-30 16:37:10 +01:00
Hauke Petersen
d3f207c8be
tests: added test for MQ-3 alcohol sensor driver
2014-10-30 14:05:34 +01:00
PeterKietzmann
7aec98c57d
Added a function for the slave to print received data.
2014-10-24 15:43:01 +02:00
René Kijewski
677d690e2b
core: introduce thread_yield_higher(), yield less
...
Fixes #1708 .
Currently involuntary preemption causes the current thread not only to
yield for a higher prioritized thread, but all other threads of its own
priority class, too.
This PR adds the function `thread_yield_higher()`, which will yield the
current thread in favor of higher prioritized functions, but not for
threads of its own priority class.
Boards now need to implement `thread_yield_higher()` instead of
`thread_yield()`, but `COREIF_NG` boards are not affected in any way.
`thread_yield()` retains its old meaning: yield for every thread that
has the same or a higher priority.
This PR does not touch the occurrences of `thread_yield()` in the periph
drivers, because the author of this PR did not look into the logic of
the various driver implementations.
2014-10-24 00:09:56 +02:00
5146c66786
core: adapt to msg_try_send
2014-10-22 12:37:33 +02:00
Oleg Hahm
94824026cd
tests: use correct PID for main thread
...
Since PIDs are not beginning at 0 any more, this test was failing.
2014-10-17 23:17:02 +02:00
BytesGalore
6dc157208a
c++: tests: add extern "C"
in header files, i.e. only present in ./unittests
2014-10-17 13:58:10 +02:00
Ludwig Ortmann
801928df4d
tests/periph_cpuid: let test fail w/o CPUID_ID_LEN
2014-10-16 19:35:47 +02:00
Ludwig Ortmann
a20e287a96
make: introduce and use periph_cpuid feature
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
b9d17e38f3
tests/periph_rtt: let build fail w/o RTT
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
4cafe7c5a9
make: introduce and use periph_rtt feature
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
d9dd5b1913
tests/periph_random: let build fail w/o RANDOM
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
3b52057fe5
make: introduce and use periph_random feature
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
95884c1a30
tests/periph_pwm: let build fail w/o PWM
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
b3ecfd0a6e
make: introduce and use periph_pwm feature
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
2cb8ea672a
tests/periph_gpio_exti: let build fail w/o GPIO
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
7cea2f536e
tests/periph_gpio: let build fail without GPIO
2014-10-16 19:02:18 +02:00
Martine Lenders
a569f2b92c
net: Initial import of a global packet buffer
2014-10-16 11:52:30 +02:00
Hauke Petersen
8409cb04c0
tests: added test for ISL29020 light sensor driver
2014-10-15 14:54:07 +02:00
Hauke Petersen
4ef34af9b8
tests: added i2c driver test
2014-10-15 14:50:19 +02:00
Ludwig Ortmann
92079312e2
make: introduce and use periph_spi feature
2014-10-13 18:18:19 +02:00
Ludwig Ortmann
1e73bbb961
tests/periph_spi: let build fail without SPI
2014-10-13 18:16:57 +02:00
Martine Lenders
36f8e3c5c3
Merge pull request #1640 from authmillenon/packetqueue
...
net: Initial import of a packet wrapper for priority_queue
2014-10-10 23:12:28 +02:00
Martine Lenders
e7e62cffdb
net: Initial import of a packet wrapper for priority_queue
2014-10-10 23:11:50 +02:00
Martine Lenders
42f96b0d60
Merge pull request #1699 from Kijewski/issue-1586
...
core: Provide functions for different byte orders
2014-10-10 07:38:57 +02:00
Martine Lenders
bf21a9eb0b
netdev.tests: Remove unneccessary #ifndef path
2014-10-09 09:40:58 +02:00
Martine Lenders
e93faa289b
netdev.tests: Kill processes properly
2014-10-08 11:12:59 +02:00
Martine Lenders
37678505a9
netdev.tests: Add fixes for environment variables
...
+ minor include fix
2014-10-08 09:48:04 +02:00
Oleg Hahm
9cf21545fa
make: fix dependencies
...
uart0 depends on POSIX, not the other way around.
2014-10-07 12:14:14 +02:00
Ludwig Ortmann
9e15a34a81
tests/driver_pir: set default GPIO
2014-10-06 18:55:54 +02:00
Ludwig Ortmann
6262c4427e
make: add gpio feature
2014-10-06 18:55:54 +02:00
René Kijewski
f49bd3e660
make: add Makefile.features telling the BOARDs' features
...
Please see #1715 .
Closes #1715 .
This PR implements the new Makefile variables "FEATURES_PROVIDED" and
"FEATURES_REQUIRED". A board *can* have a new file `Makefile.features`
which looks like:
```make
FEATURES_PROVIDED = transceiver
```
An application can have a corresponding line
```make
FEATURES_REQUIRED = transceiver
```
If the selected BOARD does not fulfil the requirements of the
application, then a *warning* is issued at compile time.
This change only includes the feature "transceiver", further features
are expected to be listed in further PRs. The requirement "transceiver"
is automatically added if the application uses the module
"defaulttransceiver".
`make buildtest` understands the new feature listing, so the user won't
need to add boards to `BOARD_BLACKLIST` manually.
Part of the change are the added Make targets
* `info-features-missing`, which prints the required features
`\setminus` the provided features. The output is empty if there are no
features missing.
* `info-boards-features-missing`, the same as `info-features-missing`
but as a table for all boards, but heeded `BOARD_WHITELIST` and
`BOARD_BLACKLIST`.
Applications don't have to use this new feature. This change does not
break existing Makefile.
2014-10-06 17:42:11 +02:00
Martine Lenders
0afc3ac6f1
tests: fix netdev test
2014-10-02 13:14:31 +02:00
Martine Lenders
0d33a00d36
Merge pull request #1492 from authmillenon/net-dev-base
...
drivers: Introduce a general interface for network device drivers
2014-10-02 12:29:59 +02:00
Martine Lenders
5596af697d
tests: Add functionality test for netdev_base
2014-10-01 23:22:54 +02:00
Ludwig Ortmann
19cb5bd153
tests: adopt for hwtimer_spin_barrier
...
also clean out unneeded headers
2014-10-01 19:53:43 +02:00
Hinnerk van Bruinehsen
84d48fa476
tests: fix mutex_unlock_and_sleep pids
2014-10-01 12:28:13 +02:00
Martine Lenders
2fc0ae28cf
Merge pull request #1645 from authmillenon/unittests-empty-dirs
...
unittests: make: Fix unittests for branch changes
2014-10-01 12:01:41 +02:00
René Kijewski
bc0f5ebf4c
tests: fix bad copy+paste in tests-core.h
2014-09-29 21:07:02 +02:00
René Kijewski
0c3bc4a58d
tests: Add unittests for byteorder.h
2014-09-29 21:07:02 +02:00
Ludwig Ortmann
e75dd40eea
drivers: import PIR motion sensor driver
...
Includes an application for manual testing.
2014-09-26 18:07:46 +02:00
Thomas Eichinger
bf256f63a3
samr21-xpro: initial import for the samr21-xpro board
2014-09-25 14:37:47 +02:00
Thomas Eichinger
89608b613e
tests/periph_spi: fix usage of board specific LED define
2014-09-25 13:59:12 +02:00
Hauke Petersen
934eb44c13
Merge pull request #1488 from haukepetersen/add_stm32f0_spi
...
board/cpu: added SPI driver for the stm32f0discovery
2014-09-25 11:59:11 +02:00
Ian Martin
505ced492a
tests/bloom: Un-blacklist boards mbed_lpc1768, stm32f3discovery, pca10000, pca10005, and yunjia-nrf51822.
2014-09-24 16:55:04 -04:00
Ian Martin
853640afbc
tests/bloom: Prevent word lists from being copied into RAM.
2014-09-24 16:51:53 -04:00
Hauke Petersen
1f1360eff9
[SQUASH ME] test: fixed according to updated GPIO interface
2014-09-24 15:41:48 +02:00
Hauke Petersen
1020d90b2b
[SQUASH ME] test: guard if no SPI device defined
2014-09-24 15:41:48 +02:00
Hauke Petersen
faf930e36b
[SQUASH ME] tests/periph_spi: rewrote test
2014-09-24 15:41:48 +02:00
Hauke Petersen
969b8401d8
tests: added periph_spi test
2014-09-24 15:41:48 +02:00
Hinnerk van Bruinehsen
bef32717bf
test:cbor: supress warnings about nan/infty
2014-09-19 23:59:49 +02:00
Christian Mehlis
88ae531ef9
Merge pull request #1679 from cgundogan/bloom_t_as_typedef
...
sys: use typedef for `struct bloom_t`
2014-09-19 13:18:39 +02:00
Hauke Petersen
905c97db5d
tests/examples: blacklisted yunjia-nrf51822
2014-09-18 18:02:46 +02:00
Cenk Gündoğan
0a4ea07daa
sys: use typedef for struct bloom_t
...
`bloom_t` is defined as a struct.
`_t` can mislead the user to think of bloom_t
as a typedef (see our coding conventions) instead of a struct.
Thus, I modified `struct bloom_t` to be a *typedefed* struct.
Another solution would be to rename bloom_t to sth. like bloom_s
everywhere and use `struct bloom_s` instead of `bloom_t`.
2014-09-17 19:54:40 +02:00
René Kijewski
0cc699c0ce
lint: reduce scope
...
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
René Kijewski
f061d0214e
tests: don't build test/libfixmath on Travis CI
...
Very often the build unexplainably hangs.
2014-09-11 13:13:59 +02:00
Ludwig Ortmann
95a1a3f324
tests/hwtimer: add self as author
2014-09-09 13:45:33 +02:00
Ludwig Ortmann
97c0ddbc92
tests: hwtimer shorten wait period
...
A sub-two-second period is needed for 16 bit timers.
2014-09-09 13:45:33 +02:00
Martine Lenders
4c6e17b39b
unittests: make: Fix unittests for branch changes
...
Changing between branches in git typically leaves directories empty and
does not remove them. If you have different unittests in different
branches this leads to an error in building them, since the current
configuration expects a Makefile in all `tests-*` directory. This change
configures Make to search for a Makefile in `tests-*` rather than just
assuming that there is one.
2014-09-08 12:36:15 +02:00
Ludwig Ortmann
942ce1b29d
Merge pull request #1628 from LudwigOrtmann/hwtimer_wait_fixup_2
...
tests: improve calculation in hwtimer_wait
2014-09-04 01:08:57 -07:00
Fabian Nack
7650ef412f
tests/examples: blacklisted msbiot for some tests
2014-09-02 15:45:50 +02:00
Ludwig Ortmann
31391622a3
tests: improve calculation in hwtimer_wait
...
Kudos to @Kijewski
2014-08-29 18:51:18 +02:00
Ludwig Ortmann
377c7a4136
tests: remove need for pow,log2 in hwtimer_wait
...
Default to precalculated value for geometric series, so pow and log2
are not needed.
2014-08-28 18:37:10 +02:00
Ludwig Ortmann
77794c041e
tests: print expected duration in hwtimer_wait
2014-08-28 12:39:58 +02:00
Ludwig Ortmann
457be31b6f
Merge pull request #1616 from krf/fix-warnings
...
Fix comment
2014-08-27 19:38:27 +02:00
Hauke Petersen
ae23d813b1
Merge pull request #1621 from haukepetersen/add_nrf_cpuid
...
cpu/nrf51822: added cpuid driver
2014-08-27 19:11:04 +02:00
Hinnerk van Bruinehsen
4ca3a49a5d
tests: blacklist failing test on arduino-mega2560
2014-08-27 17:47:24 +02:00
Martine Lenders
1c25af18e2
Merge pull request #1620 from authmillenon/unittests-easy
...
unittests: Simplify module-wise rebuild
2014-08-27 15:41:08 +02:00
Hauke Petersen
69ab0c5d32
test/periph_cpuid: renamed cpuid test application
2014-08-27 15:13:03 +02:00
Martine Lenders
9745a78c02
Merge pull request #1612 from authmillenon/tests_nativenet_expect
...
tests: Add expect script for nativenet tests
2014-08-27 14:22:09 +02:00
Martine Lenders
67fcd0d71b
unittests: Simplify module-wise rebuild
2014-08-27 14:04:33 +02:00
Kevin Funk
554e431746
Fix comments
2014-08-27 11:36:36 +02:00
Martine Lenders
0ee8758422
tests: nativenet: Add README.md
2014-08-27 11:32:33 +02:00
Martine Lenders
c1971fb5a9
tests: nativenet: Add return for radio thread
2014-08-27 11:23:35 +02:00
Ludwig Ortmann
3d611679ee
Merge pull request #1599 from LudwigOrtmann/issue-1597
...
sys/cbor,tests: fix cbor daylight saving time
2014-08-27 11:11:49 +02:00
Martine Lenders
5bad5a0fda
unittests: Fix coding conventions
2014-08-27 10:48:10 +02:00
Martine Lenders
2709d95e1a
unittests: Fix -Wunused-parameter warnings
2014-08-27 10:48:09 +02:00
Martine Lenders
4960c57153
unittests: Fix -Waddress warnings
2014-08-27 10:48:05 +02:00
Ludwig Ortmann
40a81e4f4c
tests: fix cbor unittest
...
Some member of `struct tm val` were not set, resulting in undefined
behavior.
2014-08-27 10:25:23 +02:00
Ludwig Ortmann
ea26ebbaa9
tests: fix lifo unittest
...
The API was violated resulting in an array overrun.
2014-08-26 18:06:31 +02:00
Martine Lenders
93cff41607
tests: Add expect script for nativenet tests
2014-08-26 10:54:09 +02:00
Ludwig Ortmann
b7992922ce
fix license headers in non-.c files
2014-08-23 16:16:26 +02:00
Hauke Petersen
addfaefe8a
Merge pull request #1598 from haukepetersen/add_nrf_rtt
...
cpu/board: added RTT driver for NRF51822
2014-08-22 02:13:43 +02:00
Hauke Petersen
9fb37be0aa
tests/periph_rtt: added test for RTT drivers
2014-08-22 00:54:10 +02:00
René Kijewski
eaed2f1b89
Merge pull request #1594 from authmillenon/unittests-no-auto-init
...
unittests: do not use auto_init
2014-08-21 23:51:48 +02:00
Martine Lenders
2bbe92a75a
tests: Fix tests that were defect
...
* I used pexpect instead of when expect script was not working expect, since
TCL confuses me
* I deleted the thread_exit test since it was completely invalid
2014-08-21 23:21:06 +02:00
René Kijewski
27e393621a
core: clist is a cyclic list
2014-08-21 21:10:03 +02:00
Martine Lenders
b1035acc98
unittests: do not use auto_init
2014-08-21 20:45:36 +02:00
Hauke Petersen
8f75521bc8
test/periph_random: added test for RNG driver
2014-08-21 20:21:47 +02:00
René Kijewski
89a26b7331
Merge pull request #1562 from Kijewski/the-first-two-commits-of-the-branch-issue-198
...
posix: minor pthread_barrier clean up
2014-08-15 14:44:54 +02:00
Hauke Petersen
9da0abc14d
tests/periph_gpio: added test cases for GPIO driver
2014-08-15 12:24:24 +02:00
René Kijewski
46c669f455
tests: clean up test_pthread_barrier Makefile
2014-08-11 16:22:43 +02:00
Hauke Petersen
477bc5a73d
tests/periph_uart: added two UART driver tests
...
- test for UART driver in blocking mode
- test for UART driver in interrupt driven mode
2014-08-11 15:08:41 +02:00
Oleg Hahm
1de5c2b4a0
fixed remaining variables to kernel_pid_t
2014-08-07 17:29:53 +02:00
Oleg Hahm
2e396af248
tests: combine declaration and definition
2014-08-07 16:31:34 +02:00
Oleg Hahm
0ad7b170ed
make kernel_pid_t comparisons consistent
2014-08-07 16:31:27 +02:00
Oleg Hahm
aa2ecf6216
initialize kernel_pid_t correctly
2014-08-07 16:31:27 +02:00
Hauke Petersen
b0d3a55989
tests: added test for low-level PWM driver
2014-08-07 16:16:06 +02:00
Oleg Hahm
6c2b2cea61
Merge pull request #1415 from krf/cbor
...
cbor: CBOR implementation for RIOT-OS (SWP)
2014-08-05 21:32:31 +02:00
Kevin Funk
e8141ca5d8
cbor: CBOR implementation for RIOT-OS
...
This is a malloc-free implementation of the Concise Binary Object
Representation (CBOR) data format for the RIOT-OS.
This implementation mostly stand-alone, and it should be pretty easy to
port to other platforms. We're only using the C STL and some custom
network-related functionaliy which could be easily replaced by depending
on arpa/inet.h.
The CBOR API is straight-forward to use and provides encoding/decoding
functionality for all major C types, such as:
- int
- uint64_t
- int64_t
- float
- double
- char*
- struct tm
- time_t
It is possible to conditionally compile this module via CFLAGS:
- CBOR_NO_SEMANTIC_TAGGING: All semantic-tagging features removed
- CBOR_NO_CTIME: All ctime related features removed
- CBOR_NO_FLOAT: All floating-point related features removed
- CBOR_NO_PRINT: All features depending on printf removed
2014-08-05 19:49:51 +02:00
René Kijewski
c5ac8332de
"tests": print tcb_t size
...
The "test" should aid #303 .
2014-08-05 19:15:35 +02:00
Ludwig Ortmann
3912e5e632
Merge pull request #1529 from LudwigOrtmann/cpuid_fixup
...
tests, native: fixup for cpuid
2014-08-05 18:40:49 +02:00
Ludwig Ortmann
4c6ba818ed
Merge pull request #1534 from LudwigOrtmann/queue-cleanup-two
...
core/queue: queue -> priority_queue && dynamic initializers
2014-08-05 18:33:54 +02:00
Ludwig Ortmann
1efdf99dfe
core/priority_queue: add dynamic initializers
...
- priority_queue_init
- priority_queue_node_init
2014-08-05 17:57:45 +02:00
Ludwig Ortmann
c2b2e4554b
core/queue: queue -> priority_queue
...
Rename queue to priority queue, because that's what it is.
2014-08-05 17:57:45 +02:00
Ludwig Ortmann
d667c4964a
tests: fix cppcheck findings
...
- bitarithm_timings: use more void, decrease range
- struct_tm_utility: add cppcheck-suppress invalidscanf
2014-08-05 17:54:19 +02:00
Ludwig Ortmann
1c3f481702
tests, native: fixup for cpuid
...
- adopt test name to new scheme
- make cppcheck happy / dont overwrite the target memory location twice
- fix license header
- don't redefine define if it already exists
- don't write more cpuid than is defined as size
2014-08-05 16:55:42 +02:00
epiktet
1154bd5a50
cpu/nrf51822: squash added support for nrf51822 cpu
2014-08-04 13:42:06 +02:00
Oleg Hahm
983d056c75
core: harmonizes the data type for the process ID
...
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
René Kijewski
9cf5ece44f
Merge pull request #1460 from Kijewski/issue-1457
...
pkg: add USEPKG module "libfixmath"
2014-08-01 00:05:56 +02:00
René Kijewski
d7b4f1a5ba
pkg: add USEPKG module "libfixmath"
...
This PR adds the USEPKG module "libfixmath".
It integrates https://code.google.com/p/libfixmath/ into RIOT, cmp. #1457 .
2014-08-01 00:04:48 +02:00
Hauke Petersen
938c61a5a2
Merge pull request #1456 from haukepetersen/board_stm32f3discovery
...
board/cpu: Added support for the stm32f3discovery board and stm32f3 cpu
2014-07-31 23:55:05 +02:00
Martine Lenders
7516c94dd8
Merge pull request #854 from authmillenon/cpu-id
...
drivers/cpu: add function to get CPU id/serial number
2014-07-31 23:23:21 +02:00
Ludwig Ortmann
d55da67fb6
Merge pull request #1329 from LudwigOrtmann/riot_license
...
RIOT default license header change
2014-07-31 23:12:47 +02:00
Martin Lenders
239f2e0f24
Implement CPU id getter for native
2014-07-31 23:05:15 +02:00
Ludwig Ortmann
3ca4f18479
doc: use lgplv2.1-short license header instead of lgpl-short-riot
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
1200c3bc46
doc: fix comment indentation
2014-07-31 22:57:19 +02:00
Cenk Gündoğan
b8009f1be5
converting tabs to spaces in tests ( #1439 )
...
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:53:32 +02:00
Martin Lenders
3a6adcc92c
Implement CPU serial number getter.
2014-07-31 19:51:14 +02:00
Hauke Petersen
f2c8997acc
examples/tests: blacklisted stm32f3discovery
2014-07-31 19:42:05 +02:00
René Kijewski
8854e8989a
tests: fix APPLICATION name
2014-07-31 07:34:11 +02:00
René Kijewski
d46c7e00d4
tests: remove test_
prefix
...
Closes #1485 .
2014-07-31 07:34:11 +02:00
René Kijewski
4032a22719
queue: add queue_t root type
2014-07-30 21:10:22 +02:00
René Kijewski
7035ae0051
queue: remove inttypes clutter from core header
2014-07-30 21:08:15 +02:00
Ludwig Ortmann
b6846e31fc
doc: fix most occurences of FU as an author
...
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
René Kijewski
6fae042a60
core: remove unneeded calls to mutex_init()
2014-07-29 09:33:24 +02:00
René Kijewski
0ab1b86e5f
Add generic char
pipe implementation
2014-07-28 23:21:27 +02:00
René Kijewski
faf9bb5073
tests: add ringbuffer unittest
2014-07-28 20:56:12 +02:00
Ludwig Ortmann
bea563d1da
Fix a few cppcheck findings
2014-07-25 08:17:06 +02:00
Hauke Petersen
a49fc062bf
test/examples: blacklisted stm32f4discovery
2014-07-16 17:20:53 +02:00
Hauke Petersen
082e970251
tests/examples: added stm32f0discovery to ignorelists
2014-07-16 15:21:33 +02:00
Oleg Hahm
e01ac410a5
Merge pull request #1430 from LudwigOrtmann/test-cleaning
...
tests,examples: remove unneeded headers, fix style
2014-07-15 19:24:00 +02:00
Ludwig Ortmann
fcd6e4c154
tests: add libcoap compilation test
2014-07-15 18:57:52 +02:00
Ludwig Ortmann
1c825e2524
tests,examples: remove unneeded headers, fix style
2014-07-15 18:54:45 +02:00
René Kijewski
ac9c80f417
make: don't use export on example makefiles
2014-07-10 15:23:31 +02:00
René Kijewski
ba1a15535b
core: remove extra thread_create_arg() function
2014-07-09 10:28:23 +02:00
Ludwig Ortmann
c7e793dca7
test: remove superfluous stack size defines
2014-07-09 07:41:54 +02:00
Ludwig Ortmann
1a8967cb45
tests&examples: apply coding conventions to sizeof
2014-07-09 07:41:54 +02:00
Ludwig Ortmann
06a86aef20
tests&examples: use sizeof(stack) in thread_create
...
fixes #1392
2014-07-09 07:41:54 +02:00
Oleg Hahm
13028b41bf
applications: set stack size correctly
...
The correct stack size for all examples and test applications correctly.
KERNEL_CONF_STACKSIZE_MAIN is the correct stack size for any thread
using printf.
Also adapted black lists accordingly.
2014-07-04 15:39:43 +02:00
René Kijewski
63dd8546af
Merge pull request #1335 from Kijewski/fix-all-warnings-for-native-and-qemu-i386
...
Fix all warnings for native and qemu-i386
2014-07-02 10:58:48 +02:00
René Kijewski
b17028bb46
tests/Travis: run unittests on x86, too
2014-06-24 21:07:20 +02:00