Oleg Hahm
273486be78
examples: tests: unify native arguments for ZEP
2023-12-18 20:00:44 +01:00
Oleg Hahm
99ff9bad03
examples: tests: update native TERMFLAGS
...
Updating the Makefiles for example and test applications to set the
TERMFLAGS correctly for native.
2023-12-18 13:44:20 +01:00
Oleg Hahm
2b779fc5a9
native: only set TERMFLAGS for pyterm
...
If TERMPROG is unset the default is pyterm. If TERMPROG is pyterm we
need to set the native flag.
2023-12-18 13:44:20 +01:00
Marian Buschsieweke
59573a8678
Merge pull request #20178 from Einhornhool/pr/fix-psa-build-config-tests
...
tests/sys/psa_crypto*: Fix failing tests
2023-12-16 22:27:55 +00:00
Lena Boeckmann
359cacd62c
tests/sys/psa_crypto_*: increase stack size for sw ecc tests
2023-12-16 22:08:16 +01:00
Lena Boeckmann
38db021456
tests/sys/psa_crypto_se*: remove test folders from se tests
2023-12-14 13:13:33 +01:00
benpicco
690efb2655
Merge pull request #20128 from benpicco/tests/periph/uart-nl
...
tests/periph/uart: allow to set line ending
2023-12-13 22:11:54 +00:00
benpicco
6eac1e1761
Merge pull request #15380 from benpicco/mtd_drop_write
...
mtd/*: drop .write() if .write_page() is implemented
2023-12-13 20:35:53 +00:00
Benjamin Valentin
3b489cf2f5
tests/mtd_mapper: drop .write() function
2023-12-13 16:56:51 +01:00
Benjamin Valentin
d525807598
unittests/tests-mtd: expect mtd_write() to always succeed
...
The MTD layer now takes care of splitting up writes, so it
should always work (as long as the destination address is
within the memory region)
2023-12-13 16:50:41 +01:00
Oleg Hahm
cb7a66d66b
tests: build_system: replace broken wiki link with link to docs
2023-12-13 12:24:58 +01:00
Frederik Haxel
4a1d07ab64
tests/unittests/tests-hashes: fixes wrong string length
2023-12-11 14:15:50 +01:00
Marian Buschsieweke
bb07bb6613
Merge pull request #20160 from maribu/cpu/msp430/timer
...
cpu/msp430: improve periph_timer
2023-12-10 13:02:30 +00:00
Marian Buschsieweke
eca0bdd5aa
examples,tests: Update Makefile.ci
s
2023-12-10 13:51:04 +01:00
benpicco
67df59b0be
Merge pull request #20104 from gschorcht/drivers/mtd/mtddev_declarations
...
boards: remove `extern mtd_dev_t *mtd<n>` declarations from board definitions
2023-12-07 15:25:37 +00:00
Marian Buschsieweke
aa045d540f
tests/periph/timer: fix timeout computation and overflow handling
...
- the timeout computation for the spurious IRQ test confused numerator
and denominator in a fraction
- the timeout offset between timer channels was hardcoded to 5000 from
when the timer was only tested with 1 MHz as frequency
- This resulted in slooooow test runs when running at slow
frequencies
- fix overflow handling in the spinning wait
- likely this would never overflow anyway assuming that
`timer_init()` resets the counter value, but let's not rely on
this and just fix the bug for good
2023-12-07 16:07:24 +01:00
Gunar Schorcht
c93f0a70d4
tests/pkg/fatfs_vfs: replace external mtd0
declaration
...
Since the `extern mtd_dev_t *` declarations were removed from board definitions, `mtd_dev_get` has to be used instead.
2023-12-07 15:32:49 +01:00
Gunar Schorcht
1ad92d458f
tests/pkg/fatfs: replace external mtd0
declaration
...
Since the `extern mtd_dev_t *` declarations were removed from board definitions, `mtd_dev_get` has to be used instead.
2023-12-07 15:32:49 +01:00
Gunar Schorcht
cfc2232f11
tests/unittests: fix MTD unit test compilation
2023-12-07 15:32:49 +01:00
Marian Buschsieweke
8e67ee31ef
tests/periph/timer: rename speed --> timer_freq
2023-12-07 15:02:36 +01:00
Marian Buschsieweke
0097692b80
Merge pull request #16349 from maribu/periph_timer_query_freq
...
drivers/periph_timer: add timer_query_freqs()
2023-12-05 17:16:23 +00:00
Marian Buschsieweke
c05388faf5
Merge pull request #20152 from maribu/tests/sys/psa_crypto_se_cipher
...
tests/sys/psa_crypto_se_cipher: disable test on esp32-wroom-32
2023-12-05 16:16:09 +00:00
Marian Buschsieweke
754bbe4e6d
tests/sys/psa_crypto_se_cipher: disable test on esp32-wroom-32
...
The test fails systematically on the CI and prevents merging PRs.
2023-12-05 16:49:30 +01:00
Martine Lenders
7d1d776b86
Merge pull request #20151 from maribu/tests/net/gnrc_sixlowpan_frag_sfr_congure_impl
...
tests/net/gnrc_sixlowpan_frag_sfr_congure_impl: disable test on native
2023-12-05 15:25:00 +00:00
Marian Buschsieweke
3bc6494004
tests/periph_timer: use periph_timer_query_freqs
...
If the feature periph_timer_query_freqs is provided, use the
corresponding function to iterate over all supported frequencies to
increase test coverage.
2023-12-05 16:07:27 +01:00
Marian Buschsieweke
5b7a1bed2f
tests/net/gnrc_sixlowpan_frag_sfr_congure_impl: disable test on native
...
This test sporadically failed on multiple machines compiled with both
GNU and LLVM toolchains. To not waste more CI time by sporadically
failing unrelated CI runs, let's disable the test for now.
2023-12-05 15:48:26 +01:00
Marian Buschsieweke
167a70cd0f
tests/sys/psa_crytpo_se: disable test on esp32-wroom-32
2023-12-05 15:09:01 +01:00
Marian Buschsieweke
82d98ed377
examples, tests: update Makefile.ci for AVR8
...
Ran dist/tools/insufficient_memory for all AVR8 boards.
2023-12-01 19:37:05 +01:00
834e2a5fe4
Merge pull request #20124 from chrysn-pull-requests/allow-all-clean
...
tests/touch_dev_gestures: Fix default board
2023-12-01 09:32:22 +00:00
MrKevinWeiss
98e9016baa
tests/sys/psa_crypto_*: Update BOARD_INSUFFICIENT_MEMORY
2023-11-30 21:02:47 +01:00
Lena Boeckmann
de09b2a0b4
sys/psa_crypto: Build PSA Crypto functions based on module selection
2023-11-30 21:02:42 +01:00
Benjamin Valentin
53a1dbfda3
tests/periph/uart: allow to set line ending
2023-11-30 19:57:07 +01:00
chrysn
bf77808ea6
tests/touch_dev_gestures: Fix default board
2023-11-30 16:17:08 +01:00
Marian Buschsieweke
0887218224
Merge pull request #20118 from maribu/tests/periph/spi
...
tests/periph/spi: allow use on more boards
2023-11-30 11:11:54 +00:00
Marian Buschsieweke
b90f985d47
tests/periph/spi: allow use on more boards
...
- Disable the benchmark on low memory boards
- Reduce the help message length on low memory boards
- Update to new shell command interface using XFA
2023-11-30 11:10:04 +01:00
Mikolai Gütschow
6935ea21e7
sys/hashes: add SHA-512 support
2023-11-29 19:18:51 +01:00
Benjamin Valentin
b8ec36aef3
tests/unittests: coap_get_code() -> coap_get_code_decimal()
2023-11-28 13:11:11 +01:00
benpicco
c93a5b84a3
Merge pull request #20020 from gompper/periph/freqm
...
drivers/include/periph: add FREQM peripheral driver
2023-11-27 16:06:52 +00:00
Urs Gompper
4a9ae47499
tests/periph: add test-application for peripheral freqm
2023-11-23 20:53:14 +01:00
Marian Buschsieweke
fb9abe3626
tests/periph/selftest_shield: fix a misplaced comment
...
Move it to the correct place
2023-11-22 10:29:33 +01:00
Marian Buschsieweke
64b95a34e9
tests/periph/selftest_shield: improve output on error
...
Use `tiny_strerror()` to report back errors when calling initialization
functions.
2023-11-22 10:29:33 +01:00
Marian Buschsieweke
57488a57ab
tests/periph/selftest_shield: timer allocation conflict
...
- Detect when the same timer is used by `ztimer` (pulled in as
dependency for a peripheral driver, e.g. `periph_adc` on STM32F3) and
the test application
- Try to provide a better default (e.g. `TIMER_DEV(1)` when
`ztimer_periph_timer` is in use, `TIMER_DEV(0)` otherwise)
2023-11-20 17:17:26 +01:00
Marian Buschsieweke
4e7f972303
Merge pull request #20089 from maribu/tests/periph/selftest_shield2
...
tests/periph/selftest_shield: improve SPI test
2023-11-16 14:39:38 +00:00
Karl Fessel
8a9fdf4661
Merge pull request #20062 from derMihai/at_fix_pr
...
drivers/at: fix URC collision with command response
2023-11-16 12:04:48 +00:00
Marian Buschsieweke
14ff958659
Merge pull request #20083 from maribu/tests/periph/selftest_shield
...
tests/periph/selftest_shield: re-enable ADC test
2023-11-16 12:04:00 +00:00
Marian Buschsieweke
66d38101d8
tests/periph/selftest_shield: Consistently use DETAILED_OUTPUT
...
There already is `DETAILED_OUTPUT` to trade ROM size for more verbose
error messages, no need to abuse `DEBUG()` for the same as well.
2023-11-16 12:59:50 +01:00
Marian Buschsieweke
f51ca593ba
tests/periph/selftest_shield: re-enable ADC test
...
The R-2R resistor ladder dac --> ADC test was disabled due to a bug in
the v0.1 version of the shield. Since this has been fixed in v0.2 and
v0.3 of the shield, it can be re-enabled.
The comment regarding the high accuracy of the resistor is dropped, as
v0.3 has been ordered with cost efficient resistors rather than with
accurate ones. As a result, the tolerance for error has been increased
to 10%. This quite a bit more lax than I have hoped for, but false
positives would be something to avoid.
2023-11-16 12:59:50 +01:00
Marian Buschsieweke
af6bb03bc7
tests/periph/selftest_shield: improve SPI test
...
- fix a copy-paste error (`TIMER_FREQ_UART_TEST` was used in the SPI
test, but that should be `TIMER_FREQ_SPI_TEST`)
- use 400 kHz as slow SPI frequency, as faster STM32 MCUs just cannot
divide the APB clock down to 100 kHz
- when detailed output is enabled, print the SPI clock in addition to
the SPI mode to ease figuring out what went wrong
- only have one `FAILURE` message for a too fast byte transfer per
check, rather than per transmitted byte, to reduce the noise
- work around a bug of `periph_timer` on STM32 by reducing the clock
speed of the timer for the SPI test
2023-11-15 20:29:53 +01:00
benpicco
a24066be93
Merge pull request #20082 from maribu/board/nucleo-f030r8
...
boards/nucleo-f030r8: enable SPI and I2C
2023-11-14 13:18:35 +00:00
Marian Buschsieweke
6b30f5cd1b
tests: add nucleo-f030r8 to Makefile.ci where needed
2023-11-14 12:55:28 +01:00