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

620 Commits

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