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

1288 Commits

Author SHA1 Message Date
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