1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-21 20:43:50 +01:00

6653 Commits

Author SHA1 Message Date
95a2456457
Merge pull request #16330 from kfessel/p-add-clist-special
core/clist: add special cardinality tests and matching unittest
2021-04-15 12:14:58 +02:00
Hauke Petersen
9bd65efe12 tests/nimble_l2cap: fix missing xtimer.h include 2021-04-15 08:21:56 +02:00
Karl Fessel
5735d99971 core/clist: add special cardinality tests and matching unittest
adds clist_exactly_one() and clist_more_than_one()
and a unittest that tests them
2021-04-14 21:00:10 +02:00
Karl Fessel
1dde0f42d4 core/sched: keep scheduler clist internal to sched
adds sched_runq_advance(prio)
used it in core/thread and
test malloc_thread_safety
2021-04-14 09:53:04 +02:00
Martine Lenders
33ca462af6
Merge pull request #16325 from miri64/tests/fix/tests-rtc
tests/unittests/tests-rtc: do not use DST info for normalization
2021-04-13 18:16:47 +02:00
benpicco
0ede891755
Merge pull request #16223 from chrysn-pull-requests/dac-dds-int-range
tests/dac_dds: Fix sine wave to fit in PCM range
2021-04-13 14:57:58 +02:00
Martine Lenders
873b71c3e9
tests/unittests/tests-rtc: do not use DST info for normalization
`rtc_tm_normalize` does not use it, so `mktime` should not either.
2021-04-13 14:37:19 +02:00
benpicco
bd6114ae9d
Merge pull request #16187 from benpicco/cpu/sam0_common/get_tamper
cpu/sam0_common: add rtc_get_tamper_event()
2021-04-13 14:11:46 +02:00
benpicco
fa8057ffbf
Merge pull request #16180 from nicoHarel/drivers/ds3231
drivers/ds3231: add alarm support
2021-04-13 13:57:16 +02:00
Francisco
2f28ad4f1c
Merge pull request #16231 from maribu/tests/malloc_thread_safety
tests/malloc_thread_safety: improve test
2021-04-13 11:00:16 +02:00
Benjamin Valentin
55c95cd8fd tests/periph_gpio: display tamper wake event 2021-04-13 10:45:16 +02:00
Leandro Lanzieri
58ec967cc6
Merge pull request #16264 from MrKevinWeiss/pr/pkgupdate/kconfig
pkg/*/Kconfig: Model simple pkgs in Kconfig
2021-04-12 19:01:18 +02:00
Hauke Petersen
9926e33751
Merge pull request #15782 from haukepetersen/opt_sema_ztimer
sys/sema: allow to use ztimer and/or xtimer
2021-04-12 14:44:31 +02:00
Francisco
505dcb7a62
Merge pull request #16314 from miri64/tests/enh/periph_rtt_min
tests/periph_rtt_min: harden test
2021-04-12 14:11:41 +02:00
Hauke Petersen
4cd9e96066 tests/sema: add test for sema_wait_timed_ztimer() 2021-04-12 13:08:39 +02:00
Martine Lenders
fc6dc25da4 tests/periph_rtt_min: harden test
- Better self-containment: read number of expected samples from output
  rather than the environment
- Less reliance on `stdout` timing: Count samples in application and
  output it rather then counting flushed dots.
2021-04-12 11:56:25 +02:00
iosabi
9974803f43 tests/lwip: Add a test for partial TCP reads.
Add a new test to check the behavior of `sock_tcp_read` when more data
is available in the connection than the buffer passed. This test checks
issue #16124 as well as reading from multiple small network packets into
a single buffer.
2021-04-10 17:14:11 +00:00
6ee94bdcdf
Merge pull request #16222 from fjmolinas/pr_driver_sgp30
driver/sgp30: initial import
2021-04-09 14:00:38 +02:00
f48aba5035 tests/unittests: add clist_is_empty() test case 2021-04-09 10:54:29 +02:00
MrKevinWeiss
600e9f4e47 tests/pkg*: Add app.config.test to pkg tests
This adds app config to the package tests that are available:

- tests/pkg_c25519
- tests/pkg_cayenne-lpp
- tests/pkg_cifra
- tests/pkg_cn-cbor
- tests/pkg_emlearn
- tests/pkg_hacl
- tests/pkg_heatshrink
- tests/pkg_jsmn
- tests/pkg_libb2
- tests/pkg_libcose
- tests/pkg_libfixmath
- tests/pkg_libhydrogen
- tests/pkg_lora-serialization
- tests/pkg_micro-ecc
- tests/pkg_minmea
- tests/pkg_monocypher
- tests/pkg_nanocbor
- tests/pkg_nanopb
- tests/pkg_qcbor
- tests/pkg_qdsa
- tests/pkg_relic
- tests/pkg_tiny-asn1
- tests/pkg_tinycbor
- tests/pkg_tinycrypt
- tests/pkg_tweetnacl
- tests/pkg_yxml
2021-04-08 16:44:10 +02:00
benpicco
6ce9db6df8
Merge pull request #16287 from nandojve/avr8_xmega-a3bu_xpld
boards: Introduce atxmega-a3bu-xplained board
2021-04-08 13:19:04 +02:00
Francisco Molina
6c4cb07a2f
tests/driver_sgp30: initial import 2021-04-08 10:14:30 +02:00
Leandro Lanzieri
e7732d9a00
Merge pull request #16217 from fjmolinas/pr_driver_sm_pwm_01c
drivers/sm_pwm_01c: initial import
2021-04-08 09:04:38 +02:00
Gerson Fernando Budke
6149531684 boards: Introduce atxmega-a3bu-xplained board
Add initial version.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-04-07 20:06:11 -03:00
Francisco Molina
a886c311e8
tests/driver_sm_pwm_01c: initial import 2021-04-07 12:05:09 +02:00
Francisco Molina
424192fbe7
sys/progress_bar: add Konfig configuration 2021-04-07 12:05:00 +02:00
Nicolas Harel
c710aff9c6 drivers/ds3231: add alarm support
tests/driver_ds3231

drivers/ds3231: add alarm support with IRQ

drivers/ds3231: alarm support and documentation

drivers/ds3231: alarm interrupt with mutex

drivers/ds3231: alarm, _unlock function

fixup! drivers/ds3231: add alarm support
2021-04-06 14:48:31 +02:00
Peter Kietzmann
f3482071e1
Merge pull request #16179 from leandrolanzieri/dev/net/sock/dtls_multi_cred
net/sock/dtls: allow using multiple credentials
2021-04-06 10:04:45 +02:00
Francisco
73ccd1e2e7
Merge pull request #15540 from JulianHolzwarth/pr/software/test/sema
tests/sema/: added simple sema test
2021-04-02 22:03:36 +02:00
JulianHolzwarth
20a3a929c8
tests/sema/: added sema test 2021-04-02 19:40:33 +02:00
Francisco
9d1d2f9e21
Merge pull request #16172 from kfessel/p-zimer-sec
sys/ztimer: add ZTIMER_SEC, improve auto_init
2021-04-02 08:32:38 +02:00
Karl Fessel
febfa5bc62 tests/ztimer_xsec: add a simple high level ztimer test 2021-04-01 18:19:15 +02:00
Marian Buschsieweke
fc3e0b6055 tests/ztimer_underflow: allow testing ZTIMER_SEC 2021-04-01 15:31:40 +02:00
Marian Buschsieweke
cc92a0aea3 tests/ztimer_msg: Allow testing ZTIMER_SEC 2021-04-01 15:31:40 +02:00
Leandro Lanzieri
88d94daeb6
tests: add atmega328p-xplained-mini to insufficient memory list 2021-04-01 10:33:48 +02:00
Leandro Lanzieri
835589a301
tests/pkg_tinydtls_sock_async: add missing ID to server PSK 2021-04-01 09:47:39 +02:00
benpicco
cb06924fb2
Merge pull request #16239 from nandojve/xplained-mini
boards: introduce atmega328p-xplained-mini
2021-03-31 13:37:56 +02:00
Hauke Petersen
98de4b968a tests: add event_wait_timeout_ztimer test app 2021-03-31 10:11:51 +02:00
Marian Buschsieweke
02e069a357
tests/malloc_thread_safety: improve test
- fix false test failure on picolibc
    - For picolibc, the result of mallinfo().uordblks doesn't go back
      to zero after the first allocation. By adding `free(malloc(4))`
      before recording the pre-test mallinfo() value, this issues is
      worked arround
- increase test coverage to also cover realloc()
- ease testing with picolibc by allowing `make PICOLIBC=1 flash test`
2021-03-31 09:17:50 +02:00
Alexandre Abadie
18a0889bc4
Merge pull request #16177 from aabadie/driver_llcc68
drivers: add support for sx1261/2 and llcc68 radio devices
2021-03-30 19:02:27 +02:00
Alexandre Abadie
c8e343a590
tests/driver_sx126x: add test application 2021-03-30 16:12:39 +02:00
Marian Buschsieweke
49a5bfb9e5
tests/periph_rtt: be more verbose on error
If `rtt_get_alarm()` doesn't return the correct value, print expected
and return value to ease debugging.
2021-03-30 14:48:03 +02:00
Marian Buschsieweke
85eebf9e79
Merge pull request #16189 from benpicco/tests/bench_msg_pingpong-cleanup
tests/bench_msg_pingpong: cleanup
2021-03-30 10:58:37 +02:00
Dylan Laduranty
c9cf60db20
Merge pull request #16181 from h-filzer/bastwan
boards/bastwan: Support BastWAN Board
2021-03-27 21:54:53 +01:00
Gerson Fernando Budke
4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
Lokotius
303ac4ded2 boards/bastwan: Support BastWAN Board
This board is based on rak4260 with rak specific pinmappings.
ADC, LED and UART as well as USB ist supposed to work.
Mostly adopted from SAM R34 Xplained Pro board with adoption to rak pinout.
2021-03-25 16:21:18 +01:00
Joakim Nohlgård
821eb21861 tests/fault_handler: Fix pedantic warnings about signed/unsigned 2021-03-24 12:07:26 +01:00
Joakim Nohlgård
f24e835c71 tests/cpu_efm32_features: Add missing include stdio.h
for puts
2021-03-24 12:07:20 +01:00
Joakim Nohlgård
1f710f94e6 tests/cortexm_address_check: Add missing include inttypes.h
for PRIx32
2021-03-24 12:07:15 +01:00
chrysn
4596f79c95 tests/dac_dds: Fix sine wave to fit in PCM range
The previous sine wave cast signed integers into the PCM range, causing
jumps at zero transitions. This shifts everything up by the respective
maximum signed integer, so that the signed idle zero becomes the
unsigned PCM signal's idle half-point and can continuously cover the
whole unsigned range.
2021-03-24 00:35:19 +01:00