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

4536 Commits

Author SHA1 Message Date
Juergen Fitschen
0440d27d76 tests/evtimer_msg: require xtimer explicitly 2020-09-17 16:58:31 +02:00
benpicco
acf14f8a2b
Merge pull request #15035 from maribu/test_periph_timer_etc
tests/periph_timer_{periodic, short_relative_set}: Drop include of `xtimer.h`
2020-09-17 16:29:36 +02:00
benpicco
2e89cf3398
Merge pull request #15034 from maribu/xtimer_shift_fallback
tests/xtimer_{rmutex,mutex}_lock_timeout: Fix compilation
2020-09-17 16:29:13 +02:00
benpicco
0916d34365
Merge pull request #15033 from maribu/xtimer_includes
{drivers/apds99xx, sys/net/gnrc/netreg}: Drop xtimer includes
2020-09-17 10:37:09 +02:00
Marian Buschsieweke
39ae9ec399
tests/periph_timer_periodic: Don't include xtimer.h
Including xtimer.h without using the xtimer module results in issues on the
waspmote-pro. Thus, drop the include.
2020-09-16 20:28:11 +02:00
Marian Buschsieweke
84f49bb4c8
tests/periph_timer_short_relative_set: Don't include xtimer.h
Including xtimer.h without using the xtimer module results in issues on the
waspmote-pro. Thus, drop the include.
2020-09-16 20:26:01 +02:00
Marian Buschsieweke
ca96ebc882
tests/xtimer_rmutex_lock_timeout: Fix compilation
Let XTIMER_SHIFT fall back to zero to allow compilation with the waspmote-pro
2020-09-16 20:09:50 +02:00
Marian Buschsieweke
4bb1e530bf
tests/xtimer_mutex_lock_timeout: Fix compilation
Let XTIMER_SHIFT fall back to zero to allow compilation with the waspmote-pro
2020-09-16 20:09:42 +02:00
4d1ed718a1
tests/periph_timer: fix typo for boards using 250kHz timer 2020-09-16 19:55:33 +02:00
Marian Buschsieweke
2690b272d9
drivers/apds99xx: Fix includes
The driver does not depend on or use the xtimer module, it should therefore
not include `xtimer.h`. Same for the test, which additionally missed an
include of `mutex.h` (previously implicitly included through `xtimer.h`).
2020-09-16 19:55:22 +02:00
benpicco
5715f5776b
Merge pull request #14804 from bergzand/pr/sam0/gpio_iobus
sam0_common: Use Single-cycle I/O Port for GPIO when available
2020-09-10 23:45:43 +02:00
7ef69ae79b
tests/periph_gpio: Add fast_read feature as optional dependency 2020-09-10 22:13:25 +02:00
benpicco
f75ca11968
Merge pull request #14802 from jia200x/pr/nrf52840_radio_hal
nrf52840: implement Radio HAL
2020-09-10 18:07:51 +02:00
Jose Alamos
5ec4a7fad7 tests/ieee802154_hal: use netdev_default 2020-09-10 17:23:54 +02:00
Jose Alamos
d523ae35a4 tests/ieee802154_hal: add nrf802154 2020-09-10 17:01:14 +02:00
42f2fbef71
Merge pull request #14905 from fjmolinas/pr_openwsn_riot_sched
pkg/openwsn: add riot based openwsn scheduler
2020-09-10 13:23:12 +02:00
Francisco Molina
19494a4db3
pkg/openwsn: add riot based openwsn scheduler 2020-09-10 09:37:43 +02:00
Cenk Gündoğan
0d0bc91553
Merge pull request #14754 from leandrolanzieri/pr/no_archives
build system: link object files
2020-09-10 09:36:29 +02:00
benpicco
df913bf9bf
Merge pull request #14906 from miri64/sock/cleanup/deps
sock: cleanup dependencies
2020-09-09 12:01:28 +02:00
Francisco
cb6b65e7ff
Merge pull request #14886 from miri64/gnrc/fix/circ-deps
gnrc: remove circular module dependencies
2020-09-09 09:06:28 +02:00
Martine Lenders
ec436b9069
Merge pull request #14963 from miri64/gnrc_sock_ip/fix/sock
gnrc_sock_ip: fix NULL pointer dereference
2020-09-08 17:15:25 +02:00
M Aiman Ismail
1a96e32db1 tests/bench_timers: replace _xtimer_set() with _xtimer_set64() 2020-09-08 14:52:05 +02:00
M Aiman Ismail
bc8d55fde9 sys/xtimer: remove _xtimer_set_absolute 2020-09-08 14:21:40 +02:00
Martine S. Lenders
779143cd94
tests/gnrc_sock_ip: add test case to test NULL pointer dereference 2020-09-08 13:05:10 +02:00
Martine S. Lenders
aaafabf43f
tests/gnrc_ndp: use IPv6 nettype to distinguish from payload 2020-09-08 12:53:29 +02:00
Martine S. Lenders
8f7dbc6cde
gnrc_sixlowpan_router_default: don't pull in
For an app, a user usually uses `gnrc_ipv6_router_default` to activate
routing behavior. `gnrc_sixlowpan_router_default` is used by that to
pull in further dependencies for 6LoWPAN routers. It shouldn't pull in
`gnrc_ipv6_router_default` again, as this introduces a cyclic
dependency.
2020-09-08 12:53:28 +02:00
benpicco
a336fdc918
Merge pull request #11263 from miri64/gnrc_netif/new/pktq
gnrc_netif: add packet to queue when device is busy
2020-09-07 13:59:58 +02:00
Martine S. Lenders
4696a773de
examples / tests: pull in sock API not implementation 2020-09-07 08:45:25 +02:00
Leandro Lanzieri
16b5fd303b
drivers: add usbdev_mock 2020-09-04 15:01:16 +02:00
Leandro Lanzieri
81cb769cad
makefiles: avoid building archives when compiling 2020-09-04 15:01:10 +02:00
benpicco
7dfbfd4f50
Merge pull request #14948 from benpicco/feat/puf_sram
features_modules: include puf_sram if used
2020-09-04 14:41:40 +02:00
Benjamin Valentin
f8ee32a8e1 tests/puf_sram: use puf_sram as a feature 2020-09-04 13:50:02 +02:00
Jose Alamos
387deeca4d tests/ieee802154_hal: add test application 2020-09-04 11:09:18 +02:00
Francisco Molina
629ec37944
tests/candev: remove make error 2020-09-03 09:51:47 +02:00
892a681ea4
Merge pull request #14803 from fjmolinas/pr_openwsn_shell_commands
pkg/openwsn: add shell commands
2020-09-02 21:11:35 +02:00
b584a2dadf
Merge pull request #14930 from bergzand/pr/memarray/calloc
memarray: Add memarray_calloc
2020-09-02 19:48:54 +02:00
e7d907ce93
tests/pkg_cn-cbor: Use memarray_calloc for allocations 2020-09-02 19:24:08 +02:00
Francisco Molina
badfa06694
pkg/openwsn: add shell commands 2020-09-02 17:19:00 +02:00
7c5e9625da
Merge pull request #14925 from fjmolinas/pr_rtt_min_socat
tests/periph_rtt_min: force RIOT_TERMINAL socat
2020-09-02 17:15:03 +02:00
Francisco Molina
050fc872b3
tests/periph_rtt_min: adapt test to slow rtt
pyterm only echoes after a \n is received, so use socat instead
so '.' are printed as they are generated. This will make the test
timeout for slow rtts like kinetis.

For these slow paltforms also reduce the sample size.
2020-09-02 15:29:35 +02:00
Martine Lenders
818097f0dc
tests: provide unittests for gnrc_netif_pktq 2020-09-02 12:30:23 +02:00
benpicco
685efe83fb
Merge pull request #14890 from benpicco/cpu/cc2538-wdt
cpu/cc2538: add Watchdog implementation
2020-09-02 11:06:18 +02:00
Martine S. Lenders
b40644614d
tests/pkg_tinydtls_sock_async: fix stack size for event thread 2020-09-01 18:35:46 +02:00
Francisco Molina
723476d5b8 tests/periph_wdt: use different intervals for cc2538
cc2538 only supports 4 intervals, so only test those.
2020-09-01 16:13:36 +02:00
Cenk Gündoğan
538155c344
Merge pull request #14904 from leandrolanzieri/pr/kconfig/change_prefix_convention
treewide: modify Kconfig symbol prefixes
2020-09-01 15:57:06 +02:00
benpicco
95d4a2e29f
Merge pull request #14857 from fjmolinas/pr_tests_pkg_wolfssl
tests/pkg_wolf*: add test scripts and cleanup
2020-09-01 15:45:01 +02:00
Francisco Molina
bb765402c6
tests/pkg_wolfssl: cleanup and add tests 2020-09-01 10:23:12 +02:00
benpicco
d2369a2651
Merge pull request #14902 from gschorcht/periph/gpio/inline_functions_for_valid_and_equal
periph/gpio: use inline functions to test for valid and equal GPIOs
2020-09-01 09:57:52 +02:00
Leandro Lanzieri
5c3f7bde0c
Merge pull request #14780 from fjmolinas/pr_efm32_lpetimer_cleanup
cpu/efm32/timer: cleanups and improvements
2020-08-31 15:41:23 +02:00
Gunar Schorcht
6e18769dbb tests: use inline functions for GPIO comparison
The expandable GPIO API requires the comparison of structured GPIO types. This means that inline functions must be used instead of direct comparisons. For the migration process, tests must first be changed so that they use the inline comparison functions.
2020-08-31 13:11:05 +02:00
Leandro Lanzieri
083b73d71b
Merge pull request #14828 from wosym/candev_native_check
tests/candev: Prevent user from attempting to use native can interface on non-native board
2020-08-31 11:06:02 +02:00
Francisco Molina
8747723392
tests/periph_timer_periodic: remove need for TIMER_CHANNEL_NUMOF 2020-08-31 09:38:33 +02:00
Francisco Molina
6684a593c0
tests/periph_timer: add efm32 boards to 32Khz timer list 2020-08-31 09:38:32 +02:00
Leandro Lanzieri
d25fc243c4
treewide: change prefix for generated Kconfig symbols.
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:

   KCONFIG_MODULE_ => KCONFIG_USEMODULE_
   KCONFIG_PKG_ => KCONFIG_USEPKG_
   MODULE_ => USEMODULE_
   PKG_ => USEPKG_
2020-08-31 09:37:09 +02:00
Wouter Symons
f8d9566a84 tests/candev: Prevent user from attempting to use native can interface on non-native board 2020-08-28 21:17:13 +02:00
benpicco
029ae8c7d2
Merge pull request #14766 from benpicco/cpu/native-rtc_set_alarm
cpu/native: RTC: implement rtc_set_alarm()
2020-08-28 17:39:47 +02:00
Peter Kietzmann
9c8c242759
Merge pull request #14834 from JannesVolkens/restore_CAN_README
tests/conn_can: Add to README
2020-08-27 17:24:12 +02:00
benpicco
b6a542668b
Merge pull request #14845 from fjmolinas/pr_driver_netdev_common
tests/driver_netdev_common: add netdev_default
2020-08-27 17:01:50 +02:00
Jannes
8e5d79ffe7 tests/conn_can: Add to README 2020-08-27 16:35:40 +02:00
Francisco
578b8b8885
Merge pull request #14372 from benpicco/cpu/nrf52-full
cpu/nrf52: add support for the whole family, fix nrf52811
2020-08-27 13:51:12 +02:00
Francisco Molina
c05dd9e6d3
treewide: change netdev driver dependencies against netdev_default
- gnrc_netdev_default depends on netdev_default, no need for checking
against both modules.
- fix documentation mentions of the double check
2020-08-27 11:46:25 +02:00
Francisco Molina
f38baaabce
tests: use driver_netdev_common Makefile.netdev.mk instead of Makefile 2020-08-27 11:46:25 +02:00
Francisco Molina
639c2a7b31
tests/driver_netdev_common: add Makefile.netdev.mk
- Put common configuration in Makefile.netdev.mk
- Add netdev_default to the application Makefile
2020-08-27 11:46:24 +02:00
Francisco Molina
47137784b1
tests/pkg_wolfcrypt-ed25519-verify: cleanups and add test 2020-08-26 17:32:05 +02:00
Francisco
f963089b28
Merge pull request #14718 from bergzand/pr/cortexm_common/hard_fault_add_thread_info
cortexm_common: Add thread info to hard fault handler
2020-08-26 12:40:25 +02:00
benpicco
a0bae383d7
Merge pull request #14818 from Nishchay-sopho/drivers/sps30/add_sleep_mode
drivers/sps30: Add sleep mode
2020-08-25 23:49:32 +02:00
Benjamin Valentin
d5690ee4cd boards/e104-bt5010a-tb: add support for the E104-BT5010A Test Board
This adds support for the nRF52810 based E104-BT5010A break-out board.
2020-08-25 22:51:10 +02:00
benpicco
2eb6d752df
Merge pull request #14770 from benpicco/netif_addr_to_str
net/netif: move gnrc_netif_addr_to/from_str() to netif
2020-08-25 18:52:55 +02:00
Benjamin Valentin
d2f740829d tests/netif: add tests for common netif functions 2020-08-25 17:42:25 +02:00
Nishchay-sopho
a368b0bc36 drivers/sps30: Add sleep mode 2020-08-25 16:20:18 +02:00
Benjamin Valentin
7e479070fa tests/driver_at86rf2xx_aes: silence warning on native 2020-08-25 14:07:13 +02:00
Benjamin Valentin
39b41d62cd cpu/native: allow to disable native periph implementations 2020-08-25 13:53:14 +02:00
9b2aa40e03
Merge pull request #14038 from benpicco/mtd_pagewise
mtd: add page addressed operations to allow access > 4GiB on SD cards
2020-08-25 13:10:20 +02:00
d05f614d64
Merge pull request #14146 from fjmolinas/pr_rtt_min_value_test
tests/periph_rtt_min: add test to figure out RTT_MIN_OFFSET
2020-08-25 13:09:36 +02:00
Martine Lenders
e84eda5796
Merge pull request #14833 from maribu/tests-cleanup
tests: Cleanup access to internal variables
2020-08-24 19:33:40 +02:00
benpicco
f3e1032f6e
Merge pull request #14827 from keith-packard/pr/libc/picolibc
Pr/libc/picolibc
2020-08-24 18:06:56 +02:00
Keith Packard
e215261ced picolibc: Use most NEWLIB code with picolibc
In most places, picolibc and newlib are the same, so use
the existing newlib code when compiling with picolibc.

Signed-off-by: Keith Packard <keithp@keithp.com>
2020-08-24 08:26:16 -07:00
benpicco
4b91866392
Merge pull request #14781 from ant9000/yarm
boards/yarm: Support for YARM board
2020-08-24 16:11:17 +02:00
Marian Buschsieweke
eb1279005c
tests: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 09:08:01 +02:00
Antonio Galea
21c69d6899 boards/yarm: adapt memory requirements for test 2020-08-22 16:37:17 +02:00
Antonio Galea
80cc4b3204 boards/yarm: skip tests requiring too much RAM 2020-08-22 16:36:28 +02:00
Martine Lenders
fb63453a1d
Merge pull request #14498 from brummer-simon/evtimer-add_mbox_support
evtimer: add mbox support
2020-08-21 16:33:06 +02:00
Simon Brummer
5d67daebb2 evtimer: add mbox support 2020-08-21 15:19:22 +02:00
5536f1afc5
tests/pkg_fatfs_vfs: blacklist nucleo-l031k6
Adding the extra prints to the hard fault handler bumped this test over
the available ROM for this board
2020-08-21 10:51:59 +02:00
Leandro Lanzieri
531367a9a2
pkg/tinydtls: enforce the selection of a crypto secure PRNG
Also add a sanity checks on the prng_ modules.
2020-08-21 08:39:34 +02:00
Francisco Molina
1b68c384a3
tests/periph_rtt_min: add test to figure out RTT_MIN_OFFSET 2020-08-19 09:28:24 +02:00
Benjamin Valentin
4d41d7f069 tests/pkg_fatfs_vfs: blacklist nucleo-l031k6 2020-08-18 17:26:15 +02:00
Benjamin Valentin
53eedc283b drivers/at86rf2xx: register driver with netdev 2020-08-17 22:53:51 +02:00
Benjamin Valentin
bdc43c245c cpu/native: RTC: implement rtc_set_alarm()
Use xtimer to simulate an RTC timer.
This allows to simulate software that makes use of `rtc_set_alarm()`
on native.
2020-08-16 23:28:30 +02:00
Benjamin Valentin
66f1cd5b60 tests/driver_at86rf2xx_aes: only run CI test on whitelisted boards
The test needs a at86rf2xx device attached to the board, otherwise
it will always fail.
2020-08-16 21:59:04 +02:00
Benjamin Valentin
53e292569d tests/periph_gpio: add automatic GPIO test cmd
This adds the `auto_test <port> <pin> <port> <pin>` command.

Specify two GPIOs that are electrically connected e.g. via jumper or wire.

The command will automatically conduct several tests to ensure that the
GPIO implemenation behaves according to the specification.
2020-08-13 10:12:21 +02:00
fabian18
74eec8274e tests/driver_at86rf2xx_aes: Test for at86rf2xx AES security module 2020-08-12 18:54:23 +02:00
benpicco
e1c6f11fd8
Merge pull request #14742 from kaspar030/fix_timer_msg_tests
tests/[xz]timer_msg: check result of thread_create()
2020-08-12 14:03:42 +02:00
benpicco
dfcc69dcb1
Merge pull request #14193 from aabadie/pr/pkg/lvgl_v7
pkg/lvgl: bump to v7
2020-08-12 14:03:24 +02:00
377d389ce9
Merge pull request #14609 from fjmolinas/pr_openwsn_bump
pkg/openwsn: bump version
2020-08-11 16:25:36 +02:00
2c5e1d6590
tests/pkg_lvgl: adapt to new lvgl API 2020-08-11 15:39:01 +02:00
Francisco Molina
aa1e7797b0
pkg/openwsn: bump version
With the new version some OpenWSN modules are optional:
- openwsn_cjoin (and therefore opewnsn_coap)
- openwsn_6lo_fragmentation
- openwsn_icmpv6echo
- openwsn_crypto
- openwsn_udp (optional but kept as default)

New optional modules have been added:
- openwsn_iee802154e_security (link layer security)
- openwsn_adaptive_msf (MSF dynamic slot allocation)

Openvisualizer needs to be updated to be compatible with the new
version.
2020-08-11 15:24:33 +02:00
a9193e0036 tests/ztimer_msg: check result of thread_create() 2020-08-11 12:12:14 +02:00
6f3f2b9b52 tests/xtimer_msg: check result of thread_create() 2020-08-11 12:12:08 +02:00
Marian Buschsieweke
7d9aed7f66
Merge pull request #14391 from benpicco/cpu/stm32-timer_periodic
cpu/stm32: implement periph_timer_periodic
2020-08-10 07:58:27 +02:00