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

4039 Commits

Author SHA1 Message Date
Vincent Dupont
49358e2763 unittests/tests-mtd: add a test to check read spanning pages 2020-05-06 16:36:29 +02:00
benpicco
8e11acc9f8
Merge pull request #13877 from ML-PA-Consulting-GmbH/feat/20200409__add_mtd_spi_eeprom
drivers/mtd_spi_eeprom: add MTD wrapper for AT25XXX EEPROMs
2020-05-06 15:56:34 +02:00
8ffd34ddd0
Merge pull request #12776 from maribu/test_event_wait_timeout
tests/event_wait_timeout: Fix for 8bit platforms
2020-05-05 21:33:06 +02:00
Francisco
cea0d1c532
Merge pull request #13421 from benpicco/cpu/sam0_common/i2c-deinit
drivers/periph/i2c: add periph_i2c_reconfigure feature & implementation for sam0
2020-05-05 19:09:47 +02:00
343dc3f90f
Merge pull request #13909 from fjmolinas/pr_stm32_rtt
cpu/stm32_common: make RTT_FREQUENCY configurable
2020-05-05 16:45:39 +02:00
Benjamin Valentin
896f9db71f tests/periph_i2c: add tests for periph_i2c_reconfigure features
Add a test to re-configure the I2C pins to GPIO functionality and
use them as output.

A small delay is added to allow for observing the change in power
draw.
2020-05-05 16:12:19 +02:00
Johannes Koster
177a653bd1 drivers/at25xxx: add MTD wrapper for AT25XXX EEPROMs
drivers/at25xxx: add mtd_wrapper as submodule

tests: add mtd_at25xxx test module for mtd wrapper

drivers/Makefile.dep: add at25xxx dep for mtd_at25xxx module
2020-05-05 13:37:51 +01:00
Francisco Molina
c95d02dfd5
tests/periph_rtt: lower RTT_FREQUENCY for stm32 boards
All stm32% but stm32f1 RTT are based on a 16 bit LPTIM, if using
the default 32768KHz configuration TICKS_TO_WAIT will overflow
2020-05-05 14:36:32 +02:00
d3e18c0ec4
Merge pull request #13025 from JulianHolzwarth/pr/xtimer_test_overflow
tests: New test for xtimer_now with interrupts disabled
2020-05-05 12:16:38 +02:00
JulianHolzwarth
fbfe7a4d7b tests/xtimer_rmutex_lock_timeout: new test
this implements a new test for sys/xtimer/xtimer.c: xtimer_rmutex_lock_timeout
The test is similar to tests/xtimer_mutex_lock_timeout
2020-05-04 17:56:08 +02:00
Marian Buschsieweke
51c19d5b6b
tests: Add test for irq_disable() / irq_restore() 2020-05-04 12:52:39 +02:00
JulianHolzwarth
921d9cf633 tests/xtimer_now_irq/: New test for xtimer_now() with irq_disable()
This test checks, if the timer returns the correct time (xtimer_now_usec() is called), when interrupts are disabled. Specifically tested is if the time is correct after a low-level timer overflow.
2020-05-01 15:37:51 +02:00
benpicco
99e8b04921
Merge pull request #13812 from gschorcht/cpu/esp32/fix_newlib_nano
cpu/esp32: use module newlib_nano
2020-05-01 14:40:02 +02:00
benpicco
2284c48175
Merge pull request #13757 from benpicco/pm_unblock_rtc
tests/periph_pm: introduce set_rtc
2020-05-01 14:14:53 +02:00
benpicco
c754e0ab3c
Merge pull request #13739 from Ciusss89/_dev
test: conn_can: add remote request test
2020-05-01 14:11:41 +02:00
Francisco
919249f361
Merge pull request #13862 from maribu/extra_boards
Makefile*: Allow multiple external board dirs
2020-04-29 20:12:06 +02:00
Marian Buschsieweke
93f8f8cd84
tests/external_board_native: Extended readme
Added a note to explain why the deprecated variable BOARDSDIR is still used.
2020-04-29 18:32:39 +02:00
Marian Buschsieweke
b0964675f1
tests,examples: Use EXTERNAL_BOARD_DIRS 2020-04-29 18:32:39 +02:00
Marian Buschsieweke
cf379660e9
tests/external_board_dirs: Test app for EXTERNAL_BOARD_DIRS 2020-04-29 18:32:39 +02:00
Benjamin Valentin
bb3995b462 tests/periph_pm: introduce set_rtc
Similar to unblock_rtc, but uses `pm_set()` instead of `pm_unblock()`.
2020-04-29 18:06:36 +02:00
Benjamin Valentin
ffdb115ffe tests/periph_pm: drop use of mktime()
The RTC implementation are expected to normalize the input struct.
2020-04-29 18:04:27 +02:00
9a4537eef6
Merge pull request #13976 from maribu/pm_get_blocker
sys/pm: Add pm_get_blocker()
2020-04-29 12:37:15 +02:00
2af3ea586a
Merge pull request #13947 from benpicco/riot-bus_multibus
core/msg: add message bus
2020-04-29 12:24:12 +02:00
Marian Buschsieweke
f6873dbac3
sys/pm: Add pm_get_blocker()
Provide access to pm_blocker via a well-defined API rather than hacks.
2020-04-29 11:21:03 +02:00
b04d354640
tests/periph_eeprom: use native as default board 2020-04-29 08:56:34 +02:00
decd73129c
tests/periph_eeprom: improve automatic test script
Reboot the application and verify data previously written on EEPROM by the test command are still there
2020-04-29 08:55:10 +02:00
Leandro Lanzieri
b543fbd69d
Merge pull request #13879 from aabadie/pr/sys/touch_dev
sys/touch_dev: add generic API for touch device
2020-04-28 18:58:25 +02:00
f22529ec71
Merge pull request #11731 from benemorius/tests-periph_pm-ux
tests/periph_pm: make usage more intuitive and move shell commands to sys/
2020-04-28 18:52:09 +02:00
804cc8cbd7
tests: add new boards in low memory blacklists 2020-04-28 18:35:17 +02:00
benpicco
96c638f2d1
Merge pull request #13949 from benpicco/MAKEFILEDIR-doc
Makefile.include: update the documentation of $(MAKEFILEDIR)
2020-04-28 18:30:44 +02:00
6778e34032
tests/touch_dev: add test application 2020-04-28 18:18:01 +02:00
Thomas Stilwell
325ab426d4
sys/shell/commands: pm: add set mode block mode unblock mode 2020-04-28 16:56:34 +02:00
Thomas Stilwell
aa97e7b49a
tests/periph_pm: be more verbose about what pm_set() is doing 2020-04-28 16:51:24 +02:00
Thomas Stilwell
90579e81c9
tests/periph_pm: print current PM blockers on startup 2020-04-28 16:51:24 +02:00
Thomas Stilwell
100390cdca
tests/periph_pm: print block/unblock error instead of assertion failure 2020-04-28 16:51:23 +02:00
Benjamin Valentin
d5dce87e1b Makefile.include: rename MAKEFILEDIR to LAST_MAKEFILEDIR
Rename the variable to make it clearer that it refers to the last Makefile
included.
Usually this is the current file, but when another Makefile is included this
changes.
2020-04-28 15:45:27 +02:00
Benjamin Valentin
950c18db42 tests/thread_msg_bus: add test application for message bus 2020-04-28 13:35:05 +02:00
Leandro Lanzieri
de789169b2
tests/gnrc_dhcpv6_client: Increase timeout 2020-04-27 11:31:48 +02:00
Leandro Lanzieri
153f04f534
tests/gnrc_dhcpv6_client: Fix TERMPROG 2020-04-27 11:27:47 +02:00
Benjamin Valentin
aac593a7c9 tests/periph_uart: fix for !stdio_uart
Only include `stdio_uart.h` if stdio over UART is used.
This makes it possible to use the default stdio UART0
for the test.

This is needed if e.g. the default stdio of a board is USB CDC ACM.
2020-04-26 20:31:28 +02:00
Giuseppe Tipaldi
73ae19e043 test: conn_can: add remote request test example 2020-04-25 10:04:19 +02:00
Giuseppe Tipaldi
1acb24b13e test: conn_can: add remote request test 2020-04-25 10:04:17 +02:00
Marian Buschsieweke
9f75501322
tests/ztimer_msg: Use %lu to print times 2020-04-23 21:18:48 +02:00
Marian Buschsieweke
1b44066dbd
tests/xtimer_msg: Use %lu to print times 2020-04-23 21:16:57 +02:00
Marian Buschsieweke
60aabbec25
tests/event_wait_timeout: Use C11 atomics for IPC
The test currently uses static globals for communication without any protection.
This could lead optimizing C compilers to deduce that access to those are not
needed (e.g. with LTO enabled). Using C11 atomics is the easiest way to tell
the compiler that those accesses are used for communication between two
different threads of execution (here: between the ISR and the main thread).
2020-04-23 21:16:03 +02:00
Cenk Gündoğan
ecc4932d22 unittests/nanocoap: test for adding an unterminated string path 2020-04-22 12:50:50 +02:00
Leandro Lanzieri
46507ff247
Merge pull request #13894 from kb2ma/gcoap/ping
net/gcoap: add CoAP ping request
2020-04-21 12:23:54 +02:00
5293e5400c
Merge pull request #13210 from kaspar030/add_xtimer_left
sys/xtimer: remove uses of xtimer internal struct members
2020-04-21 12:15:41 +02:00
1492dc0655 tests/gnrc_ipv6_nib: memory-blacklist msb-430h 2020-04-21 11:26:57 +02:00
9800b7bf2c tests/bench_timers: remove explicit zeroing of xtimer members 2020-04-21 11:26:57 +02:00