Commit Graph

14180 Commits

Author SHA1 Message Date
Richard Weickelt
8f0b3fb49c Undo unnecessary makefile edit 2018-08-31 11:04:38 +02:00
Edvard Pettersen
b30ef7d56d Added async read on UART 2018-08-31 11:04:38 +02:00
Richard Weickelt
c99c3b4b5f Rewriting clock module based upon DPL 2018-08-31 11:04:38 +02:00
Edvard Pettersen
c8023df8a5 Added UART serial interface printing 2018-08-31 11:04:38 +02:00
Edvard Pettersen
765e35ba7f Added working simplelink platform without netstack 2018-08-31 11:04:38 +02:00
Edvard Pettersen
65ba0bb5a6 Fixed remaking Makefiles, removed implicit %.o for %.elf, aligned
defines, added volatile qualifier for RAM vector pointer
2018-08-31 11:04:37 +02:00
Richard Weickelt
f83579098b Resolve remarks 2018-08-31 11:04:37 +02:00
Richard Weickelt
8cee2abae6 List only directories 2018-08-31 11:04:37 +02:00
Richard Weickelt
a40e5bc314 Build the board file and add all libraries from the SDK 2018-08-31 11:04:37 +02:00
Edvard Pettersen
12c9056cec Cleaned up CCFG configuration, and aligned CC13x0_cc26x0 and
CC13x2_CC26x2 CPU conf
2018-08-31 11:04:37 +02:00
Richard Weickelt
c7aaefb4da Add board file deduction logic and board init stages 2018-08-31 11:04:37 +02:00
Edvard Pettersen
b861190cb8 Initial commit for rtimer-arch 2018-08-31 11:04:37 +02:00
Richard Weickelt
be4131d277 Add necessary SDK libraries and include paths 2018-08-31 11:04:37 +02:00
Edvard Pettersen
ddd451a19b Compiling example of dummy simplelink platform 2018-08-31 11:04:37 +02:00
Richard Weickelt
81b782636a Initial port 2018-08-31 11:04:37 +02:00
Richard Weickelt
e8251d786b Fix path errors when including arm makefiles from another location than a CPU makefile 2018-08-31 11:04:37 +02:00
Niclas Finne
b49477441c
Merge pull request #630 from samkumar/bugfix-coap-retransmission
Fix bug in CoAP retransmission policy
2018-08-30 15:16:56 +02:00
Niclas Finne
219f198d56
Merge branch 'develop' into bugfix-coap-retransmission 2018-08-30 14:45:59 +02:00
Joakim Eriksson
ee8fccb70a
Merge pull request #633 from retfie/lwm2m-ipso-object
Fix get_temp_value for lwm2m-ipso-object example
2018-08-30 13:07:10 +02:00
Kiril Petrov
e19e67b510 Fix get_temp_value for lwm2m-ipso-object example
Signed-off-by: Kiril Petrov <contiki@geomi.org>
2018-08-29 20:30:13 -07:00
Niclas Finne
6ebdbf0675
Merge pull request #624 from nvt/fix-antelope-issues
Fix Antelope issues with memory checking
2018-08-28 15:35:14 +02:00
Nicolas Tsiftes
7860ca5da0 Set a larger default bytecode size since the example on the Contiki-NG wiki requires this. 2018-08-27 15:58:57 +02:00
Nicolas Tsiftes
196accb9b7 Check if too many relations are inserted. 2018-08-27 15:58:57 +02:00
Nicolas Tsiftes
f9bc65eab2 Enhanced LVM error checking. 2018-08-27 15:58:57 +02:00
Nicolas Tsiftes
a73822176a Check element size when parsing tokens. 2018-08-27 15:58:57 +02:00
Sam Kumar
02dd484ff2 Fix bug in CoAP retransmission policy 2018-08-25 22:15:45 -07:00
Simon Duquennoy
21042ae748
Merge pull request #615 from g-oikonomou/contrib/motelist
Add motelist as a submodule
2018-08-22 09:36:20 +02:00
Simon Duquennoy
c17d92ea36
Merge branch 'develop' into contrib/motelist 2018-08-17 10:54:02 +02:00
George Oikonomou
1af84bdc5b
Merge pull request #614 from g-oikonomou/contrib/vagrant-with-usbserial
Enable USB device support within the vagrant image
2018-08-14 21:46:57 +01:00
Simon Duquennoy
eedcac75c2
Merge branch 'develop' into contrib/vagrant-with-usbserial 2018-08-14 15:40:54 +02:00
Simon Duquennoy
b8881a042e
Merge pull request #618 from Rehan-MALAK/test-the-tests
fix some bugs in the RPL border tests
2018-08-14 10:05:05 +02:00
Rehan MALAK
1a65e0ea75 fix some bugs in the RPL border tests
* 08-border-router-cooja-frag.sh was using 01-border-router-cooja.csc
  so if the test failed, the summary was wrongly indicating
  a failed 01-board-router-cooja test
* same for 09-native-border-router-cooja-frag.sh
  which has now it's own cooja configuration
* 05-native-ping was using 01-native-ping
* homogenizes the mode : all scripts are 644 now
2018-08-13 13:54:19 +02:00
Simon Duquennoy
6917f02ad9
Merge pull request #545 from simonduq/contrib/tsch-minor
TSCH: keep track of min/max drift seen
2018-08-11 15:33:05 +02:00
Joakim Eriksson
e9f0b33b89
Merge branch 'develop' into contrib/tsch-minor 2018-08-11 10:51:33 +02:00
Joakim Eriksson
0f1ae09a65
Merge pull request #568 from simonduq/contrib/ci-frag-large
CI test with large fragments
2018-08-11 10:49:58 +02:00
Joakim Eriksson
00cd589c84
Merge branch 'develop' into contrib/ci-frag-large 2018-08-11 00:16:00 +02:00
Joakim Eriksson
288f1c9e7f
Merge pull request #455 from simonduq/fix/coap-endpoint-is-reachable
CoAP: fix `coap_endpoint_is_connected`
2018-08-11 00:15:18 +02:00
Joakim Eriksson
351908a1ba
Merge branch 'develop' into fix/coap-endpoint-is-reachable 2018-08-10 21:46:29 +02:00
Joakim Eriksson
cde41c60ca
Merge pull request #613 from g-oikonomou/bugfix/variable-definition
Move variable definition to start of function
2018-08-10 21:23:07 +02:00
Joakim Eriksson
8dc1116241
Merge branch 'develop' into bugfix/variable-definition 2018-08-10 18:02:03 +02:00
George Oikonomou
abdeb4f4d1
Merge pull request #611 from ComNetsHH/fix-sfsimple
sixtop example: fix incorrect access to uint8_t *cell_list
2018-08-08 22:47:24 +01:00
George Oikonomou
94fb9e2437
Merge branch 'develop' into fix-sfsimple 2018-08-08 21:42:38 +01: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
c8432009e9 Move variable definition to start of function 2018-08-03 19:08:56 +01:00
ohrensessel
4e79ba949f sixtop example: fix incorrect access to uint8_t *cell_list 2018-07-30 20:53:29 +02:00
Simon Duquennoy
950bde89c2
Merge pull request #603 from debug-ito/icmp-log
Fix log output from uip_icmp6_send function.
2018-07-17 17:38:18 +02:00
Toshio Ito
840bab8f6c uip_icmp6_send: move log messages at the end of function.
It prints UIP_IP_BUF->destipaddr, but this is updated in the middle of
this function. Before this fix, the address was NOT the destination of
the ICMPv6 packet, but was whatever destination that previous operation
wrote to uip_buf.
2018-07-06 13:46:36 +09:00
Niclas Finne
c7b485399f
Merge pull request #577 from carlosgp143/contrib/extend-coap-request-APIs
CoAP: unified request_state for both blocking and callback APIs and add status codes
2018-06-29 17:07:53 +02:00