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

23252 Commits

Author SHA1 Message Date
Kees Bakker
ea11de5258 tests/evtimer_msg: modify test to delete entries
The evtimer_msg test is expanded to also delete entries.

Furthermore the messages that are printed should now show
numbers that are very close (if not equal). Something like
this:
At    740 ms received msg 0: "#2 supposed to be 740"
At   1081 ms received msg 1: "#0 supposed to be 1081"
At   1581 ms received msg 2: "#1 supposed to be 1581"
At   4035 ms received msg 3: "#3 supposed to be 4035"

The function evtimer_print is also called to show the
intermediate status of evtimer entries.
2019-07-17 20:52:12 +02:00
Kees Bakker
d2cd666841 evtimer: in evtimer_print also print first event 2019-07-17 20:51:32 +02:00
Kees Bakker
629e96ea80 evtimer: refactor adding and deleting events 2019-07-17 20:51:32 +02:00
Martine Lenders
6320fdebe9
Merge pull request #11855 from cladmi/pr/tests/unittest/split/devfs
tests/devfs: move tests-devfs out of unittests
2019-07-17 16:42:55 +02:00
MrKevinWeiss
08ef6a7e22 boards/openmote-b: Set boot pin to input
Some boards seem to lock the bootloader if the boot pin is high
It must be set to input to prevent contention from the msp430 line controller
2019-07-17 16:39:55 +02:00
Kevin "Bear Puncher" Weiss
5b79d41922
Merge pull request #11856 from cladmi/pr/tools/jlink/reset_commands
dist/jlink.sh: Allow overwriting the 'reset' commands
2019-07-17 16:30:11 +02:00
Gaëtan Harter
78ca09dd43
tests/devfs: move tests-devfs out of unittests
This moves unittests/tests-devfs to its own test.
It prevents requiring `periph_hwrng` in the `unittests`.
2019-07-17 16:05:39 +02:00
Gaëtan Harter
5ed65989ed
dist/jlink.sh: Allow overwriting the 'reset' commands
Add a variable to configure the reset commands.
This is required for board that need a hardware reset.
2019-07-17 15:29:51 +02:00
sanjuprakashk
d30bd7ae47 dist/pythinlibs/testrunner: dynamic changing of test timeout
Few flashers require a longer time to flash code and reset the device and
requires the test script to wait for a longer time before timing out.
This commit adds a environment variable "RIOT_TEST_TIMEOUT"  that can be
set by the user to vary the timeout in accordance to the requirements
of the system

on-behalf-of: @sparkmeter <sanju.kannioth@sparkmeter.io>
2019-07-17 06:25:28 -07:00
21e796d6f9
Merge pull request #11841 from kaspar030/bump_git_cache
dist/tools/git/git-cache: bump version
2019-07-17 13:21:59 +02:00
b33a196e78 dist/tools/git/git-cache: bump version
Upstream contains important fixes:

- improve tag handling
- improve concurrent use
- clean up temporary tags
2019-07-17 12:04:37 +02:00
Benjamin Valentin
56891fe7f2 cpu/sam0: update doc.txt with new MCU families 2019-07-17 11:37:46 +02:00
40c89531d2 tests/pkg_libcose: update to nanocbor-based libcose
Co-authored-by: Francisco Molina <femolina@uc.cl>
2019-07-17 10:31:18 +02:00
f8d969c3cf pkg/libcose: update to latest master 2019-07-17 10:30:15 +02:00
3f25c43204
Merge pull request #11733 from nmeum/fix-native-build
boards/native: fix undefinied reference to qdecs_value
2019-07-16 16:42:52 +02:00
Gaëtan Harter
d52b3f4fc5
boards/hamilton: remove OFLAGS '-O binary'
The 'binary' output format is now given by default to .bin files creation
2019-07-16 15:31:37 +02:00
Leandro Lanzieri
0c3ca4e4f7
Merge pull request #11845 from cladmi/pr/make/documentation/hexfile_binfile
makefiles: documentation for hexfile binfile
2019-07-16 14:53:18 +02:00
Martine Lenders
60c26648fe
Merge pull request #11766 from nmeum/pr/gnrc_tftp_min_len
gnrc_tftp: Add minimum packet length check
2019-07-16 14:39:48 +02:00
Francisco
1720e2dfed
Merge pull request #11847 from fjmolinas/pr_fix_issue_11626
pkg/semtech_loramac: fix memcpy to uninitialized pointer
2019-07-16 14:29:02 +02:00
f8128844b7
Merge pull request #11527 from fjmolinas/pr_wdg_hdr
drivers/include: add header definition for wdt
2019-07-16 14:25:40 +02:00
fjmolinas
541f9ddd20 drivers/include: add header definition for wdt 2019-07-16 13:53:28 +02:00
Gaëtan Harter
b62488eb61
makefiles: documentation for BINFILE
Document `BINFILE` in the same ways as `HEXFILE`.
The file does not need to be exported so no reason to do it though.

It also adds it in the `info-build` output in the same way as `HEXFILE`.
2019-07-16 12:05:00 +02:00
Gaëtan Harter
065f85cf47
makefiles/vars.inc.mk: update documentation for HEXFILE
HEXFILE is not overwritten to be sometimes a '.bin' file anymore.
Its format can now be documented as an 'intel hex' file.
2019-07-16 12:05:00 +02:00
Juan Carrano
47c26dbbe1 LOSTANDFOUND: add cpu/mips32r2_generic.
Note: git show @cladmi as the author of the files, but he just did a
refactoring, the real author was @neiljay.
2019-07-16 11:19:29 +02:00
Juan Carrano
a2bcd7539c cpu/mips32r2_generic: remove cpu.
The `mips32r2_generic` CPU was only used by the `mips-malta` board which has
been removed. The reasons for this removal are the same as for the board:

- No hardware to test.
- The board that used this CPU is not available off the shelf.
- No UART input.
- No integrated flasher (one needs to use a separate Windows tool)

For more information and discussion around MIPS, see issues:

- #11831 (Removal of mips-malta)
- #11788 (General MIPS removal)
2019-07-16 11:09:48 +02:00
Francisco Molina
aff7ee3732 pkg/semtech_loramac: fix memcpy to uninitialized pointer 2019-07-16 10:47:36 +02:00
Kevin "Bear Puncher" Weiss
1ad3c780d4
Merge pull request #11757 from cladmi/pr/make/do_not_build_hexfile_by_default
Makefile.include: do not build HEXFILE by default anymore
2019-07-16 10:03:56 +02:00
Gaëtan Harter
37e72e13ca
Makefile.include: do not build HEXFILE by default anymore
All boards must now use FLASHFILE
2019-07-15 19:15:58 +02:00
Francisco
9f20c8a057
Merge pull request #11803 from kaspar030/misc_riotboot_fixes
sys/riotboot: misc fixes
2019-07-15 14:41:18 +02:00
b4557eae16 make: riotboot: add $APP_VER to image file names 2019-07-15 13:38:37 +02:00
4546469e7b make: riotboot: ensure epoch in APP_VER is evaluated once 2019-07-15 13:38:37 +02:00
Francisco
23c918805e
Merge pull request #11707 from kaspar030/add_riotboot_test_script
tests/riotboot: add automatic test
2019-07-15 13:31:48 +02:00
Francisco
8121daa71a
Merge pull request #11816 from kaspar030/add_setup_network.sh
dist/tools/ethos: add setup_network.sh script
2019-07-15 13:12:48 +02:00
f74e5e754a dist/tools/ethos: add setup_network.sh script 2019-07-15 12:33:11 +02:00
aaa187e871 riotboot: always link both slot .elf when linking
This enables "make test" and "make test-murdock" to rely on both images being
present and thus execute without re-compiling.
2019-07-15 11:30:49 +02:00
6b2727c693 make/riotboot: allow slot image creation without compiling 2019-07-15 11:30:49 +02:00
43c3e43c40 tests/riotboot: add re-flashing and image selection test 2019-07-15 11:30:49 +02:00
Francisco
827d2d9333
Merge pull request #11697 from kaspar030/pr/murdock_allow_multiple_files_for_test_job
murdock: allow multiple files to be sent along with a test job
2019-07-14 14:54:00 +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
de20b50d7e
Merge pull request #11834 from miri64/pkg/doc/nanocbor-config-grouping
nanocbor: fix doc grouping of nanocbor_config
2019-07-13 12:06:10 +02:00
a214ba493d murdock: allow multiple files to be sent along with a test job
Previously, this was hard-coded to allow one file, hard-coded to be
called "flash file".
This commit allows multiple files to be specified via adding them to the
TEST_EXTRA_FILES variable. All files will be stored in the worker's
application bin directory.

Also, the existence check has been removed, as dwqc bails out on missing
file anyways.
2019-07-13 11:57:53 +02:00
Francisco
220ab412b2
Merge pull request #11829 from kaspar030/make_add_clean_variable
make: introduce $(CLEAN)
2019-07-12 21:17:04 +02:00
Gaëtan Harter
ce58a32ba9
tests/lua_loader: run the test in CI
HACK, the test currently fails in CI for `native` due to `utf-8` handling.
2019-07-12 18:52:18 +02:00
Martine S. Lenders
fd3789a735 nanocbor: fix doc grouping of nanocbor_config 2019-07-12 15:41:58 +02:00
4e051f8592 make: make use CLEAN in Makefile.include 2019-07-12 15:22:48 +02:00
cb8e335c29 make: introduce $(CLEAN)
Currently, some targets are serialized before "clean" by conditionally
adding a dependency.

Make does allow ordering using "|" syntax in prerequisites, but for
"clean" that would always trigger the clean target.
By only conditionally setting $(CLEAN) to clean, that can be
circumvented.

The new CLEAN allows any recipe to be run after "clean" by specifying "|
$(CLEAN)" as prerequisite.
2019-07-12 15:22:48 +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 Carrano
b33e741c03 LOSTANDFOUND: mention boards/mips-malta. 2019-07-12 13:47:01 +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 Acosta
6b094a78a9
Merge pull request #11804 from fjmolinas/pr_stm32l1_add_AX
stm32_common/stm32_mem_length: fix RAM_LEN for stm32l1xx-A/X cpu's
2019-07-10 18:18:42 +02:00