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

4084 Commits

Author SHA1 Message Date
Jose Alamos
c39f94ba88
tests/kconfig: add features check 2020-06-02 17:42:17 +02:00
8ed6f18ee8
tests/periph_rtt: fix invalid RTT_FREQUENCY set for non stm32f1 2020-05-30 19:07:50 +02:00
Benjamin Valentin
96a3e91c3d tests/periph_timer_periodic: add test for periodic timer 2020-05-28 17:37:42 +02:00
Martine Lenders
a38428b8f2
Merge pull request #13701 from miri64/lwip_sock/enh/recv_buf
lwip_sock: provide implementation for `sock_*_recv_buf()`
2020-05-26 21:33:09 +02:00
b44b8201df
Merge pull request #14134 from benpicco/drivers/edbg_eui
drivers/edbg_eui: add driver to get MAC address from Atmel EDBG
2020-05-26 11:36:18 +02:00
Benjamin Valentin
616ebf9cfb drivers/edbg_eui: add driver to get MAC address from Atmel EDBG
The EDBG debugger on the `samr21-xpro` contains a unique 64 bit address
intended to be used as a MAC address for the internal radio.

This adds a driver to read that EUI-64 from the debugger, it should match
with the MAC address printed on the label on the board.
2020-05-26 10:44:11 +02:00
00bca8c57d
tests/buttons: remove unused xtimer dependency 2020-05-25 18:14:41 +02:00
Martine Lenders
0ba2df9b4e
Merge pull request #7271 from haukepetersen/add_phydat_tojson
sys/phydat: added phydat to JSON converter
2020-05-22 09:08:18 +02:00
ba20272fb3
Merge pull request #14108 from benpicco/tests/periph_spi-enhance
tests/periph_spi: add benchmark for acquire / release
2020-05-20 20:18:40 +02:00
Benjamin Valentin
a57bd08a11 tests/periph_spi: add benchmark for acquire / release 2020-05-20 19:34:07 +02:00
Leandro Lanzieri
2a8d6920e6
Merge pull request #13989 from akshaim/Kconfig_tmp00x_1
drivers/tmp00x : Expose Configurations to Kconfig
2020-05-20 17:48:18 +02:00
Benjamin Valentin
1178c82a98 tests/periph_spi: introduce _xtimer_diff_usec()
Don't repeat yourself.
2020-05-20 17:48:15 +02:00
Akshai M
94d6b898fc drivers/tmp00x : Add CONFIG_
Add CONFIG_ prefix to compile configurations
2020-05-20 19:09:48 +05:30
Hauke Petersen
3c07a3f751 tests: added unittests for phydat 2020-05-20 15:29:24 +02:00
benpicco
70543bba1d
Merge pull request #13275 from miri64/gnrc_ipv6_ext_opt/feat/initial
gnrc_ipv6_ext_opt: initial import
2020-05-20 14:35:58 +02:00
Martine S. Lenders
f6bd0705a1
tests: provide tests for gnrc_ipv6_ext_opt 2020-05-20 12:34:04 +02:00
ae88f1e079
Merge pull request #14102 from MrKevinWeiss/pr/test/spi/defaultcs
tests/periph_spi: Expose default SPI CS pins
2020-05-20 12:09:06 +02:00
benpicco
e7bf1ef706
Merge pull request #13654 from benpicco/serpente-r2
boards/serpente: add serpente board
2020-05-20 11:31:40 +02:00
MrKevinWeiss
867df82ced tests/periph_spi: Expose default SPI CS pins
Expose the option to use default cs pins defined as DEFAULT_SPI_CS_PORT and DEFAULT_SPI_CS_PIN.
This is used if a wiring environment is already defined.
CFLAGS can be used to define the CS pin from the environment provided allowing easier automation of tests.
2020-05-20 10:44:57 +02:00
Benjamin Valentin
cddb929d0c boards/serpente: add serpente board
See https://serpente.solder.party
2020-05-20 10:39:38 +02:00
benpicco
f3dddd6127
Merge pull request #14068 from miri64/sock_util/enh/netif-str2ep
sock_util: add interface descriptor parsing to str2ep
2020-05-19 23:59:32 +02:00
benpicco
fbad1dff01
Merge pull request #14087 from bergzand/pr/tests/periph_spi/add_thread_time
tests/periph_spi: Add thread runtime stats
2020-05-19 16:37:54 +02:00
Martine S. Lenders
991c2e9ec4
tests/unittests: amend sock_util tests for interface parsing 2020-05-19 14:57:41 +02:00
b3cb03ae90
tests/periph_spi: Fix column alignment 2020-05-19 14:21:20 +02:00
7c44208e64
tests/periph_spi: Convert printf specifier to PRIu32 2020-05-19 14:20:42 +02:00
788d186725
tests/periph_spi: Add thread runtime stats
This commit extends the periph_spi benchmark with timing statistics for
the thread runtime, counting only the time the thread initiating the SPI
request is busy with the SPI transfer. This is useful to measure timings
on SPI transfers when DMA and other async mechanisms are used to
transfer the bytes
2020-05-19 14:17:46 +02:00
Cenk Gündoğan
8f4583cb5e tests: dns: use correct macro names 2020-05-19 11:33:28 +02:00
Marian Buschsieweke
0b2ee71285
Merge pull request #14094 from benpicco/tests/periph_pwm-atmega
tests/periph_pwm: limit OSC_STEPS to 256 so the test works on all platforms
2020-05-16 21:04:44 +02:00
Benjamin Valentin
6ba4225eed tests/periph_pwm: limit OSC_STEPS to 256 to work on all platforms
The ATmega PWM implementation only supports a maximum resolution of 256.
Thus when running `osci` with `OSC_STEPS` = 1000 an assertion will fail and
the test crashes, even though the PWM peripheral works perfectly fine.

Limit OSC_STEPS to 256 so it works on all platforms.
The LED flashing doesn't look any more coarse.
2020-05-16 18:57:06 +02:00
Marian Buschsieweke
70f24edd03
cpu/atmega32u4: Clean up
- Drop duplicated `cpu.c` and `cpu_conf.h`: Those are already provided by
  `cpu/atmega_common`.
- The higher values for default stack size of `cpu_conf.h` in
  `cpu/atmega_common` results in three tests no longer fitting the available RAM
  ==> Updated the Makefile.ci to skip linking of those tests for the Arduino
      Leonardo
2020-05-15 11:23:05 +02:00
Francisco
1f9d299492
Merge pull request #13196 from HendrikVE/shell-readline-refactor
sys/shell: refactor readline function
2020-05-14 15:32:45 +02:00
Martine Lenders
b031337e29
Merge pull request #14066 from jue89/fix/fmt_hex_bytes_null
sys/fmt: add fmt_hex_bytes size probing
2020-05-12 18:29:52 +02:00
Juergen Fitschen
aeb1230266 sys/fmt: add fmt_hex_bytes size probing 2020-05-12 17:39:25 +02:00
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