673ba21b9e
Merge pull request #14045 from benpicco/mtd_mapper_sectors
...
mtd_mapper: count offset in sectors
2020-05-12 13:47:12 +02:00
Benjamin Valentin
81b07895af
mtd_mapper: count offset in sectors
...
The offset of MTD regions must be aligned with erase sectors.
So in order not to waste address space, avoid misconfiguration and
eventually support storage media > 4 GiB, give the offset in sectors
instead of bytes.
2020-05-12 12:02:05 +02:00
Jannes
f0e994532a
tests/conn_can: Add can tranceiver
...
- Add tja1042 pin configuration to tests/can_trx
- Add ncv7356 pin configuration to tests/can_trx
- Add can transceivers to tests/conn_can
- Add tja1042 pin configuration to tests/conn_can
- Add ncv7356 pin configuration to tests/conn_can
- rename print functions
- Add to CFLAGS
2020-05-11 14:10:42 +02:00
Leandro Lanzieri
2d1d13d452
Merge pull request #14028 from miri64/gnrc_pktdump/fix/opt-deps
...
gnrc_pktdump: fix dependencies
2020-05-08 08:53:31 +02:00
Ken Bannister
10a479c1c5
Merge pull request #13935 from cgundogan/pr/nanocoap/proxy_uri_parsing
...
nanocoap: add coap_get_proxy_uri()
2020-05-07 06:14:19 -04:00
fabian18
d52c7167bc
Revert "tests/driver_at25xxx: adapt to change in driver API"
...
This reverts commit 6ca7ac949a
.
2020-05-06 20:24:27 +02:00
fabian18
a3a1c160ee
mtd: Change API to return 0 on success
...
Returning the number of bytes written/read could return a negative integer
because a uint32_t is expected for the length in read()/write() operations.
2020-05-06 20:24:27 +02:00
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
Martine S. Lenders
8ff77f6444
tests/gnrc_netif: fix test script for empty payload
...
With the rework of `gnrc_pktdump` it does not try to print packets with
empty payload anymore. This needs to be reflected in the test script.
2020-05-06 10:46:59 +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