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

4507 Commits

Author SHA1 Message Date
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
Benjamin Valentin
29f83a6f25 tests/driver_soft_uart: Makefile.ci: add small stm32 boards 2020-08-09 22:55:22 +02:00
Benjamin Valentin
110a626b97 tests/periph_timer_periodic: lower CYCLE_MS
Reduce CYCLE_MS to 25 ms so the period also fits into a 16 bit 1 MHz
timer.
2020-08-09 22:55:22 +02:00
benpicco
0064397fc2
Merge pull request #14736 from gschorcht/boards/feather_m0/split_wifi_version
boards/feather-m0: separate directory for the wifi version
2020-08-09 20:58:10 +02:00
Gunar Schorcht
7e57c562df tests/bench_timer: add fether-m0-wifi to low memory boards 2020-08-09 20:20:59 +02:00
95ae77dd4b
Merge pull request #14695 from maribu/event_cleanup 2020-08-06 22:15:51 +02:00
70610b3d8a
Merge pull request #14661 from bergzand/pr/tests/bench/Add_ticks_result 2020-08-06 13:50:11 +02:00
8d50a597ee
bench_thread_yield_pingpong: Add number of clock ticks per cycle 2020-08-06 11:54:25 +02:00
566d838113
bench_thread_flags_pingpong: Add number of clock ticks per cycle 2020-08-06 11:54:25 +02:00
86035661a3
bench_mutex_pingpong: Add number of clock ticks per cycle 2020-08-06 11:54:24 +02:00
f2a27dd46b
bench_sched_nop: Add number of clock ticks per cycle 2020-08-06 11:54:24 +02:00
cf56a2c2f4
bench_msg_pingpong: Add number of clock ticks per cycle 2020-08-06 11:53:53 +02:00
480ef3225d tests/pkg_c25519: increase test timeout (z1 needs >5min) 2020-08-05 14:32:58 +02:00
8afaf11bb5 tests/periph_gpio: bench port 1 on z1
/* Port 1:
     *  P1.0 is not assigned by default
     *  P1.1 is the bootstrap-loader (BSL) TX pin -> input, special function, default to GND
     *       THIS PIN MUST *NEVER* BE USED IN NORMAL EXECUTION, SINCE IT INTERFERES WITH UART0 !!!
     *  P1.2 receives the FIFOP interrupt from CC2420 -> input, GPIO, default to GND
     *  P1.3 receives the FIFO/GIO0 interrupt from CC2420 -> input, GPIO, default to GND
     *  P1.4 receives the CCA/GIO1 signal from CC2420 -> input, GPIO, default to GND
     *  P1.5 is wired to Vcc -> input, GPIO, default to Vcc
     *  P1.6 receives interrupt INT1 from accelerometer -> input, GPIO, default to GND
     *  P1.7 receives interrupt INT2 from accelerometer -> input, GPIO, default to GND
     */

(test starts indexing at 0)
2020-08-05 14:32:58 +02:00
1298e51541 tests: update msp430 memory blacklists 2020-08-05 14:32:58 +02:00
1caff0dc94 tests/unittests/tests-rtt_rtc: fix implicit integer conversions 2020-08-05 14:32:58 +02:00
8171391d16 tests/gnrc_sock_udp: memory blacklist msb-430 msb-430h 2020-08-05 14:32:58 +02:00
7fb8306553 tests/pkg_c25519: increase main stack size for msp430 2020-08-05 14:32:58 +02:00
5dd24e12bf tests/c11_atomics_cpp_compat: remove msp430 special case 2020-08-05 14:32:58 +02:00
6fe7a47563 tests: remove obsolete msp430 blacklists 2020-08-05 14:32:58 +02:00
f08f582f1a tests, examples: remove chronos references 2020-08-05 14:32:58 +02:00
9f7bfde27e tests: update msp430 memory blacklists 2020-08-05 14:32:57 +02:00
be4d5a33e3 tests: update msp430 BOARD_INSUFFICIENT_MEMORY entries 2020-08-05 14:29:07 +02:00
11cf4dfaff
Merge pull request #14658 from kaspar030/allow_shell_test_no_socat
tests/shell: allow not using socat, do so on z1
2020-08-05 14:25:05 +02:00
Marian Buschsieweke
a5c4692806
sys/event: Add multi-queue initializers
Add a set of helper functions to initialize / claim an array of queues and use
this in `tests/events`.
2020-08-05 11:59:40 +02:00
7b05b85135
Merge pull request #14682 from maribu/event_wait_prio 2020-08-05 11:38:55 +02:00
Francisco
dbc128570d
Merge pull request #14675 from benpicco/tests/periph_rtc_delayed_start
tests/periph_rtc: delay RTC init
2020-08-05 09:31:58 +02:00
Marian Buschsieweke
4aa33d55ac
tests/event: Also test multi-queue flavor 2020-08-04 13:31:03 +02:00
0904d77dff tests/shell: allow not using socat, do so on z1 2020-08-04 12:37:10 +02:00
Akshai M
b52e3e1587 net/netif : Move 'NETIF_NAMELENMAX' to 'CONFIG_' 2020-08-03 16:09:21 +05:30