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

3042 Commits

Author SHA1 Message Date
43c3e43c40 tests/riotboot: add re-flashing and image selection test 2019-07-15 11:30:49 +02:00
Kevin "Bear Puncher" Weiss
da3a17212e
Merge pull request #11831 from jcarrano/farewell-mips-malta
boards/mips-malta: remove board.
2019-07-13 16:07:46 +02:00
6c895e1484
Merge pull request #11743 from cladmi/pr/ci/add_test_blacklist
murdock: introduce 'TEST_ON_CI_BLACKLIST'
2019-07-12 13:56:31 +02:00
Juan I Carrano
ee6b6b9c38 boards/mips-malta: remove board.
The mips-malta board is a maintainance burden, has no working UART input
and is unobtainable and thus must be removed.

1. Unobtainable board
=====================

The mips-malta board is not an off-the-shelf part. A quick web
search only show the MIPS website where one is told to "contact sales".

I could find it on ebay, used, at €155 and from single seller.

Not having access to the board means:

a. We cannot maintain it. In fact it could be broken right now.
b. Potential RIOT uses have not access to the board either. In other
   words, it is pointless to run on hardware nobody has.

2. No working UART input
========================

Not all applications need UART input, but that is no excuse for not supporting
it:

a. Makes development & debugging way harder.
b. It is impossible to run interactive tests.
 b.1. Constrains the rest of the platforms by providing an incentive to not
      make tests interactive.
c. The lack of UART is a witness to the poor quality of the port.

I want to stress point (c). If something as basic as a serial port cannot work,
how can we expect more complex fucntionality to work. The answer is impossible
to know, because of point (1).

3. Maintainance burden
======================

The RIOT project has limited time and human resources which can be better spent.

a. Compiling for mips-malta wastes CPU time.
b. Blacklisting the board in the test wastes contributor's time.
c. Adapting the board's makefile during build system rework takes time and makes
   the reworks harder.
 c.1. Add to that that the changes are most of the time not even tested on the board
      because of (1). Look at the github issues/PRs and you will see it.
d. Developers usually stick to the lowest common denominator. Issue (2) sets this
   denominator unacceptably low.

MIPS platform in general
========================

In commits I will address general issues in the MIPS platform and why it should all
be removed.
2019-07-12 12:24:52 +02:00
Francisco
ba5106df4f
Merge pull request #9517 from aabadie/pr/board/stm32l0538-disco
boards/stm32l0538-disco: add initial support
2019-07-09 09:06:14 +02:00
4ac2b4ec2b
tests: exclude stm32l0538-disco board
because of insufficient memory available
2019-07-08 21:50:36 +02:00
8370acb2ff tests/riotboot_flashwrite: blacklist some boards
Adding saml1[01]-xpro, nucleo-f302r8|f334r8 to
BOARDS_INSUFFICIENT_MEMORY.

The riotboot build fails because it only offers half the flash size (per
slot), compared to before where the default build would not use riotboot
at all, thus have double the flash (but being useless).
2019-07-08 16:54:43 +02:00
bb71e979f3 riotboot: set FLASHFILE to RIOTBOOT_EXTENDED_BIN
... if the riotboot feature is used.

Previously, even an application that had "FEATURES_REQUIRED += riotboot"
set would still flash the non-riotboot binary on "make flash".
This is usualy not what the user wants.

This commit set's the FLASHFILE variable to the combined "riotboot
bootloader + slot0 + empty slot1" binary. This has the effect that make
all, flash and flash-only will compile and/or flash a working riotboot
setup.

tests/riotboot and tests/riotboot_flashwrite now default to flashing the
riotboot-extended binary. tests/riotboot was previously configured to
use the riotboot-combined binary. This has been changed in order to not
behave differently than how usual riotboot applications do.
2019-07-08 16:33:01 +02:00
34d20f4e36
tests/nanocbor: enable for 8 and 16 bit platforms 2019-07-05 20:48:39 +02:00
91d982733f
Merge pull request #11600 from bergzand/pr/pkg/nanocbor
nanocbor: Initial support for the nanocbor package
2019-07-05 15:07:04 +02:00
86db9b88de
nanocbor: Add small test application 2019-07-05 14:26:18 +02:00
Francisco
ad23896696
Merge pull request #11777 from aabadie/pr/tests/pkg_semtech_loramac_init_twice
tests/pkg_semtech-loramac: don't init the mac from main
2019-07-04 18:15:45 +02:00
Martine Lenders
16f0751102
Merge pull request #11745 from miri64/gnrc_ipv6/fix/rm-dangerous-dup
gnrc_ipv6: remove obsolete and harmful reception code
2019-07-03 23:50:06 +02:00
Martine S. Lenders
b8269316e6 tests: add test case for pointer confusion
When subscribing to IPv6 packets on a router for sniffing, the NETIF
header is released prematurely, because of a wrong
`gnrc_pktbuf_start_write()` call. This test aims to reproduce this
error case.
2019-07-03 14:44:03 +02:00
660b375082
tests/pkg_semtech-loramac: don't init mac from main
This application already uses auto_init and semtech_loramac_init is already called from auto_init_loramac
2019-07-03 14:42:26 +02:00
Leandro Lanzieri
326ec30074
Merge pull request #11741 from jcarrano/deprecate-ubjson
sys/ubjson: deprecate module.
2019-06-28 19:41:21 +02:00
Juan Carrano
3b8deac3e9 sys/ubjson: deprecate module.
Summary for Users
=================

 Deprecation is scheduled for 2020.01.
 Users which depend on this module and cannot switch libraries may copy
 the code into to their own application.

As expressed in PR #11724, the UBJSON module has issues which are not easy
or worth fixing.

Before removing the module, it should be marked as deprecated to give users
time to either migrate to another library, or copy the code to their own
private repo.

The deprecation warning has been supressed from the unit tests. This has the
ugly side-effect of supressing deprecation warning in other unit tests too,
but that should not last long, only until the module is finally deleted.
2019-06-28 18:28:16 +02:00
Juan I Carrano
50ea0d822c
Merge pull request #11664 from cladmi/pr/make/variables_lazy_evaluation
makefiles/utils/variables: add functions to help managing variables
2019-06-28 17:11:29 +02:00
6c271f6927
Merge pull request #11736 from jia200x/pr/sx127x_netops
sx127x: add several NETOPT for GNRC LoRaWAN
2019-06-28 15:23:56 +02:00
Jose Alamos
398cf6648f tests/sx127x: add handlers for new NETOPTs 2019-06-28 11:36:11 +02:00
Gaëtan Harter
2c5eeca47a
makefiles/utils: function to memoize a variable evaluation
This allow deferring a variable evaluation to its usage but still
benefit from only evaluating it once on multiple uses.
2019-06-28 11:34:43 +02:00
Gaëtan Harter
fcf8c4782d
makefiles/utils: function to export variables for a target
This allows exporting variables only for some target.
It will allow not exporting variables when not needed, and so prevent
unnecessary evaluation.
2019-06-28 11:33:54 +02:00
Leandro Lanzieri
6938df1f82
Merge pull request #11659 from aabadie/pr/tests/driver_rn2xx3_tx_mode_fix
tests/driver_rn2xx3: fix invalid element index for txmode
2019-06-28 10:39:39 +02:00
José Alamos
14f91388bd
Merge pull request #11754 from jia200x/pr/sx127x_test_unc
drivers/sx127x: uncrustify main file
2019-06-27 15:43:21 +02:00
Jose Alamos
0a73369aea tests/driver_sx127x: uncrustify main file 2019-06-27 14:45:16 +02:00
Sebastian Meiling
4f5ce88ba6
Merge pull request #7421 from OTAkeys/pr/dev_urandom
devfs: add /dev/urandom and /dev/hwrng
2019-06-26 21:33:32 +02:00
Gaëtan Harter
bdd721fff4
tests/xtimer: blacklist native instead of whitelisting
Blacklist native for the xtimer tests that have timing issues.

This also enables running the test on `nrf52dk` as I think it was
forgotten when adding the support.
2019-06-26 17:53:58 +02:00
Gaëtan Harter
eab0a88642
Merge pull request #11679 from JulianHolzwarth/pr/xtimer_mutex_lock_timeout/first_tests
tests/xtimer_mutex_lock_timeout: add simple case test
2019-06-26 16:27:39 +02:00
JulianHolzwarth
b3d2324ccf tests/xtimer_mutex_lock_timeout: new test for mutex locked
New test function cmd_test_xtimer_mutex_lock_timeout_long_locked.
In this test the mutex is locked and the timeout is long.
When it works the thread continues running and stops waiting for the mutex and
the function will return that it did not get the mutex.
2019-06-26 15:28:25 +02:00
JulianHolzwarth
f207c6adc6 tests/xtimer_mutex_lock_timeout: minimal xtimer_mutex_lock_timeout test
Adding a first normal test case where the mutex is unlocked and the timeout is long.
The timer will not trigger in this test and instead wil be removed after getting the mutex.
2019-06-26 15:26:15 +02:00
5e2f2672e9
tests/*: add stdio_ethos as dependency instead of just ethos 2019-06-23 22:16:04 +02:00
d73a6c837b
tests/stdin: add non regression test for stdin 2019-06-22 22:10:20 +02:00
9c7a1e6a27
tests/lua_loader: add stdin dependency 2019-06-20 16:01:45 +02:00
7f5a402267
tests/posix_time,xtimer_usleep: add stdin dependency 2019-06-20 16:01:45 +02:00
Dylan Laduranty
ea36d68703
Merge pull request #11077 from bergzand/pr/usb/cdcecm
usbus: Add CDC-ECM (Ethernet Control Model) function
2019-06-14 18:44:27 +02:00
b13ef786bd
usbus_cdc_ecm: add test application 2019-06-14 17:15:19 +02:00
Hauke Petersen
4e9efe1fee
Merge pull request #11673 from aabadie/pr/exemples/nimble_radio_ble
pkg/nimble: add dependency to ble_nimble feature + remove board whitelist from tests and examples
2019-06-13 15:51:14 +02:00
Gaëtan Harter
224372d773
tests/lua_loader: remove deprecated test target
The test target is now defined in the common `Makefile.include`.
This removes the warning

    Makefile: warning: overriding recipe for target 'test'
    Makefile.include: warning: ignoring old recipe for target 'test'
2019-06-13 10:37:33 +02:00
e41df0c693
tests/nimble*: remove useless board whitelist 2019-06-12 17:41:31 +02:00
Leandro Lanzieri
864247d6ca unitttests/sock_util: Test null pointer in urlsplit 2019-06-12 10:03:11 +02:00
Gaëtan Harter
33b3b5f3ee
tests/netstats_l2: use BOARD_WHITELIST
Use BOARD_WHITELIST instead of calculating BOARD_BLACKLIST from BOARDS.

The output of `make info-boards-supported` kept the same.
2019-06-07 15:32:39 +02:00
5f5e58f1e2
tests/driver_rn2xx3: fix invalid element index to txmode 2019-06-07 10:47:23 +02:00
Kevin "Bear Puncher" Weiss
002e033f5e
Merge pull request #11612 from ben-postman/pr_cc26x0_uart_mode
cpu/cc26x0: implement uart_mode()
2019-06-06 15:43:07 +02:00
Ben Postman
567fa8e32d tests/periph_uart_mode: Add uart_mode test for single UART MCU
The existing periph_uart test depends on having more than one UART.
This test allows for manual testing with the use of a probe

on-behalf-of: @sparkmeter <ben.postman@sparkmeter.io>
2019-06-06 08:46:33 -04:00
Martine Lenders
71a7dc3539 unittests: add tsrb tests 2019-06-05 17:54:56 +02:00
Gaëtan Harter
bbb6dec054
Merge pull request #11630 from fjmolinas/pr_kinetis_ld
kinetis/ldscript: handle _rom_offset
2019-06-05 16:12:25 +02:00
francisco
985ee95d41 tests/cortexm_common_ld_script: add kinetis to whitelist 2019-06-04 18:11:55 +02:00
Martine Lenders
6b582fd5d0
Merge pull request #11593 from miri64/ipv6_ext/feat/frag
ipv6_ext: add fragmentation extension definitions
2019-06-04 17:12:51 +02:00
Martine Lenders
3e6cfcdb8c tests: provide unittests for ipv6_ext_frag 2019-06-04 16:24:28 +02:00
Leandro Lanzieri
f56709e0bb
Merge pull request #9726 from jcarrano/lua-loader-fix
pkg/lua: Make the module searchers conform to the API.
2019-06-03 11:47:06 +02:00