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

78 Commits

Author SHA1 Message Date
MrKevinWeiss
3a0ada484b
dist/testbed-support: Add openmote board 2023-10-17 13:28:05 +02:00
bbf2ce5628
dist/testbed-support: remove obsolete boards from iotlab archi 2023-04-26 15:02:12 +02:00
chrysn
25e11d99b1 make: Sort >/dev/null and 2>&1 when used with command
This is a follow-up for [16775], and was not caught there as that search
was limited to `which`.

Note that while this line can be simplified, the redirects ensure that
GNU Make < 4.3 will not optimize it into its own built-in shell that
does not know `command`.

[16775]: https://github.com/RIOT-OS/RIOT/pull/16775
2022-04-16 10:04:20 +02:00
a18c95e524
testbed-support: add iotlab mapping for nucleo-wl55jc and samr34-xpro 2022-01-27 11:46:39 +01:00
af1456440c
dist/iotlab: remove deprecated auto-ssh backward compatibility 2022-01-06 09:59:26 +01:00
Martine Lenders
13cc189a8a
Revert "Remove which from shell invocations" 2021-09-03 11:27:03 +02:00
chrysn
6b50033766 makefiles: Replace which with command -v
As the POSIX documentation[1] of `command -v` guarantees that on error
there will be no output (and there will be output in the other cases),
the tests in Makefiles were simplified to test for output equality to
the empty string.

Redirects swallowing error outputs were removed, as the command produces
no error output there (as recommended at [2]).

Existing uses of `command` are simplified as well.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html
[2]: https://salsa.debian.org/debian/debianutils/-/blob/master/debian/NEWS
2021-09-02 16:30:46 +02:00
565d28a6bc
tools/iotlab-testbed: add support for remote debugging 2021-06-02 18:13:34 +02:00
3c8cfd45f1
tools/iotlab-testbed: rename deprecated flash/reset-m3 subcommands 2021-06-01 17:37:50 +02:00
ebbe2c2aa1
tools/testbed-iotlab: better handle unsupported archis 2021-06-01 17:37:50 +02:00
a7f00548a2
tools/iotlab-testbed: check iotlab cli tools are installed 2021-06-01 17:37:50 +02:00
a9fceb1592
tools/iotlab-testbed: handle IOTLAB_NODE in comma separated form 2021-06-01 17:37:49 +02:00
6c0556b422
tools/testbed: use IOTLAB_NODE=auto instead of auto-ssh
This deprecates the use of IOTLAB_NODE=auto-ssh
2021-05-28 17:23:11 +02:00
5a8094ea0a
dist/iotlab: return ret code within a single call 2021-02-25 12:59:40 +01:00
Benjamin Valentin
5fdbd09187 boards: add zigduino
This adds support for the ATmega128RFA1 based Zigduino.
The board is available on the Strasbourg site of the IoT lab for testing.
2021-02-09 15:26:03 +01:00
506498a2df
dist/testbed-support: add iotlab mapping for dwm1001 2020-11-03 17:45:53 +01:00
5efbb97b5c
dist/testbed-support: remove iotlab wsn430 mapping
The boards were removed (EOL) and thus are no longer usable using IOTLAB_NODE
2020-07-10 16:49:08 +02:00
39ea73d48d
dist/testbed-support: use BINFILE for flashing on iotlab
This is a new feature in cli-tools v3 and is supported by all boards except wsn430 and firefly
2020-03-24 13:25:25 +01:00
d18b77f6e5
dist/testbed-support: fix firefly board mapping 2020-03-23 10:21:54 +01:00
af3cc3b476
dist/testbed-support: fix iotlab-term target 2020-03-05 09:00:09 +01:00
5d84dd9061
testbed-support: add compatibility with cli-tools v3 2020-03-05 09:00:08 +01:00
Martine S. Lenders
d455662a02
dist/testbed-support: Make tmux optional with iotlab-term 2020-03-03 15:24:02 +01:00
Martine S. Lenders
59ecc48eb6
dist/testbed-support: Wait for flash to be done when provided with term
Compare https://github.com/RIOT-OS/RIOT/pull/12468
2020-03-03 15:24:01 +01:00
Martine S. Lenders
2fec1f7adc
dist/testbed-support: Use IOTLAB_EXP_ID when trying to login at site 2020-03-03 15:24:00 +01:00
Martine S. Lenders
d169a6ac9f
dist/testbed-support: Fix IOTLAB_SITE determination 2020-03-03 15:24:00 +01:00
Francisco
01779508d6
Merge pull request #12394 from aabadie/pr/make/iotlab_support_fix
make/testbed-support: fix error with FLASHFILE not defined
2019-10-17 23:21:12 +02:00
bdd3fed598
dist/testbed-support: add nrf52832mdk in IOTLAB_NODE targets 2019-10-16 11:57:21 +02:00
ffc4c84faa
dist/testbed-support: boards: remove useless IOTLAB_FLASHFILE 2019-10-16 11:44:59 +02:00
b389b881cf
dist/testbed-support: add nrf52840mdk in IOTLAB_NODE targets 2019-10-08 20:10:08 +02:00
0cb75c5f10 testbed-support: add nrf51dk to supported archis 2018-12-12 15:36:56 +01:00
Martine Lenders
37a11e9802 dist/testbed-support: add firefly in IoT-LAB archis 2018-12-04 14:54:26 +01:00
a640957e31 dist/testbed-support: add pba-d-01-kw2x in iotlab archis 2018-11-22 16:38:33 +01:00
17c7ad89a9 dist/testbed-support: add frdm-kw41z in iotlab archis 2018-11-22 10:56:50 +01:00
99fa0e9cf8 dist/tools/tested-support: update samr30 archi mapping
The archi was changed in IoT-LAB: samr30:at86rf215 => samr30:at86rf212b
2018-11-20 21:39:12 +01:00
a3f2d20169 dist/testbed-support: add new iotlab archi
nrf52840dk and microbit
2018-10-28 18:57:17 +01:00
Gaëtan Harter
8179038a8c
makefile.iotlab.single.inc.mk: add new IoT-LAB supported nodes
Support for `nrf52dk` and `samr30-xpro` has been added on saclay site.
2018-10-24 15:43:59 +02:00
Gaëtan Harter
599bc2afd2
makefile.iotlab.single.inc.mk: sort IOTLAB_ARCH_ variables definition
Define them in alphabetical order instead on putting the 'iotlab'
specific nodes at first. Prepare for adding new architectures.
2018-10-24 15:12:00 +02:00
Martine Lenders
ad65aadb37 iotlab-support: use iotlab command to check credentials
Since the `iotlab-term` target uses `tmux` error messages are not really
printed, so it took me a while to find out why at some sites this target
wasn't working for me anymore.

If the IoT-LAB password was changed, just checking if `.iotlabrc`
exists isn't enough, so I use `iotlab-experiment` to check if I'm logged
in properly to prompt the password input in case I'm not.
2018-07-17 13:02:54 +02:00
Gaëtan Harter
7e81f54205
makefile.iotlab.single: add 'info-iotlab-node' target
Add a target to show the value of IOTLAB_NODE. Can be used to get the result of
using IOTLAB_NODE=auto or IOTLAB_NODE=auto-ssh.
2018-06-15 15:37:33 +02:00
Gaëtan Harter
124f9ec9bb
makefile.iotlab.single: check iotlab-node/iotlab-ssh return value
Format the output to be '0' on success and check it with grep.

This makes command fail when they failed on IoT-LAB.
2018-06-15 15:37:29 +02:00
Gaëtan Harter
d900e0a548
makefile.iotlab.single: add auto and auto-ssh modes
Usage:

    make BOARD=iotlab-m3 IOTLAB_NODE=auto-ssh all flash term

Add support to select node number in auto mode
2018-06-15 15:37:25 +02:00
Gaëtan Harter
3bba0c5895
makefile.iotlab.single: add IoT-LAB testbed support for one node
Add support to do flash/reset/term on an IoT-LAB node.
It also allow running test using 'testrunner'.

Configuration variables are:

* `IOTLAB_NODE` which should be set to your node url
  * The full url including site to use from your computer `m3-1.grenoble.iot-lab.info`
  * The short url when used on the IoT-LAB frontend `m3-1`
* `IOTLAB_EXP_ID` for your experiment id for flash and reset.
  By default it tries to use your currently running experiment if you have only one
* `IOTLAB_USER`: is read from `${HOME}/.iotlabrc` as saved by `iotlab-auth`
  * It is expected to have run `iotlab-auth` beforehand.
2018-06-15 15:37:18 +02:00
6fc32e90dd dist/testbed-support: use new cli-tools command names 2018-04-26 16:13:02 +02:00
Cenk Gündoğan
31293b63cd dist: make: iotlab: use target specific var assignment 2017-11-20 00:46:31 +01:00
ba62eb5f51 dist/testbed-support: fix iotlab makefile indentation 2017-11-16 10:55:39 +01:00
f44763f346 make: adapt Makefiles to AD -> Q rename 2016-12-22 12:12:38 +01:00
Martine Lenders
f9e14bdd26 dist: document IOTLAB_PROFILE variable fo IoT-Lab-support 2016-09-26 16:18:45 +02:00
Cenk Gündoğan
f73b226c67 Makefile.iotlab: evaluate IOTLAB_LOGGING correctly for iotlab-exp 2016-05-24 11:56:15 +02:00
Oleg Hahm
0909eba5ae Merge pull request #5409 from OlegHahm/iotlab_debug_server_fix
iotlab: only start debug server for one node
2016-05-24 11:03:58 +02:00
Oleg Hahm
d2db255a97 iotlab: only start debug server for one node 2016-05-18 12:28:44 +02:00