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

3210 Commits

Author SHA1 Message Date
Martine S. Lenders
b5545fe334 gnrc_sixlowpan: include reassembly buffer only where needed 2019-09-27 21:11:36 +02:00
Martine Lenders
aa84406ac1
Merge pull request #9940 from miri64/tests/enh/rgb2hsv-black
tests/unittests: test black corner case for color_rgb2hsv()
2019-09-27 15:02:10 +02:00
Hauke Petersen
09faa328f9 tests: add distinct test app for nrfmin driver 2019-09-27 11:49:43 +02:00
Martine Lenders
2c9ac91903 tests/unittests: test black corner case for color_rgb2hsv()
Tests a (currently undocumented) behavior of `color_rgb2hsv()`, that a
black RGB value (all zero) causes the HSV value to be all zero.
2019-09-27 09:35:39 +02:00
Martine Lenders
ac9e80cfd0
Merge pull request #11401 from miri64/tests/enh/i11398-testcase
tests: provide test case for malformed IEEE 802.15.4 packets
2019-09-26 16:55:55 +02:00
Martine Lenders
aaaa8a21ed tests: provide testcase for issue 11398 2019-09-26 15:56:47 +02:00
Dylan Laduranty
9c8cfaa02a tests: add SAMR34 entry in BOARD_INSUFFICIENT_MEMORY
add samr34-xpro if test doesn't fit in its memory
2019-09-26 10:48:03 +02:00
0170d1c5da
Merge pull request #11969 from fjmolinas/pr_nucleo_f303k8_tests
tests: fix tests for nucleo-f303k8
2019-09-25 13:43:10 +02:00
f8922d80c3
tests/periph_wdt: fix upper limit format for print 2019-09-20 20:45:42 +02:00
Benjamin Valentin
a4baf45da1 tests/periph_wdt: only test powers of two
Some watchdog implementations do not support arbitrary precision
for timeouts.
Using powers of two seems like a good common denominator.
2019-09-20 19:04:41 +02:00
Francisco Molina
ce300ca6fd tests: fix tests for nucleo-f303k8
- Decrease default stack size for pthread_cooperation and
  cp11_condition_variable
- Reduce number of problems for thread cooperation and remove
  from insufficient memory list
2019-09-20 17:01:08 +02:00
661fdc6c1b
tests/nimble_l2cap: remove unused debug include 2019-09-20 09:00:32 +02:00
4d2d4c5bb3
tests/nimble_l2cap: fix not needed cast 2019-09-20 09:00:13 +02:00
f6dc8a3ea8
tests/periph_pwm: fix not needed cast 2019-09-20 08:59:43 +02:00
Dylan Laduranty
f276328491
Merge pull request #12267 from bergzand/pr/usbus/auto_tests
usbus: Add automated test
2019-09-19 09:52:48 +02:00
e3123f352e
tests/usbus: Add automated test for usbus init 2019-09-19 09:29:54 +02:00
Martine Lenders
5631b698db
Merge pull request #11623 from miri64/gnrc_ipv6_ext/feat/ipv6-frag
gnrc_ipv6_ext_frag: Initial import of IPv6 fragmentation
2019-09-17 19:27:38 +02:00
Martine Lenders
e62bb9c414 tests: provide tests for gnrc_ipv6_ext_frag fragmentation 2019-09-17 18:55:18 +02:00
Martine Lenders
1a89829cc7
Merge pull request #12254 from aabadie/pr/tests/useless_ci_whitelist
tests: remove remaining use of "TEST_ON_CI_WHITELIST += all"
2019-09-17 10:47:06 +02:00
Martine Lenders
269af28599 tests: provide initial tests for gnrc_ipv6_ext_frag 2019-09-16 19:13:19 +02:00
43717c7b2b
tests: remove useless global board test on ci whitelist 2019-09-16 19:02:02 +02:00
Gaëtan Harter
be7ce7ea99
tests: re-enable utf-8 tests on native
The docker image should now be configured with LC_ALL|LANG=C.UTF-8
and used in murdock.
2019-09-16 12:29:15 +02:00
benpicco
6c95081e42
Merge pull request #10556 from gschorcht/drivers_pca9685
drivers: support for NXP PCA9685 I2C 16-channel, 12-bit PWM controller
2019-09-15 19:20:29 +02:00
Juan I Carrano
75c47a8dc7
Merge pull request #12216 from benpicco/cleanup-test_malloc
tests/malloc: cleanup
2019-09-13 12:03:48 +02:00
ab8cdace12
Merge pull request #11996 from fjmolinas/pr_libcose_crypto_up
pkg/libcose: update crypto support
2019-09-13 10:10:49 +02:00
Francisco Molina
9e5416239b tests/pkg_libcose: adapt to c25519 and monocypher 2019-09-13 09:50:42 +02:00
aed12b4853
Merge pull request #11252 from fjmolinas/pr_wdg_stm32
cpu/stm32_common: add watchdog for stm32
2019-09-13 09:16:18 +02:00
Francisco Molina
8597952c10 tests: add periph_wdt test 2019-09-13 08:58:20 +02:00
Benjamin Valentin
769fe44f6d tests/malloc: cleanup
- make local functions / variables static
- adhere to the 80 column limit
- don't increment total if head could not be allocated
- allow to overwrite CHUNK_SIZE
2019-09-13 00:35:47 +02:00
benpicco
66ce29d94c
Merge pull request #12051 from OTAkeys/fix/isotp
can/isotp: fix closing connection and improve flow control handling
2019-09-12 23:01:58 +02:00
Schorcht
c6bbaac7bc tests: app for testing PCA9685 PWMs 2019-09-12 19:13:20 +02:00
Juan I Carrano
e9ca2114ee
Merge pull request #12204 from cladmi/pr/pthread/enable_avr
pthread_cond.h: use 'sys/types.h' value of 'clockid_t' for avr. Enables pthread on AVR.
2019-09-12 16:41:59 +02:00
Ken Bannister
1621cc1d39
Merge pull request #12075 from kb2ma/coap/options_get_opaque
net/nanocoap: get option bytes
2019-09-12 09:00:27 -04:00
Marian Buschsieweke
c262770634
Merge pull request #11413 from benpicco/rtc_sanitize
periph/rtc: normalize struct tm before usage
2019-09-12 12:47:56 +02:00
Benjamin Valentin
b1724a7d1b periph/rtc: normalize struct tm before usage
A naive implementation may set a RTC alarm in 30s by calling

	struct tm now;
	rtc_get_time(&now);
	now.tm_sec += 30;
	rtc_set_alarm(&now, _cb, NULL);

This works for RTC implementations that use a RTT internally and call
mktime() to convert the struct tm to a unix timestamp, as mktime() will
normalize the struct in the process.

Call rtc_tm_normalize() when the RTC uses separate registers for time / date
components to ensure it is normalized.

This also modifies tests/periph_rtc to exercise this case.
2019-09-12 11:32:31 +02:00
Benjamin Valentin
90a8a9666c unittests: add tests for rtc_tm_normalize() 2019-09-12 11:32:27 +02:00
Martine Lenders
8911c514fd
Merge pull request #10951 from miri64/gnrc_ipv6_nib/enh/abr-helpers
shell/sc_gnrc_ipv6_nib: extend for ABR
2019-09-12 07:34:09 +02:00
Martine Lenders
5c2fec106a tests/unittests: add tests for _abr_iter() 2019-09-11 23:51:20 +02:00
Gaëtan Harter
9ee84c62c9
tests/pthread*: enable pthread tests on avr
'pthread' is now compatible with 'avr' so enable them in tests.
All the tests ran on 'arduino-mega2560' when supported.
2019-09-11 18:25:10 +02:00
Gaëtan Harter
5c405b56f8
tests/pthread_condition_variable: adapt for slow boards
Reduce the number of required iterations on boards.
This will allow running it on 'arduino-mega2560'.
2019-09-11 18:25:10 +02:00
Juan I Carrano
00e0a1cf13
Merge pull request #12056 from JulianHolzwarth/pr/posix/pthread/small_insert_fix
sys/posix/pthread/pthread.c: fix thread count limiting in pthread_create()
2019-09-11 18:22:54 +02:00
Francisco Acosta
092f8e8d46
Merge pull request #8774 from OTAkeys/pr/flashpage_mtd
drivers: add mtd wrapper for periph_flashpage
2019-09-11 16:59:15 +02:00
JulianHolzwarth
984eb7cd6c tests/pthread_flood: test for max pthread creation 2019-09-11 15:07:32 +02:00
Ken Bannister
4ace366e8b net/nanocoap: add unit test for get opaque option 2019-09-11 05:40:14 -04:00
MichelRottleuthner
3d0e3b0117
Merge pull request #10308 from danielinux/master
wolfSSL pkg addition with examples
2019-09-11 09:12:57 +02:00
Daniele Lacamera
8bb1ee1cd5 wolfSSL pkg: new set of examples and tests 2019-09-11 08:12:50 +02:00
Martine Lenders
9e33c04e3d
Merge pull request #9404 from OTAkeys/pr/can_memarray
can: use memarray for pkt and router allocation
2019-09-10 16:28:31 +02:00
Marian Buschsieweke
b87ab96d17
Merge pull request #10661 from miri64/gnrc_netif_hdr/enh/netif_setter
gnrc_netif_hdr: add setter for netif
2019-09-10 16:14:28 +02:00
Vincent Dupont
a05f7c7cac unittests: add mtd_flashpage unittests 2019-09-10 13:26:27 +02:00
Vincent Dupont
c5376f3055 tests/conn_can: reduce size of pkt buffers 2019-09-10 13:01:28 +02:00