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
René Kijewski
3063e3c2b1
Fix all warnings for native and qemu-i386
...
Missing returns, unused variables (only used for debugging), empty
translation units, missing function prototypes, and GNU extensions.
2014-06-24 16:50:32 +02:00
René Kijewski
d19fc447ed
make: make DIRS usable for applications
2014-06-23 15:50:10 +02:00
Oleg Hahm
6f17f0c60a
Merge pull request #1105 from Kijewski/shell-print-not-found
...
shell: print command if not found
2014-06-22 21:03:30 +02:00
Ludwig Ortmann
de4677eb60
make: s/PROJDEPS/APPDEPS/
...
fixes https://github.com/RIOT-OS/RIOT/issues/1284
2014-06-21 18:28:34 +02:00
René Kijewski
20163e1452
tests: test_bloom: fix PROJDEPS concurrency
...
Our buildtests build one project concurrently for multiple boards.
The current creation of the `PROJDEPS` for `test_bloom` might fail if
* board `A` notices that the dependency is missing and gets preempted,
* board `B` creates the dependency and gets preempted,
* board `A` starts the creation but gets preempted in the middle of the process,
* board `B` works with a half complete created file.
This PR creates the dependency in the individual `BINDIR`.
2014-06-21 17:51:24 +02:00
René Kijewski
4142d87bbe
Merge pull request #1278 from kaspar030/test_vtimer_msg_diff
...
tests: add test_vtimer_msg_diff
2014-06-21 00:39:33 +02:00
René Kijewski
14601c0c38
Merge pull request #1299 from phiros/timex_bugfix_and_improvement
...
Timex bugfix and improvement
2014-06-19 13:18:15 +02:00
Philipp Rosenkranz
0bf6ce22f3
added conv function from uint64 to timex_t and one minor bug fix
2014-06-19 12:40:24 +02:00
Martine Lenders
6d1365c5d8
Merge pull request #1324 from Kijewski/make-automatic-module-name
...
make: much less clutter for "standard layout" modules
2014-06-18 23:52:49 +02:00
Ludwig Ortmann
2075eeef01
make: %s/PROJECT/APPLICATION/g Part III
2014-06-18 15:24:14 +02:00
Hauke Petersen
ece3f867b2
tests: fixed Makefile for test_ipc_pingpong
2014-06-18 14:19:16 +02:00
René Kijewski
840c0f0a57
make: detect their module name automatically
...
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.
This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
René Kijewski
be1e6d1616
Add bitarithm measuring
2014-06-05 20:19:10 +02:00
René Kijewski
9775a3d199
Add test_ipc_pingpong
2014-06-05 20:19:10 +02:00
René Kijewski
f3bbec633b
unittests: core: add test_bitarithm_[ml]sb_all
2014-06-05 20:19:10 +02:00
f7913e31a8
tests: test_vtimer_msg_diff: Makefile s/PROJECT/APPLICATION/g
2014-06-05 14:35:37 +02:00
9ee346c9d3
tests: test_vtimer_msg_diff: add some timers, change max values
2014-06-05 12:51:26 +02:00
8d9569d8b0
tests: test_vtimer_msg_diff: use array for timers, change first to 1s
2014-06-05 12:43:16 +02:00
40c939882d
tests: add test_vtimer_msg_diff
...
This test sets three timers and renews them periodically, showing the
difference they accumulate.
2014-06-05 12:35:06 +02:00
Martine Lenders
e84cdd67b7
Merge pull request #1238 from authmillenon/makefile-unittests
...
unittests: Force execution of $(UNITTEST_LIBS) build target
2014-06-03 17:56:09 +02:00
René Kijewski
fa76383700
tests: add missing license to test_struct_tm_utility
2014-06-02 16:54:46 +02:00
René Kijewski
bd2fbd161b
Add struct tm
utility "test"
2014-05-28 00:43:41 +02:00
Martin Lenders
f201ceed99
unittests: Force execution of $(UNITTEST_LIBS) build target
2014-05-27 10:41:28 +02:00
Martin Lenders
2362623490
Fix trailing whitespaces
...
Fixes #1138
2014-05-26 14:54:23 +02:00
Martine Lenders
62139bd0d2
Merge pull request #1207 from Kijewski/unittests-makefile.include
...
unittests: support Makefile.include in test suites
2014-05-26 14:51:12 +02:00
Thomas Eichinger
1e983c9670
s/PROJECT/APPLICATION/g
...
fixes #548
2014-05-26 13:21:09 +02:00
René Kijewski
4e4f908379
Initial import of the x86 port
...
Currently this works only in qemu.
2014-05-25 13:40:29 +02:00
René Kijewski
49778752b3
Use BOARD_INSUFFICIENT_RAM
in examples and tests
2014-05-23 14:29:52 +02:00
René Kijewski
f3eeb98a01
msp/tests: remove blacklist from test_bloom_bytes
...
Issue #1061 was fixed.
2014-05-22 15:40:25 +02:00
Martin Lenders
3daa80124e
Fix application name for test_bloom_byte application
2014-05-19 16:16:19 +02:00
René Kijewski
4df2f4b4da
unittests: support Makefile.include in test suites
...
This change will pull in the `Makefile.include` for every test suite
that is compiled in.
Fixes #1205 .
2014-05-18 16:20:35 +02:00
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
Oleg Hahm
127801d18d
tests: added a thread_sleep() at the end
...
Letting the main thread exit could cause failing test if thread_exit()
is broken for the tested platform, preventing the actual testing of the
hwtimer.
2014-05-17 00:30:38 +02:00
Kévin Roussel
988de6b2cd
Merge pull request #893 from rousselk/z1-port
...
Zolertia Z1 port for RIOT OS
2014-05-16 12:08:56 +02:00
Kévin Roussel
2a3033b3ca
boards/z1: initial import
2014-05-16 11:02:06 +02:00
Martin
4c2aaa6321
fixed initializer and Wformat warnings
2014-05-15 19:30:02 +02:00
Jan S
ba907471f3
fixed printf specifiers
2014-05-15 17:42:57 +02:00
René Kijewski
6b4d2de74e
Merge pull request #961 from authmillenon/core-unittests
...
unittests: Unittests for core module data strutures
2014-05-15 15:57:56 +02:00
Hauke Petersen
cbd4f91656
examples/tests: blacklisted udoo board
...
blacklisted for:
- ccn-lite-client
- ccn-lite-relay
- rpl_udp
- test_net_if
- test_pnet
2014-05-15 11:53:14 +02:00
René Kijewski
beb91163ab
unittests: Move tests-core into subdirectoy
2014-05-15 11:07:11 +02:00
Martin Lenders
1b042e75c4
Implement core unittests
2014-05-15 11:07:11 +02:00
René Kijewski
8950ab49a5
make: Remove Makefile.unsupported
...
This mechanism was replaced by #535 . It was only used in one project.
2014-05-14 22:58:25 +02:00
Martine Lenders
991a5dccf1
Merge pull request #1168 from Kijewski/unittests-use-subfolders-and-dark-magic
...
unittests: separate test suites from main.c
2014-05-14 17:56:53 +02:00
René Kijewski
ccc934856f
Merge pull request #1124 from Kijewski/consolidate-crypto
...
sys:crypto: put ciphers into one module
2014-05-14 13:12:21 +02:00
René Kijewski
0246329050
unittests: separate test suites from main.c
...
This change removes the need to patch the main.c if you add or remove a
test suite. A test suite in `tests/unittests/tests-XXX` needs to export
the function `void tests_XXX(void)`, which gets called by `main()`.
The `tests-XXX/Makefile` looks like your average module:
```
MODULE = tests-XXX
include $(RIOTBASE)/Makefile.base
```
2014-05-14 12:57:52 +02:00
Martine Lenders
4359429168
Merge pull request #1164 from Kijewski/unittests-use-subfolders
...
unittests: use subfolders for different tests
2014-05-14 12:54:21 +02:00
René Kijewski
297bc52062
unittests: use subfolders for different tests
...
Unittests for e.g. different libraries can be put into
`tests/unittests/tests-XXX`, where `XXX` is your test suite.
If `unittests` is made with `make all` (or any explicit argument), then
all test suites get built. If you use `make tests-XXX tests-YYY …` then
only the test suites `XXX` and `YYY` get built.
2014-05-14 12:48:56 +02:00
René Kijewski
5e6bf869b0
unittests: exit(1) or error
2014-05-14 10:31:22 +02:00
Ludwig Ortmann
2314915ff2
license: fix license header grammar
...
insert missing "is"
2014-05-14 09:49:09 +02:00
Hauke Petersen
595ede41ea
examples/tests: blacklisted arduino-due
2014-05-13 21:18:27 +02:00
Kevin Funk
395af2aa74
Add missing include
2014-05-13 14:43:48 +02:00
Ludwig Ortmann
df47bd38f6
tests/test_hwtimer_spin +wait: add success
...
Run 10k times, print success and return.
Remove printfs in loops.
2014-05-13 10:35:53 +02:00
René Kijewski
ebe702629b
shell: fixup test_shell expect scripts
2014-05-12 22:07:35 +02:00
René Kijewski
96fba8a19b
sys:crypto: put ciphers into one module
2014-05-12 21:57:44 +02:00
Martin Landsmann
61b0331980
added pthread_cond.h
to pthread.h
...
adjusted `test_pthread_condition_variable\main.c` includes reflecting the above change
2014-05-07 07:54:54 +02:00
Oleg Hahm
cace4b42f6
Merge pull request #1092 from BytesGalore/fix_print_format_warnings_test_thread_msg
...
test:test_thread_msg fixed Wformat warnings
2014-05-05 11:39:18 +02:00
--global
1bbcd268cd
fix re-added removed printf formatter
2014-05-02 16:28:47 +02:00
Christian Mehlis
668800eea7
Merge pull request #1091 from BytesGalore/fix_print_format_warning
...
test:test_pthread_barrier fixed Wformat warning
2014-05-02 14:56:18 +02:00
Martin
2ed6e5cc42
fixed Wformat warnings
2014-05-02 14:30:49 +02:00
Christian Mehlis
c3c903f1df
Merge pull request #1090 from BytesGalore/fix_use_uninitialized_variable_warning
...
test:test_irq initialized `j` with 0
2014-05-02 14:28:45 +02:00
Martin
8b33040885
fixed Wformat warning
2014-05-02 14:16:20 +02:00
Martin
5e2b419e9e
initialized j
with 0
2014-05-02 13:58:01 +02:00
Martin
48f749625d
fixed warnings on Wformat
2014-05-02 13:47:07 +02:00
Martin
619039e0e2
add pthread condition variable implementation
2014-04-29 18:39:03 +02:00
René Kijewski
300c01eaec
Merge pull request #1062 from mehlis/test-thread-blacklist
...
test: thread: blacklist boards
2014-04-28 14:17:50 +02:00
Christian Mehlis
52c2900bdd
test: thread: blacklist boards
2014-04-28 14:12:47 +02:00
Christian Mehlis
97cf6f5b92
tests: added missing chronos to blacklist
2014-04-28 14:05:30 +02:00
René Kijewski
bda23cb246
Merge pull request #1059 from mehlis/test-bloom-blacklist
...
test: bloom: backlist platforms
2014-04-26 15:57:21 +02:00
Christian Mehlis
459599eef5
Merge pull request #1052 from Kijewski/test_nativenet-only-native
...
test_nativenet is only useful for native ...
2014-04-26 15:44:02 +02:00
Christian Mehlis
46c8836b0e
test: bloom: backlist platforms
2014-04-26 15:35:32 +02:00
Christian Mehlis
ccfbc39dc3
test: posix: blacklist boards
2014-04-26 15:23:58 +02:00
René Kijewski
1ac03ff225
test_nativenet is only useful for native ...
2014-04-25 08:12:54 +02:00
Ludwig Ortmann
c52105f696
tests: add test_hwtimer_wait
...
It contains the old test functionality of test_hwtimer_spin.
2014-04-23 15:43:14 +02:00
Ludwig Ortmann
19d9d67f4e
tests: fix test_hwtimer_spin
...
Actually test hwtimer_spin, not hwtimer_arch*
`hwtimer_wait` calls `hwtimer_spin` only for delays `<= 6`, that's why a
pure test_hwtimer_spin test should not pass values `>6`.
Also decrement delay in steps of 1.
2014-04-23 15:43:14 +02:00
Ludwig Ortmann
066d743c35
Merge pull request #943 from Kijewski/issue-943
...
Clean up test_irq
2014-04-19 12:26:53 +02:00
René Kijewski
9a5a8a2452
Add pthread_rwlock test
2014-04-18 16:26:12 +02:00
Martine Lenders
0e4d2909a6
Merge pull request #830 from authmillenon/fix_test_pnet
...
tests: Fix test_pnet
2014-04-17 01:40:27 +02:00
Martin Lenders
4e1da23817
Fix test_pnet
...
fixes #829
2014-04-16 17:44:46 +02:00
Oleg Hahm
3903b8add2
Merge pull request #381 from authmillenon/unittests
...
Unittests via embUnit
2014-04-11 10:17:02 +02:00
Oleg Hahm
f382ce8c65
tests: added README.md for test_float
2014-04-10 21:35:25 +02:00
Martin Lenders
9ce8ab2275
Create unittest application
2014-04-10 15:33:10 +02:00
Martin Lenders
0c6b5ba671
Adapt embunit for RIOT
2014-04-10 15:33:09 +02:00
Martin Lenders
ca75e01105
Import embunit sources
2014-04-10 15:30:16 +02:00
Oleg Hahm
8a86f493b4
Merge pull request #821 from Kijewski/pthrad_cleanup
...
posix: Add pthread_cleanup handlers
2014-04-09 00:19:17 +02:00
René Kijewski
1e75986345
Clean up test_irq ( fix #943 )
2014-04-06 19:29:32 +02:00
René Kijewski
503e95af0b
Add pthread_barrier test
2014-04-06 19:25:15 +02:00
René Kijewski
74804ab979
pthread_cleanup: fixup for #798
2014-04-04 18:03:29 +02:00
René Kijewski
b54962689a
posix: Add pthread_cleanup handlers
...
With `pthread_cleanup_(push|pop)` you can define a function that should
be ran if the thread is exited while it is inside this scope. A thread
can be ended here through an explicit call to `pthread_exit()`, or if
cancellation was requested and a cancellation point was hit.
`pthread_cleanup_*` is mostly only useful together with cancellation
points, and cancellation points are only useful with a cleanup
functionality. Cancellation points are at least partially implemented by
means of `pthread_testcancel()`.
C.f. ["Cancellation Points"][1].
[1]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_05_02
2014-04-04 18:03:29 +02:00
René Kijewski
2e5a2cea0a
Fixup for #798
2014-04-02 14:42:11 +02:00
René Kijewski
34aec1928a
Add DISABLE_MODULE += auto_init to tests
2014-04-02 14:41:17 +02:00
René Kijewski
d22a4a3f44
Add DISABLE_MODULE test
2014-04-01 23:49:22 +02:00
René Kijewski
e740fbc800
make: Add DEFAULT_MODULE and DISABLE_MODULE
...
Closes #926
2014-04-01 23:42:00 +02:00
Martine Lenders
f9d8f1fc75
Merge pull request #798 from Kijewski/usemodule-includes
...
Make: Add include paths automatically for USEMODULES
2014-04-01 17:25:48 +02:00
Kévin Roussel
dea33bd8b6
Merge pull request #909 from OlegHahm/msp430_hwtimer
...
msp430: hwtimer: handle overflow correctly
2014-03-31 15:28:41 +02:00
René Kijewski
de29e4184c
Add include paths automatocally for USEMODULES
...
Application developers use `$(USEMODULES)` in their Makefiles to have
the relevant functionally automagically added to their apps. This even
does basic dependency tracking by means of `Makefile.dep`.
But an important thing is missing: the automatic adding of include
paths. This is inconvenient, error prone, and will hinder the RIOT core
developers in future to change folder structures.
2014-03-29 16:27:55 +01:00
Hauke Petersen
6c591c8a68
tests/pkg: fixed issues from #919
2014-03-26 15:13:23 +01:00
Oleg Hahm
9343c8a04a
test_hwtimer: hwtimer is automatically initialized now
2014-03-26 15:00:56 +01:00
Martine Lenders
53264c7a45
Merge pull request #609 from LudwigOrtmann/transceiver_any
...
anytransceiver pseudomodule
2014-03-24 14:04:02 +01:00
Christian Mehlis
5a44a5bf6d
Merge pull request #817 from kaspar030/tests_msg_sequence
...
tests: add test that shows sequence of received messages
2014-03-19 09:57:32 +01:00
René Kijewski
e073d86845
Merge pull request #877 from Kijewski/shell-utf8
...
shell: fix UTF-8 problem
2014-03-18 11:27:28 +01:00
Ludwig Ortmann
619e94167e
tests/test_pnet: use defaulttransceiver
2014-03-18 10:20:36 +01:00
Ludwig Ortmann
044bfb055a
tests/test_net_if: update BLACKLIST/WHITELIST
2014-03-18 10:20:36 +01:00
Ludwig Ortmann
ad0e338511
tests/test_net_if: use defaulttransceiver
2014-03-18 10:20:36 +01:00
Ludwig Ortmann
5a8d32fa6a
test_hwtimer: print out message explaining test
...
fixes : #791
2014-03-17 10:48:46 +01:00
Oleg Hahm
42e3a3a97f
Merge pull request #845 from mehlis/sem-to-posix
...
posix: move posix semaphore in posix module
2014-03-16 23:39:12 +01:00
Christian Mehlis
374a5376a8
rename test for posix semaphore
2014-03-16 20:00:47 +01:00
René Kijewski
a1df6a86bb
shell: don't ignore IO errors
2014-03-10 13:48:00 +01:00
René Kijewski
3f289760bf
shell: accept UTF8 input
2014-03-10 13:47:33 +01:00
René Kijewski
1098d6f336
Add test if the message queue is fair
2014-03-05 18:33:30 +01:00
Martin Lenders
b11b8f148d
Fix test_net_if
2014-03-04 11:53:31 +01:00
Christian Mehlis
5f56a51606
Merge pull request #849 from Kijewski/issue-844
...
posix: Fix `pthread_mutex_lock()` check in test_pthread_cooperation
2014-03-04 08:36:38 +01:00
René Kijewski
80263b2fc0
Merge pull request #728 from BytesGalore/add_unlock_mutex_and_sleep
...
core:mutex: enable atomic execution of unlock a mutex and sleep for a thread
2014-03-04 01:38:50 +01:00
René Kijewski
f3c90ac4c9
Fix pthread_mutex_lock()
check in test_pthread_cooperation
2014-03-03 22:48:31 +01:00
Martin
35106e3391
add test for mutex_unlock_and_sleep()
2014-03-03 18:48:46 +01:00
Christian Mehlis
63ab4510b3
Merge pull request #820 from Kijewski/expect-sha256
...
tests: Add automatized test for sha256
2014-03-03 18:31:44 +01:00
Christian Mehlis
183262620f
test: added test case for posix sleep
2014-03-03 17:21:48 +01:00
Ludwig Ortmann
9fb3f62201
test_net_if/Makefile remove superfluous includes
2014-03-01 15:48:45 +01:00
Martin Lenders
79a16df7b8
Merge pull request #644 from authmillenon/decouple_network_stack
...
Decouple network stack from transceiver
2014-03-01 15:45:58 +01:00
Martin Lenders
eaa86600b6
Merge pull request #460 from authmillenon/define_ll_ifs
...
Link layer interfaces
2014-03-01 15:44:58 +01:00
Martin Lenders
3a8c1770b1
Fix apps for previous changes
2014-03-01 15:08:19 +01:00
Ludwig Ortmann
3171653e5d
test_shell: fix includes
...
malloc.h is not needed, apply coding conventions to others
2014-03-01 09:55:58 +01:00
Martin Lenders
a5e0e92bb3
Add test cases for net_if module
2014-03-01 00:48:48 +01:00
René Kijewski
07f5ca1b22
Add automatized test for sha256
2014-02-28 19:01:16 +01:00
bcf5050d50
tests: test_shell: call "make term" instead of hardcoded pseudoterm
2014-02-28 17:41:07 +01:00
493f17a4bf
test_thread_msg_seq: add missing main() return statement
2014-02-28 17:10:53 +01:00
6bc9ad69c3
tests: add test that shows sequence of received messages
2014-02-28 16:13:33 +01:00
Christian Mehlis
5247fa48e1
Merge pull request #756 from josephnoir/add_test_pthread_factorial
...
tests: Add test for pthread
2014-02-26 16:08:45 +01:00
Christian Mehlis
92eaa51f5c
Merge pull request #760 from Kijewski/shell-args
...
shell: Use argc and argv in shell handlers
2014-02-26 15:37:14 +01:00
Raphael Hiesgen
310ac02ad7
Adds test for pthread.
...
The test uses pthread to calculate the factorial of 12, with one
thread for each multiplication. pthread_mutex is used for synchronization.
2014-02-26 13:52:08 +01:00
Ludwig Ortmann
23bccdf247
remove hwtimer from test_irq
2014-02-26 10:17:17 +01:00
Christian Mehlis
6f76a4c592
Merge pull request #757 from josephnoir/add_test_thread_factorial
...
tests: Add test for riot thread
2014-02-26 09:21:40 +01:00
Christian Mehlis
17b534619c
Merge pull request #780 from mehlis/fix-bloom-test
...
test: fix bloom filter test
2014-02-26 09:13:13 +01:00
localadmin
0b8d5cf973
Adds test for riot threads.
...
The test uses riot threads to calculate the factorial of 12,
with one thread for each multiplication. The core mutex is
used for synchronization.
2014-02-25 21:58:56 +01:00
René Kijewski
829966ee32
Print error message on any quoting error
2014-02-25 17:54:17 +01:00
Christian Mehlis
e2c3f668bf
test: fix bloom filter test
2014-02-25 09:06:19 +01:00
Oleg Hahm
93e32953b3
always build and initialize hwtimer
...
Eliminates special treatment of the hwtimer module and makes it a
mandatory part of the kernel.
2014-02-24 18:36:28 +01:00
Ludwig Ortmann
9c0fc3b1e2
Merge pull request #759 from LudwigOrtmann/tests_makefile
...
add Makefile.tests_common
2014-02-24 16:47:31 +01:00
Christian Mehlis
668c29ca52
Merge pull request #763 from LudwigOrtmann/issue_717
...
move global char array out of thread
2014-02-22 18:18:53 +01:00
Ludwig Ortmann
af7a15b3f0
move global char array out of thread
...
The char msg[] is accessed from outside the main thread after it has
exited, so it needs to outlive it.
Fixes #717
2014-02-22 13:28:21 +01:00
Ludwig Ortmann
d676cd328b
remove debug target from test_nativenet
...
It conflicts with an existing debug target
2014-02-22 10:05:23 +01:00
Ludwig Ortmann
983dabe73f
remove USEMODULE comments and some whitespace
2014-02-22 10:04:41 +01:00
Christian Mehlis
1e11aca209
test: added missing license
2014-02-21 21:51:29 +01:00
Ludwig Ortmann
982eecd3a6
add Makefile.tests_common
...
Contains common variables for all test Makefiles.
Include from test Makefiles.
2014-02-21 19:08:48 +01:00
Christian Mehlis
e865022a31
pthread: initial add
2014-02-19 23:39:38 +01:00
Christian Mehlis
cb9c5d00de
repace project by application in documentation
2014-02-18 12:28:32 +01:00
Oleg Hahm
6c0482b976
Merge pull request #701 from Kijewski/issue-672
...
Use `filter` instead of `findstring`
2014-02-16 12:33:29 +01:00
René Kijewski
102dc45382
Eliminate findstring in more places
2014-02-14 14:30:16 +01:00
Ludwig Ortmann
8ce1fdde11
fix test_irq Makefile
...
closes #696
2014-02-13 23:39:21 +01:00
Lotte Steenbrink
8812745b02
added two test cases for issue #100
...
test_thread_msg_block_w_queue:
demonstrates the behaviour described in issue #100
and that it is solved by PR #569
test_thread_msg_block_wo_queue:
demonstrates behaviour similar to the above but without
a messge queue. This works with the current master, but
breaks with PR #569
2014-02-13 13:25:45 +00:00
Ludwig Ortmann
b175dbee91
update Makefiles to point to all-valgrind target
...
Header path knowledge is not necessary anymore
2014-02-11 19:22:40 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Ludwig Ortmann
1c9d4f8720
remove stale cc110x_ng includes
2014-02-07 19:22:27 +01:00
Ludwig Ortmann
b6c8ceb57c
update test_shell/ReadMe.txt
2014-02-06 12:34:59 +01:00
Ludwig Ortmann
8815d22390
remove superfluous uart USEMODULEs from test
2014-02-06 12:34:59 +01:00
Christian Mehlis
55c84d95b6
added LGPL header and doxygen headers
2014-02-04 12:52:52 +01:00
Ludwig Ortmann
ef54fa4016
Merge pull request #567 from mehlis/tests-astyle
...
tests: use astyle to adopt current code style guide
2014-01-29 07:51:02 -08:00
Christian Mehlis
97133b9dfb
use one consistent mail address in all places
2014-01-27 20:46:45 +01:00
Christian Mehlis
66e7762630
tests: use astyle to adopt current code style guide
2014-01-25 11:29:35 +01:00
Ludwig Ortmann
9d55fde052
increase inter-timer delay
2014-01-22 21:32:09 +01:00
Ludwig Ortmann
de3f8a1ae5
improve test_hwtimer usefulness
...
make the delays noticeable for humans
use HWTIMER_TICKS macro for platform independency
2014-01-22 20:14:18 +01:00
Oleg Hahm
763fc6b84f
Merge pull request #510 from mehlis/test_vtimer_msg
...
added vtimer test case
2014-01-20 03:08:46 -08:00
Martin Lenders
82af516691
Add pnet tests
2014-01-17 14:40:57 +01:00
Christian Mehlis
86f21d8880
added vtimer test case
2014-01-15 18:37:12 +01:00
Oleg Hahm
cd4446023e
increase wait period
...
otherwise the loop won't run
(proposed by @LudwigOrtmann)
2014-01-14 17:46:20 +01:00
Oleg Hahm
5dcf64d9de
imported test projects (from projects repository)
2014-01-10 16:21:35 +01:00