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

643 Commits

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