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

44 Commits

Author SHA1 Message Date
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
Cenk Gündoğan
afd9aa0bd8 dist: make: iotlab: specify exp id in iotlab-term 2016-05-18 07:56:17 +02:00
Cenk Gündoğan
7b1fc8cd31 dist: iotlab: add note about IOTLAB_LOGGING 2016-05-04 09:48:29 +02:00
Cenk Gündoğan
54aa8ecb44 dist: make: iotlab: add logging to iotlab-term via tmux 2016-05-04 09:14:36 +02:00
Oleg Hahm
2ec29cc55d Merge pull request #4711 from OlegHahm/iotlab_make_site_fixes
iotlab: fix IOTLAB_SITE for term, flash etc
2016-01-28 23:16:22 +01:00
Oleg Hahm
23e3bcf60a iotlab: fix IOTLAB_SITE for term, flash etc 2016-01-28 20:38:08 +01:00
Cenk Gündoğan
feea0139c4 make iotlab: stop 2016-01-28 10:56:39 +01:00
Oleg Hahm
cfdd6cb696 make iotlab: removed duplicated PHONY targets 2016-01-27 15:47:59 +01:00
Oleg Hahm
27688d8be1 make iotlab: rename internal target
In order to avoid potential naming clashes.
2016-01-27 15:47:31 +01:00
Oleg Hahm
c4dbe2da27 iotlab: fix selective flashing and serial access 2016-01-26 23:07:05 +01:00
Oleg Hahm
57e8d5080b iotlab: set IOTLAB_SITE to corresponding site
Uses the actual site of the selected experiment instead as "grenoble" as default.
2016-01-21 16:30:28 +01:00
Oleg Hahm
c1c540a354 iotlab: set DEBUG_NODE correctly 2015-11-28 15:23:32 +01:00
Martine Lenders
bf9004595f Merge pull request #3927 from authmillenon/dist/feat/debug-server
iotlab: add capability to create and connect to debug server
2015-11-27 13:32:21 +01:00
Cenk Gündoğan
dda9b9b6a1 dist: iotlab-testbed: add IOTLAB_EXCLUDE_NODES to README 2015-11-11 16:13:22 +01:00
Cenk Gündoğan
12c8883799 make: iotlab-testbed: exclude list for reset+flash 2015-10-31 21:25:18 +01:00
Martine Lenders
eea59bf805 iotlab: add capability to create and connect to debug server 2015-09-30 11:11:52 +02:00
Martine Lenders
4dcadf0203 iotlab: introduce IOTLAB_AUTHORITY variable to testbed Makefile 2015-09-30 11:09:56 +02:00
Cenk Gündoğan
3cf727617b README.iotlab.md: Add IOTLAB_EXP_NAME and IOTLAB_PHY_NODES 2015-09-07 10:23:05 +02:00
Cenk Gündoğan
40334d6039 Makefile.iotlab: accept custom resourceid_list for experiment-cli 2015-09-07 10:13:26 +02:00
Oleg Hahm
b331ca6626 dist: chose binary format for IoT-LAB Makefile 2015-09-04 14:42:01 +02:00
Cenk Gündoğan
049d24aa6e dist/testbed-support: make experiment name configurable 2015-08-17 11:04:20 +02:00
Martine Lenders
0566471173 dist: make iotlab-exp dependent on all
iotlab-exp uses `$(ELFFILE)` for the first flash so it needs to be
there.
2015-08-05 19:07:33 +02:00
Martine Lenders
bfec897e9e dist:testbed-support: fix Makefile include description 2015-07-05 00:54:06 +02:00
Martine Lenders
dd6a57da18 dist:testbed-support: Let GitHub parse markdown 2015-07-05 00:48:35 +02:00
Oleg Hahm
c42a02ff3b iotlab: some cosmetics 2015-06-03 17:44:09 +02:00
Oleg Hahm
06205c506d iotlab: wait for the new experiment in iotlab-exp
* also quietens the IoT-LAB targets
2015-05-28 19:49:36 +02:00
Oleg Hahm
eebb649b88 iolab: enable serial_aggregator readline support 2015-05-09 23:51:32 +02:00
Oleg Hahm
28f8c51aa2 iotlab: append experiment ID to serial_aggregator 2015-05-09 20:42:01 +02:00
Oleg Hahm
e3eda9a315 dist: Makefile to work with IoT-LAB
Introduces a Makefile that can be included into one's application
Makefile in order to remotely control experiments on the IoT-LAB
testbed. It requires that cli-tools
(https://github.com/iot-lab/cli-tools) are installed.
2015-04-28 19:11:37 +02:00