Commit Graph

2625 Commits

Author SHA1 Message Date
Atis Elsts
8b8798ada9 add back zolertia tool folder 2019-01-14 14:55:34 +00:00
George Oikonomou
2e4984f671 Change help messages to specify the -v argument as non-optional
This commit changes the help messages of `tunslip6` and native border router such thaty they stop specifying the `level` argument of `-v` as optional.
2018-11-11 16:51:18 +00:00
Simon Duquennoy
4ea5d41d52 Merge branch release-4.2 back into develop 2018-11-09 17:04:31 +01:00
Simon Duquennoy
a2b7b996e4
Merge branch 'develop' into contrib/uip-cleanup 2018-10-29 10:18:10 +01:00
Yasuyuki Tanaka
0bcdd39cc6 Rename 'arch/cpu/cc26xx-cc13xx' to 'arch/cpu/cc26x0-cc13x0' 2018-10-23 13:32:03 -07:00
George Oikonomou
8121383950 Update the Cooja submodule to the latest version 2018-10-23 17:47:31 +01:00
George Oikonomou
08141e6b9b Sort apt-get install packages, one package per line 2018-10-21 12:33:58 +01:00
George Oikonomou
b25e7bedf9 Redirect apt-get stdout to /dev/null 2018-10-20 16:04:03 +01:00
George Oikonomou
b4684e3d5f Single docker RUN for all apt- and npm work.
Quiet npm and run all of the above without sudo
2018-10-20 16:04:03 +01:00
George Oikonomou
06ad0f26b3 Quiet unzip 2018-10-20 16:04:02 +01:00
George Oikonomou
3c9eafc83b Quiet pip output 2018-10-20 16:03:51 +01:00
George Oikonomou
d756cb6e48 Quiet git clone 2018-10-20 15:25:14 +01:00
George Oikonomou
20fa52997c Quiet wget 2018-10-20 15:25:02 +01:00
George Oikonomou
995a076262 Explicitly set noninteractive frontent 2018-10-20 15:24:16 +01:00
Simon Duquennoy
8456c544d8 Simplify uip.h definitions 2018-10-18 20:26:12 +02:00
Simon Duquennoy
ea32ab0f12 Removed UIP_LLH_LEN 2018-10-18 20:26:12 +02:00
Simon Duquennoy
999e7dc3a7 Rework uip6.c 2018-10-18 20:26:11 +02:00
Simon Duquennoy
aaf06754ea uipbuf_set_len_field 2018-10-18 15:50:54 +02:00
Simon Duquennoy
d4bc09e002 Move function for clearing uip_buf to uipbuf module 2018-10-18 15:50:54 +02:00
Simon Duquennoy
01b795a4c2 Rework uIP6 extension header options access 2018-10-17 17:07:17 +02:00
Simon Duquennoy
2f9b60215e Removing tcpip and udpip data strcutures, unsafe in cases with IPv6 extension headers 2018-10-17 11:22:05 +02:00
Simon Duquennoy
1bd9ac781b Define ICMP, UDP, and TCP buffer pointers globally in uip.h 2018-10-17 11:18:32 +02:00
Simon Duquennoy
caa02ae51e Define UIP_IP_BUF globally in uip.h 2018-10-17 11:18:32 +02:00
George Oikonomou
882bfd083d Delete the zolertia-specific motelist 2018-10-16 22:03:59 +01:00
Simon Duquennoy
5497dc1e20 TSCH: timeslot timings as a structure, for flexible configuration 2018-10-04 10:50:09 +02:00
George Oikonomou
c29cfc256e
Merge branch 'develop' into null-character 2018-09-17 11:13:22 +01:00
Rehan MALAK
ee9d123842 update uncrustify configuration 2018-09-13 11:12:36 +02:00
Rehan MALAK
9a5373f267 fix indentation 2018-09-13 10:02:36 +02:00
Rehan MALAK
163f455fc7 add '\0' terminal character 2018-09-13 10:02:36 +02:00
Edvard Pettersen
5ea0c80ae1
Merge branch 'develop' into contrib/ti-simplelink 2018-09-12 09:27:43 +02:00
Edvard Pettersen
232fbd4c98 Fixed travis errors 2018-08-31 16:39:20 +02:00
Edvard Pettersen
c8edacdd6d Added doxygen exclude of Core SDK 2018-08-31 11:06:32 +02:00
George Oikonomou
8930ca7b2d Update cc2538-bsl to latest
This commit updates cc2538-bsl to its latest version. This latest version improves CC2640R2 detection and also adds support for detection of more chip packages.
2018-08-22 23:39:41 +01:00
Simon Duquennoy
c17d92ea36
Merge branch 'develop' into contrib/motelist 2018-08-17 10:54:02 +02:00
Simon Duquennoy
eedcac75c2
Merge branch 'develop' into contrib/vagrant-with-usbserial 2018-08-14 15:40:54 +02:00
Joakim Eriksson
00cd589c84
Merge branch 'develop' into contrib/ci-frag-large 2018-08-11 00:16:00 +02:00
George Oikonomou
ffcd04d413 Add motelist as a submodule
This commit adds contiki-ng/motelist as a submodule under tools/motelist.

The tool aims to automatically detect and output a list of sensor/IoT devices connected to a computer. It has been developed and tested in OSX and Ubuntu. There is currently no support for Cygwin, nor does the tool's author plan to provide such in the future :). The tool is expected to work with Python 2.7 and 3+. It has been tested and successfully detects CC26xx Launchpads and Zolertia RE-Mote and Firefly devices.

Motelist's ultimate goal is to replace vendor-specific motelist-foo tools under the respective tools/ subdirectories, with a single tool that can detect as many devices as possible and that provides its output in a homogenous and script-friendly format. This pull does not remove anything until the new motelist has been tested and found useful.

Unless stated otherwise within individual files, motelist sources are distributed under the terms of the 3-clause BSD license.

Some parts of motelist.py (especially the Linux backend), are based on ideas and original work done by Janis Judvaitis and Atis Elsts.

## Usage
```bash
$ python motelist.py -h
usage: motelist.py [-c] [-o] [-b] [-h] [-v]

Automatically detect and print out a list of motes connected to this computer

optional arguments:
  -c, --csv          Print list in CSV format
  -o, --omit-header  Omit header row
  -b, --brief        Only print serial port paths
  -h, --help         Show this message and exit
  -v, --version      Prints software version

```

Standard output:
```bash
$ python motelist.py
Port          Serial              VID     PID     Product                              Vendor
------------  ------------------  ------  ------  -----------------------------------  -----------------
/dev/ttyACM0  L200015Z            0x0451  0xBEF3  XDS110 (02.02.05.01) with CMSIS-DAP  Texas Instruments
/dev/ttyACM1  L200015Z            0x0451  0xBEF3  XDS110 (02.02.05.01) with CMSIS-DAP  Texas Instruments
/dev/ttyUSB0  ZOL-B001-A20000777  0x10C4  0xEA60  Zolertia Firefly platform            Silicon Labs
```

You can get the output in CSV format:
```bash
$ python motelist.py -c
Port;Serial;VID;PID;Product;Vendor
/dev/ttyUSB0;ZOL-B001-A20000777;0x10C4;0xEA60;Zolertia Firefly platform;Silicon Labs
/dev/ttyACM0;L200015Z;0x0451;0xBEF3;XDS110 (02.02.05.01) with CMSIS-DAP;Texas Instruments
/dev/ttyACM1;L200015Z;0x0451;0xBEF3;XDS110 (02.02.05.01) with CMSIS-DAP;Texas Instruments

```

You can ommit the header row with `-o`. You can also ommit all columns
except the first one with `-b`. You can also combine the `-cob` options:
```bash
$ python motelist.py -ob
/dev/ttyUSB0
/dev/ttyACM0
/dev/ttyACM1
```
2018-08-04 14:43:22 +01:00
George Oikonomou
f73fc7d0e0 Install linux kernel image extras 2018-08-03 23:23:14 +01:00
George Oikonomou
6f65063306 Bootstrap the vagrant image with a single apt install 2018-08-03 23:22:57 +01:00
George Oikonomou
14225300fc Specify default tun/tap name on Mac OS
e5c7437 fixed a bug that was preventing multiple instances of tunslip6 from running. This same commit however broke tunslip6 on Mac OS, as documented in contiki-os/contiki#1560 as well as in contiki-ng/contiki-ng#466

Basically the commit in question merely removed some code. This commit puts that code back in, but makes it conditional for Mac OS.

Fixes #466
2018-06-24 16:29:47 +01:00
Yasuyuki Tanaka
f325d44964 Dockerfile: add gdb 2018-06-09 23:16:32 +02:00
George Oikonomou
b0f5640101 Update cc2538-bsl to latest version 2018-06-07 12:56:34 +01:00
George Oikonomou
c0fe6216f6 Update the dockerfile to install packages required for readthedocs builds/tests 2018-06-05 21:11:40 +01:00
George Oikonomou
57692d21f9 Add support for documentation on readthedocs.io 2018-06-05 21:10:01 +01:00
Simon Duquennoy
e71bc0a818 Update Cooja to latest 2018-06-05 13:05:20 +02:00
Simon Duquennoy
bf11c827b0 Docker: by default, build non-standalone image (contiki-ng as a mount) 2018-06-04 21:18:07 +02:00
Simon Duquennoy
1f4d4ee7cf
Merge branch 'develop' into contrib/tools/viewconf 2018-05-28 20:53:14 +02:00
George Oikonomou
5d234e1138 Move viewconf to its own dir 2018-05-27 18:33:53 +01:00
George Oikonomou
8daaa357f5 Remove makefsdata 2018-05-27 18:33:35 +01:00
George Oikonomou
3e3cb08c7f Move serialdump and tunslip6 to their own subdir 2018-05-26 15:27:25 +01:00