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

1322 Commits

Author SHA1 Message Date
Francisco Acosta
cb8e78da13
Merge pull request #9916 from kYc0o/pr/tools/fix_kill_testrunner
dist/tools/jlink.sh: fix testrunner on stdio_rtt based devices
2018-10-04 17:31:58 +02:00
Hauke Petersen
0ca02de0a2 tools: add nrf52_resetpin_cfg tool
This new tool allows configuring the reset pin for nRF52-based
boards. As the reset pin configuration is persistent, it does not
make sense to include it into the board code...
2018-09-28 16:50:58 +02:00
Martine Lenders
442df8227b
Merge pull request #9839 from MrKevinWeiss/pr/doc/repoupdate
doc: Add deprecation warnings for new repos
2018-09-25 23:15:07 +02:00
Martine Lenders
5ac02f5134
Merge pull request #10010 from smlng/pr/fix/cppcheck-suppress
dist/cppcheck: fix missing cppcheck-suppression reasons
2018-09-25 13:52:28 +02:00
smlng
d7942cd974 dist/tools: fix tunslip6 strncat num param
Cppcheck was (correctly) warning here that concat to strings might
result in buffer overflow because the terminating `\0` was not considered.
This is fixed here, making the cppcheck suppression also obsolete.
2018-09-25 12:03:58 +02:00
smlng
3f811c44db cppcheck: extend cppcheck README example
Extend the cppcheck suppression example to show that each suppression
should have a reason describing the intentional suppression of a
cppcheck warning or error.
2018-09-25 12:03:58 +02:00
smlng
59e299635b cppcheck: add/correct reason for cppcheck-suppress
Adding and correcting description/rational on why certain cppcheck
warnings or errors are intentionally suppressed.
2018-09-25 12:03:58 +02:00
smlng
6d24033bd6 dist/tools: print OS and Kernel version
Add output to print_toolchain_version script to include info
on the operating system and its kernel version.
2018-09-25 09:22:42 +02:00
smlng
87505f0334 dist/tools: fix whitespace in print_toolchain_versions 2018-09-25 09:22:41 +02:00
smlng
c73ed667c1 dist/tools: print more tool versions
This adds openocd, python, python2, and python3 to the helper
script print_toolchain_versions.sh.
2018-09-25 09:22:41 +02:00
smlng
424830b06b dist/tools: parse version info from stderr
Currently version information of commands and tools is only parsed
from STDOUT, however some tools like openocd print version info
to STDERR only. This commits adds parsing of STDERR for version
infos if STDOUT does not contain such info.
2018-09-25 09:22:41 +02:00
Leandro Lanzieri
31fa4fd64d dist/tools: Add stm32loader flash utility 2018-09-18 18:07:42 +02:00
Francisco Acosta
89fa4da4c3 dist/tools/jlink: remove duplicated check 2018-09-11 17:29:12 +02:00
Francisco Acosta
ad87b2875e dist/tools/jlink: remove setsid for launching JLinkExe for term
When executing `make test` on devices using JLink, testrunner
launches `make term` which calls `jlink.sh term_rtt`. When finished
the father process is killed but `setsid` has launched JLinkExe
as another subprocess, which is not killed by `os.killpg` from
testrunner since it doesn't belong to the same group.
2018-09-11 00:46:18 +02:00
Francisco Acosta
dfd349a05b dist/tools/jlink: send output to /dev/null
While running `make term` JLinkExe is expecting commands and thus
can be disturbed by other JLink commands, e.g. `make reset`.
This enable `make test` (which runs those two commands at the same
time) on target using JLinkExe as a programmer/debugger.
2018-09-11 00:46:18 +02:00
0c1a207bf9
Merge pull request #9867 from kaspar030/pr/unify_app_folder_search
make: unify app folder search (examples/*, tests/*, ...)
2018-09-06 09:30:12 +02:00
de55265835 dist/tools/compile_test: make use of makefiles/app_dirs.inc.mk 2018-09-05 12:03:09 +02:00
Schorcht
e528fb8e2d cpu: add esp8266 vendor files 2018-09-05 02:39:50 +02:00
cladmi
bc7e53f3d4
openocd.sh: include base address in IMAGE_OFFSET for binfiles
Add the rom base address to the flash address when flashing binaries.
This allows flashing binaries with the default openocd configuration.

It is an API change to IMAGE_OFFSET with binary files as it should now
only be an offset to the base address.

Force openocd type to '.bin' in case we want to flash hex/elf objects or
files not automatically recognized as bin.
2018-09-04 13:53:38 +02:00
cladmi
36b51467dd
openocd.sh: add functions to access board flash address
This allows getting the ROM base address.

It may not be available in the build system directly so better extract it from
openocd. Also openocd is board specific and this address is cpu specific
so would have definition order issue in the build system.
2018-09-04 13:50:46 +02:00
cladmi
5748d6a75f
openocd.sh: add a _is_binfile function
Returns 0 if it is true.

The test is based on the file extension, but also use the IMAGE_TYPE variable
to force setting to binary.
2018-09-04 13:49:45 +02:00
cladmi
60aac4a75b
openocd.sh: fix verify_image with IMAGE_OFFSET
When flashing with an IMAGE_OFFSET, it should also be passed to
verify_image. It is handling the base address in the image too.

This works with both elf files and binaries with the base address added.
2018-09-04 13:48:16 +02:00
cladmi
09f0930f59
openocd.sh: add a debug message when flashing with an offset 2018-09-04 13:48:12 +02:00
cladmi
5bb9babfe0
openocd.sh: update to bash
Update to bash to have `local` variables and `=~` regex matching.
Will be used in upcoming commits.
2018-09-04 13:46:25 +02:00
75dba75fbb dist/tools/pyterm: handle ctrl+d nicely 2018-09-03 17:34:23 +02:00
a5714cc7c7 dist/tools/compile_test: fix flake8 issues 2018-08-31 08:50:52 +02:00
MrKevinWeiss
223ed1a26b doc: Add deprecation warnings for new repos
This PR add deprication warning to notify anyone using the if_lib files that it is being removed from RIOT repo and making it's own repo (RIOT-OS/lib_if).
This is intended to help wil modularization since it is not only being used within RIOT but in other areas as well.
README files are updated to indicate the change and if the if_lib is used it will throw a warning indicating the deprecation.
2018-08-25 10:34:32 +02:00
Semjon Kerner
a01eb37b6f dist/tools/pyterm: change deprecated warn to warning 2018-08-23 12:23:59 +02:00
Leandro Lanzieri
28b832ad1f dist/tools: Add option to set the value of RTS and DTR pins in pyterm 2018-08-22 11:13:45 +02:00
Leandro Lanzieri
9b0dd23ebf dist/tools: Add option to invert DTR and RTS logic values in pyterm 2018-08-22 09:00:06 +02:00
Gaëtan Harter
cc63d2d21c
genconfigheader: use lazysponge for file management
Remove file management from `genconfigheader` script and use `lazysponge` in
Makefile.include.

Use --verbose option when in non QUIET building mode.
2018-08-20 11:34:55 +02:00
Gaëtan Harter
0528e0903f
dist/tools: add lazysponge tool
Write stdin to <outfile> if it is different from the previous content.

If data provided in stdin is the same as the data that was in <outfile>, it is
not modified so `last modification date` is not changed.
2018-08-20 11:34:49 +02:00
Gaëtan Harter
31aba49a31
Merge pull request #9759 from smlng/pr/pythonlibs/testrunner
dist: move testrunner to pythonlibs as package
2018-08-16 11:54:02 +02:00
Gaëtan Harter
a3c7d26a7d
dist/tools/has_minimal_version: add tool to check minimal version
usage: has_minimal_version.sh <version> <minimal_version> [toolname]
      Checks that version >= minimal_version
      Version format MAJOR.MINOR.PATCH ex 3.1.4
2018-08-14 15:26:51 +02:00
smlng
dd9a43bdc9 dist: move testrunner to pythonlibs as package
As testrunner is moved to dist/pythonlibs which is exported
via PYTHONPATH, testrunner is found by all test scripts.
2018-08-13 14:11:22 +02:00
smlng
68a6ba8987 make: introduce common Python lib path
Introduce dist/pythonlibs directory to store RIOT python packages.
This directory is exported via PYTHONPATH by the build system to
make it commonly available.
2018-08-10 11:37:43 +02:00
Yegor Yefremov
ea7fa8bb63 dist/tests/if_lib: use '==' for string comparison
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-08-06 10:19:43 +02:00
Yegor Yefremov
87ecb78d2f dist/tests/if_lib: don't invoke super class __init__
Python invokes super class __init__ automatically
unless it is overridden.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-08-06 09:55:43 +02:00
Yegor Yefremov
ff525eb354 dist/tests/if_lib: move testing infrastructure files to a stand-alone package
Create if_lib package containing all the modules and adapt the *.py files
to import each other using the intra-package references.

The idea behind a package is to invoke test.py either by permanently
modifying PYTHONPATH in user profile via adding path to $RIOTBASE/dist/tests
or make temporary PYTHONPATH changes during the invocation:

PYTHONPATH=$PYTHONPATH:$RIOTBASE/dist/tests python3 test.py

Leave periph_i2c_if.py in the same folder as test.py as this file is
just a Python wrapper around periph specific main.c.

Update BPT memory map. Use definitions generated with the latest code
generator. Both routine names and mapping have changed.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-08-02 13:34:47 +02:00
Cenk Gündoğan
36529e3d61
Merge pull request #9586 from miri64/dist/fix/iotlab-term
iotlab-support: use iotlab command to check credentials
2018-08-02 09:26:07 +02:00
Gaëtan Harter
5284849621
Merge pull request #9063 from bergzand/pr/shellcheck/initial
shellcheck: Add CI check script
2018-07-30 13:52:58 +02:00
c5c3903617
shellcheck: Add CI check script 2018-07-29 15:28:13 +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
3cb57b68c2
Merge pull request #9502 from dylad/pr/update_edbg
dist/tools: update EDBG version
2018-07-12 22:14:02 +02:00
dylad
edf0360103 dist/tools: update EDBG version
update to the current lastest version of EDBG to allow user to reflash a bricked board due to sleep mode or wrong clock assignment. this avoid the use of Atmel Studio to erase flash.
2018-07-10 15:10:40 +02:00
Martine Lenders
49036c7065 mosquitto_rsmb: add MQTT listener to config
This helped me a lot while testing #9464 to interact with the broker
using the mosquitto shell command clients.
2018-07-05 13:17:59 +02:00
Hauke Petersen
3ccb27d00d tools: add mosquitto.rsmb MQTT-SN broker 2018-07-04 11:36:57 +02:00
Juan Carrano
6cfafc8923 tools/mkconstfs: Add an improved tool.
The new tool (mkconstfs2) features:

* more robust filename handling: no need for mangling,
  and works on Windows.
* Better output generation: nothing is written in case
  of failures.
* Allows more control over the files that are included:
 - does not traverse directories, filenames must be explicitly
   given.
 - The "root" can be explicitly given (thus the tool can get
   the same result independently of the CWD).

Thanks to MichelRottleuthner for making it work with Windows paths.
2018-07-02 10:15:56 +02:00
Gaëtan Harter
1087e49379
dist/tools/usb-serial: use RIOTTOOLS variable 2018-06-28 14:05:33 +02:00
Gaëtan Harter
b0b2835503
dist/tools/jlink: use RIOTTOOLS variable 2018-06-28 14:05:33 +02:00
Gaëtan Harter
41105bb23f
pic32prog: add a documentation on how to update PICkit3
To use pic32prog, the PICkit3 must be updated with a scripting mode firmware.
This describes how to do it on Linux using a windows VM (free).
2018-06-18 10:21:37 +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
Gaëtan Harter
ec2fe9a308
Merge pull request #9294 from smlng/pr/tools/cwd
tools: allow static checks to be run from any directory
2018-06-12 12:39:42 +02:00
Cenk Gündoğan
2706264908
Merge pull request #9292 from smlng/pr/tools/doccheck
tools/doccheck: adapt script to run on macOS
2018-06-12 10:28:43 +02:00
00828bb62d dist/tools/doccheck: enable group check in CI 2018-06-11 19:12:02 +02:00
Martine Lenders
5cb5717a1f
Merge pull request #9293 from smlng/pr/tools/flake8
tools/flake8: fix regex in check script
2018-06-11 11:17:08 +02:00
smlng
cba319079c tools/doccheck: adapt script to run on macOS 2018-06-11 09:50:32 +02:00
2f21e16915 dist/tools/doccheck: add check for undefined groups 2018-06-07 19:29:38 +02:00
smlng
1adb5852ec tools: allow static checks to be run from any directory 2018-06-06 14:03:31 +02:00
smlng
c5f2ea6320 tools/flake8: add files exclude pattern for imported scripts 2018-06-05 15:22:07 +02:00
smlng
1891d42bc8 tools/flake8: fix files regex for macOS 2018-06-05 15:21:26 +02:00
22cb41b874
Merge pull request #8966 from kenrabold/riotpr
RISC-V: New CPU (FE310) and Board (HiFive1)
2018-05-30 09:47:26 +02:00
kenrabold
a6ba0d85ee make: Ignore checking all vendor files
Ignore all files in any vendor directory, not just /include/vendor
2018-05-29 15:21:44 -07:00
Bas Stottelaar
1d78138816 dist: tools/licenses: add mit-short 2018-05-29 18:40:59 +02:00
Joakim Nohlgård
5816aa7419 dist: tools: git-cache: update to latest upstream
Upstream commit 04f04e5272f9fd68113a7f07ef034dd672630c79

04f04e5272
2018-05-17 20:42:23 +02:00
Gaëtan Harter
ef13d91bed
tools/check: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-14 15:47:53 +02:00
Gaëtan Harter
6027b9bca1
Merge pull request #9018 from aabadie/pr/dist/testbed-support-tools-name
dist/testbed-support: use new cli-tools command names
2018-05-11 19:05:56 +02:00
Gaëtan Harter
297ca898fe
dist/tools/desvirt: use RIOTTOOLS variable 2018-05-09 18:01:48 +02:00
1592de7bff
tools/flake8: fix shellcheck issues 2018-05-07 15:59:46 +02:00
6fc32e90dd dist/testbed-support: use new cli-tools command names 2018-04-26 16:13:02 +02:00
2172074598 dist/tools/openocd: make reset before halt option in debug 2018-04-18 17:33:30 +02:00
f2a73c26cf ci: print_toolchain_versions.sh: enlarge field width to 23 2018-04-13 12:04:08 +02:00
fa96289531 dist/tools/ci/print_toolchain_versions.sh: add riscv toolchain 2018-04-13 11:55:55 +02:00
89475e72f7 testrunner: spawnu 'make term' with 'codec_errors="replace"' 2018-04-11 22:42:12 +02:00
7c5d549d5d dist/tools/flake8: use "python -m flake8", handle missing flake8 2018-04-05 09:40:31 +02:00
Bas Stottelaar
c04d831754 dist/tools: jlink: use GDB as default for DBG 2018-03-29 19:54:48 +02:00
smlng
a777f6fab0 tools: add helper script for xcompile with cmake 2018-03-27 19:02:06 +02:00
Sebastian Meiling
780f6046d8
Merge pull request #8745 from aabadie/pr/tools/print_doxygen_version
dist/tools/ci: also print doxygen and flake8 versions
2018-03-09 09:21:00 +01:00
80b7094488 dist/tools/ci: also print doxygen and flake8 versions 2018-03-05 18:42:39 +01:00
smlng
32cacd1743 tools: show diff for headerguards check on failure
fixes #8737
2018-03-05 13:54:51 +01:00
smlng
9968889c13 tools/ci: enhance print_toolchain script
- add generic command version printer
    - add cmake version
    - enhance output structure
2018-03-02 20:03:43 +01:00
Emmanuel Baccelli
401234f5d4 tools: added CC0 license pattern 2018-03-01 16:18:47 +01:00
b33f8a1b8b dist/tools/edbg: fix typo in comment 2018-02-25 23:02:25 +01:00
Joakim Nohlgård
369267863c ethos: Avoid EOF loops on detached stdin
Add a specific case of EOF on stdin to avoid situations where the
message `error reading from stdio. res=0` is repeated forever if stdin
is not a terminal. When ethos is started as a background process with
stdin redirected to /dev/null, e.g. `ethos ... < /dev/null &`, then
reading stdin will always result in a 0 length read (EOF).
If stdin is a tty we close the program on EOF (CTRL+D in the terminal),
otherwise, we stop reading from stdin after EOF was reached, but
continue tunneling traffic as usual.
2018-01-24 08:54:40 +01:00
Loïc Dauphin
86dec1b762 dist/tools: make teensy-loader-cli work on MACOSX 2018-01-17 18:14:00 +01:00
Hauke Petersen
45e0468ea4 tools/jlink: add RTT terminal support (term_rtt) 2018-01-15 23:01:34 +01:00
eaee364a1b dist/tools/pyterm: fix flakes8 issues 2018-01-05 15:21:03 +01:00
c20948df09 dist/tools/pyterm: remove duplicate method in PubProtocol
probably a copy paste from
http://twistedmatrix.com/documents/13.0.0/core/howto/servers.html#auto1
'numProtocols' is not used anywhere else so we keep the second version
of the 'connectionLost' function.
2018-01-05 15:18:51 +01:00
9578d17e93 dist/tools/flake8: update changed files regexp
to explicitly include pyterm
2018-01-05 13:39:25 +01:00
fa3c033949
Merge pull request #8306 from aabadie/pr/flake8/fix_header_guards
dist/tools/headerguards: fix flake8 issues
2018-01-03 17:17:47 +01:00
Martine Lenders
0f8721dfdf
Merge pull request #8308 from aabadie/pr/flake8/fix_mkconstfs
dist/tools/mkconstfs: fix various flake8 issues
2017-12-27 11:51:29 +01:00
6f99a98205
Merge pull request #8290 from smlng/ci/toolchain/print_git_version
toolchains: print git version
2017-12-21 11:54:06 +01:00
cfe2885720 dist/tools/headerguards: fix flake8 issues 2017-12-21 09:21:34 +01:00
f124e38475 dist/tools/mkconstfs: fix various flake8 issues 2017-12-20 16:48:56 +01:00
58ab6dd3fe dist/tools/testrunner: fix flake8 remaining issues 2017-12-20 13:34:52 +01:00
2b5f185f40
Merge pull request #8293 from smlng/enh/tools/tapsetup
tools/tapsetup: try to retrieve user name if not set
2017-12-19 19:46:32 +01:00
Gaëtan Harter
a40e9bac5c
Merge pull request #8078 from aabadie/pr/python_style_check
dist/tools: add Python style check in static tests
2017-12-19 18:42:49 +01:00
smlng
24d79ca11b tools/tapsetup: try to retrieve user name if not set 2017-12-19 17:56:48 +01:00
smlng
e18aa35559 toolchains: print git version 2017-12-19 16:20:21 +01:00
Sebastian Meiling
631705d743
Merge pull request #8053 from cladmi/pr/testrunner/make_start_delay_configurable
dist/tools/testrunner: Make started wait time configurable
2017-12-18 11:09:49 +01:00
035bdf7dcb dist/tools: add PEP8 check to static tests 2017-12-15 15:07:50 +01:00
Martine Lenders
90d2060188
docheck: make doccheck executable from any directory
The doccheck script reports reports a false positive when executed from
any directory but `RIOTBASE`. With this fix, `make doc` changes into
the currently unused `RIOTBASE` variable.

This is an alternative approach to #7217, which removes this variable,
but keeps the false positive aspect of the script untouched.
2017-12-07 11:01:49 +01:00
Martine Lenders
83930a0625
dist: add commit message length checker 2017-12-06 12:04:34 +01:00
Gaëtan Harter
58f6df24cd dist/tools/testrunner: Make started wait time configurable
The wait before board is started is 3 by default but can be overwritten by
setting 'TESTRUNNER_START_WAIT' environment variable.
2017-12-04 15:10:30 +01:00
Gaëtan Harter
da24cdaf3f
Merge pull request #8058 from haukepetersen/opt_boards_usecommon
boards: move shared code to boards/common/xx
2017-11-30 10:54:16 +01:00
Hauke Petersen
2ead5ef3a0 tools/testrunner: minor code beautifications 2017-11-30 10:34:37 +01:00
Hauke Petersen
a7c1a3f689 tools/changed_files: adapt for common board dirs 2017-11-30 10:26:36 +01:00
b62ebf5e44
Merge pull request #8079 from smlng/enh/dist/develhelp
dist: adapt develhelp in Makefile
2017-11-30 09:19:10 +01:00
Lucas Jenss
33002325d5 tools/pyterm: Notify user if wrong serial package is installed
When installing the `serial` package (in contrast to `pyserial`)
the pyterm script will print a cryptic error message and fail.
This is because both packages, though unrelated, expose a `serial`
package (whereas pyserial should expose `pyserial`).

This change catches the error and might save some precious lifetime
of unsuspecting RIOT users, such as myself.
2017-11-28 20:00:37 +01:00
smlng
c93d1ca6c2 dist: adapt DEVELHELP switch 2017-11-28 10:51:50 +01:00
b109b9ff99 dist/tools/pyterm: exit without traceback on keyboard interrupt 2017-11-27 13:19:48 +01:00
Martine Lenders
16e2829258
Merge pull request #7959 from antmicro/feature/renode-integration
makefiles: tools/renode: add support for Renode
2017-11-24 18:43:31 +01:00
smlng
013f325569 tools: move sniffer to applications repo 2017-11-23 10:24:39 +01:00
Michael Gielda
512445a66f
Update README.md for release 1.1 + link to docs 2017-11-21 15:22:55 +01:00
Cenk Gündoğan
31293b63cd dist: make: iotlab: use target specific var assignment 2017-11-20 00:46:31 +01:00
Joakim Nohlgård
57de166ea1 makefiles: Refactor openocd tool handling
Attempt to decouple board configuration from debugger interface
configuration by specifying the DEBUG_IFACE variable for the debug
hardware interface to use.
2017-11-17 10:03:05 +01:00
bcd823cc70
Merge pull request #8042 from haukepetersen/rm_board_x86
boards/cpu: remove support for x86
2017-11-16 11:31:14 +01:00
ba62eb5f51 dist/testbed-support: fix iotlab makefile indentation 2017-11-16 10:55:39 +01:00
Hauke Petersen
d7e11cd216 tools: remove toolchain build script for x86 2017-11-16 10:42:09 +01:00
Hauke Petersen
acaa092d6f dist/tools/ci: do not call make for qemu-i386 2017-11-16 10:42:09 +01:00
Martine Lenders
410778303e
testrunner: make traceback extraction downwards-compatible
The object-like access to frame information in the traceback was only
introduced in Python 3.5. Before that version it was a 4-tuple [[1]].

The indexed way to access the frame seems to be upwards-compatible for
newer versions (tested with python 3.5, maybe some of the Arch crew can
test with even newer versions), so I used that one.

[1]: https://docs.python.org/3.4/library/traceback.html#traceback.extract_tb
2017-11-15 14:51:39 +01:00
dcc1ae393c dist/tools/pr_check: fix regex pattern to recognize any SHA 2017-11-13 16:43:12 +01:00
Cenk Gündoğan
e1422bb5e4 testrunner: handle EOF and ProcessLookupError 2017-11-12 13:13:50 +01:00
Cenk Gündoğan
d537dd609f testrunner: refactor exception printing 2017-11-12 13:13:50 +01:00
Martine Lenders
18fb51cf66 testrunner: show information about failed line (even without traceback) 2017-11-12 12:27:21 +01:00
Cenk Gündoğan
05c9267a49
Merge pull request #7996 from aabadie/pr/testrunner_pep8
dist/tools/testrunner: fix some pep8
2017-11-10 23:44:43 +01:00
Peter Kietzmann
40e2a5a5f1
Merge pull request #7997 from cgundogan/pr/vagrant_info
vagrant: add info to README.md for Windows quirks
2017-11-10 15:35:06 +01:00
Cenk Gündoğan
50443708aa vagrant: add info to README.md for Windows quirks 2017-11-10 15:21:03 +01:00
a8275ea637 dist/tools/testrunner: fix some pep8 2017-11-10 13:26:15 +01:00
Piotr Zierhoffer
b424274a72 makefiles: tools/renode: add support for Renode 2017-11-08 12:43:09 +01:00
Martine Lenders
7ea0ba1a7e
Merge pull request #7710 from tfar/sandbox/2017/10/fix-edbg-macos-build
dist/tools/edbg: clear INCLUDES and LINK env vars before building
2017-11-07 22:32:33 +01:00
Tobias Markmann
3d0a350ebc dist/tools/edbg: Clear environment before building edbg
This fixes compilation on macOS. Without this, autoconf
might pick up INCLUDES and LINKER variables causing compilation
and linking errors.
2017-11-07 21:26:42 +01:00
Cenk Gündoğan
ce8d880513 packer: add dfu-util and bluepill udev rules 2017-11-03 13:44:39 +01:00
9b32d18e92
Merge pull request #7904 from basilfx/bugfix/jlink
dist/tools: check DBG env var.
2017-11-01 17:39:22 +01:00
Adrian GHC
cf148528c0 dist: Update Vagrant packer files to include xstlproc and Ubuntu 16.04.3 2017-10-29 15:55:50 +01:00
Bas Stottelaar
7e7d5d30f0 dist/tools: check DBG env var. 2017-10-29 15:06:46 +01:00
Joakim Nohlgård
af9ab30234 Merge pull request #7750 from miri64/dist/enh/clean-up-after-buildtest
dist: compile_test: cleanup after buildtest
2017-10-27 14:51:09 +02:00
Martine Lenders
fe38901588 dist: compile_test: cleanup after buildtest
We are at a point were building all of RIOT takes massive amounts of
storage. Since my machine runs full after only compiling ~20
applications (I have ~170 GB free storage if the RIOT repo is clean).

Thus the easiest solution for the compile tests is to just clean-up the
mess they made ;-).
2017-10-26 12:19:58 +02:00
Hauke Petersen
1928d1c0e9 tools/testrunner: wait 3s after 'make term' 2017-10-25 12:28:45 +02:00
Joakim Nohlgård
dd95f593a0 openocd: Run verify after write without intermediate reset
Fixes problems with the watchdog interfering on Kinetis K devices
when USE_OLD_OPENOCD=0.
2017-10-18 14:34:20 +02:00
Joakim Nohlgård
7713bede99 openocd: Refactor openocd.sh script
- Merge flash and flash-elf commands since they were identical except
  for the file name of the image
- Split GDB command from DBG environment variable to allow more easily
  configure front-ends for GDB via environment variables.
- Remove verbose tests of empty variables and replace by `: ${VAR:=default}`
- Remove passed command line arguments to sub-functions, they were
  unused in the functions anyway.
- Remove TUI variable, use `export DBG_EXTRA_FLAGS=-tui` to get the same
  result.
2017-10-18 14:34:20 +02:00
Martine Lenders
b74ee8869b slip: port to be used with netdev 2017-10-10 23:14:12 +02:00
Lucas Jenss
556baf07a1 dist/tools/cppcheck: Allow individual files to be cppchecked 2017-10-10 10:59:02 -07:00
smlng
49a4dda7d2 tools: ignore vendor files on whitespace check 2017-09-20 15:26:10 +02:00
162478cd6d spelling: s/initialise/initialize/ 2017-09-05 11:04:25 +02:00
Joakim Nohlgård
503976c663 dist/tools/ethos: Build escaped packet in buffer before writing to UART
Significantly improves throughput and latency on FRDM-KW41Z.

Ping with a packet of size 100 yields a 30 ms roundtrip with this
patch, 177 ms without. Size 1000 ping before: 1160 ms, after: 188 ms
2017-08-18 08:12:44 +02:00
Sebastian Meiling
422b42ce65 Merge pull request #7338 from aabadie/edbg_remaining_boards
boards: use EDBG flasher with arduino-zero and saml21-xpro
2017-08-17 09:16:39 +02:00
kYc0o
b19fcba019 dist/tools/jlink: add flashing offset when set 2017-07-17 14:48:29 +02:00
b16118ab6e dist/tools/edbg: bump version to include support for SAML21J18A 2017-07-14 23:27:16 +02:00
kYc0o
f464cf830a dist/tools: add imgtool 2017-07-06 23:26:56 +02:00
Thomas Eichinger
219ffb3847 Merge pull request #7283 from smlng/dist/tools/edbg/fix_macos
tools, edbg: fix compiler issue on macos
2017-07-04 13:48:24 -07:00
smlng
efcc275091 tools, edbg: fix compiler issue on macos 2017-06-30 20:16:29 +02:00
kYc0o
c0b2182d01 dist/tools/bossa: add patch for OS X build 2017-06-30 16:44:47 +02:00
d69352a237 dist/tools: add dlcache.sh 2017-06-17 17:00:55 +02:00
Cenk Gündoğan
1186029102 packer: add custom udev rules 2017-06-02 11:09:33 +02:00
Cenk Gündoğan
901bbf6898 packer: import openocd udev rules 2017-06-02 10:44:21 +02:00
e99a834487 dist: tools: coccinelle: add documentation 2017-05-30 21:38:03 +02:00
Martine Lenders
386be92a66 Merge pull request #7105 from cgundogan/pr/packer_libudev
dist: packer: update and add libudev-dev
2017-05-30 14:06:33 +02:00
BytesGalore
eac2b0c761 dist/edbg: forward commit hash to added samr21-xpro (rev D) 2017-05-30 08:59:11 +02:00
Cenk Gündoğan
f18936a7d9 dist: packer: update and add libudev-dev 2017-05-29 19:26:55 +02:00
Martine Lenders
d4693648ba Merge pull request #7095 from kaspar030/add_headerguard_check_script
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
60fb6d2d50 dist: tools: changed_files.sh: add msba2 tools to exclude list 2017-05-24 17:54:02 +02:00
ed31db4702 dist: tools: build_and_test.sh: add header guard check 2017-05-24 17:54:01 +02:00
de07fe07e5 dist: tools: headerguard: initial commit 2017-05-24 17:54:01 +02:00
6a9175944c dist: tools: add edbg 2017-05-24 14:52:44 +02:00
c53e9271ba dist: tools: bossa: add makefile rule to clean generated binary 2017-05-22 16:18:07 +02:00
Hauke Petersen
fb82e246d9 tools: add means to download and build BOSSA 2017-05-22 11:42:00 +02:00
Sebastian Meiling
4bc77be282 Merge pull request #6966 from miri64/doccheck/enh/show-doc-warning
doccheck: actually show warning, not just file
2017-05-17 13:49:03 +02:00
Martine Lenders
0f2fa7883c doccheck: actually show warning, not just file 2017-05-17 13:01:13 +02:00
d2362c1c74 Merge pull request #7057 from gautric/master
use MD5 as environment variable
2017-05-16 10:18:16 +02:00
gautric
89cd127e31 dist/tools/toolchains: use MD5 as environment variable 2017-05-16 10:05:57 +02:00
564448ae96 dist: tools: coccinelle: add enable_debug_false.cocci 2017-05-15 16:36:44 +02:00
a7ad4f0469 dist/tools/coccinelle: add remove_atoi_cast.cocci 2017-05-13 12:37:09 +02:00
d603367c08 dist/tools/ci/print_toolchain_versions.sh: add coccinelle 2017-05-12 13:17:53 +02:00
98c359d231 dist/tools/ci/changed_files.sh: add coccinelle includes to EXCLUDE 2017-05-12 13:17:53 +02:00
9acc5282af dist: tools: introduce coccinelle static testing 2017-05-12 13:17:53 +02:00
bb24b1d77b Merge pull request #7039 from kaspar030/fix_in-function_static_variables
cleanup: remove unused in-function static variable properties (coccinelle)
2017-05-12 13:17:03 +02:00
8611650078 dist/tools/uhcpd: remove unnecessary static properties (partly found by coccinelle) 2017-05-11 13:46:24 +02:00
a7e55a17cf dist/tools/ci/build_and_test.sh: adapt to changed check scripts 2017-05-11 12:12:54 +02:00
a02472d1fa dist/tools/licenses/check.sh: make use of changed_files.sh 2017-05-11 12:12:54 +02:00
e24becc02a dist/tools/externc: use of changed_files.sh 2017-05-11 12:12:54 +02:00
9b045c127f dist/tools/cppcheck: use changed_files.sh 2017-05-11 12:12:54 +02:00
5a4ea3b45d dist/tools/ci: introduce changed_files.sh 2017-05-11 12:12:54 +02:00
1ec3c0a57a Revert "dist: cppcheck: switch back to 8 jobs"
This reverts commit ec97a94626.

(The commit seems to cause trouble. Furthermore, there's no reference to
either the issue or how it was solved in the original commit message).
2017-04-25 19:31:02 +02:00
Oleg Hahm
ec97a94626 dist: cppcheck: switch back to 8 jobs 2017-04-14 14:36:17 +02:00
Oleg Hahm
76e884e346 dist: ci: removed obsolete TODO regarding cppcheck 2017-04-14 14:36:17 +02:00
Oleg Hahm
2cb16c5ff4 dist: tunslip: fix cppcheck warnings 2017-04-14 14:36:16 +02:00
Oleg Hahm
3a304f10ee dist: enable cppcheck warnings for all files 2017-04-14 14:36:13 +02:00
6ef21a8fd3 dist: tools: print_toolchain_versions.sh: add cppcheck version 2017-04-06 14:20:23 +02:00
Neil Jones
65911f3499 cppcheck: Don't Run cppcheck on ASM files.
cppcheck doesn't understand ASM style comments beginning with '#' and tries to
parse them:

I get this error:
 cpu/mips_pic32_common/reset_mod.S:84: error (syntaxError): syntax error
from this line:
 beqz s1, init_resources # Branch if this is NOT an NMI exception.

If I place the comment inside C-style comments cppcheck passes, ie

 beqz s1, init_resources # /*Branch if this is NOT an NMI exception.*/

Note current in-tree ASM files fail cppcheck (they must have been added before
this check) for example:

cpu/lpc2387/asmfunc.s
2017-03-29 15:14:43 +01:00
Emmanuel Baccelli
9de3484c12 Doc: improved README for new boards in Vagrant 2017-03-28 20:22:47 +02:00
Martine Lenders
29842bb5e4 netdev2: rename to netdev and remove gnrc_netdev
With some minor hand-edits I used the following chain of commands:

```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
        xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
                     -e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
                     -e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
        grep "netdev2" | while read dir; do
                new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
                git mv -f "$dir" "$new_dir"
        done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | while read file; do
                new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
                git mv -f "$file" "$new_file"
        done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
        xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Oleg Hahm
44604a9ed5 tools: make doccheck check all files 2017-03-10 14:56:48 +01:00
Joakim Nohlgård
dcc37329df sys/vfs: A virtual file system (VFS) layer for RIOT
The VFS layer provides file system abstractions to allow using a unified
interface to access files from mounted file systems.
2017-03-07 17:59:57 +01:00
Joakim Nohlgård
5638359960 tools/externc: Remove #endif in extern C pattern match
Enable adding more C++ specifics inside the same ifdef block (e.g. sys/include/vfs.h)
2017-03-07 10:21:52 +01:00
Hauke Petersen
19bf9f8d0f dist/externc: exclude all (CPU) vendor headers 2017-03-07 08:55:16 +01:00
Hauke Petersen
0fb3ee3b9b dist/cppcheck: exclude only vendor headers 2017-03-07 08:55:15 +01:00
Thomas Eichinger
4aaf8dd616 tools/tapsetup: change default bridge name on macOS
The default bridge name used by tapsetup `bridge0` is already used
by the macOS. This changes the default to `bridge42`.
2017-02-23 14:57:36 -08:00
Joakim Nohlgård
9ed393426e dist/tools/cppcheck: Add missing hpp file name pattern 2017-02-16 17:09:25 +01:00
Neil Jones
ceb0fa9205 dist: update toolchain info script for mips 2017-02-09 15:54:59 +00:00
Joakim Nohlgård
4bc120f54d dist/tools/licenses: Add BSD 1 clause style license from newlib sys/features.h
Used in msp430-common
2017-02-08 16:23:50 +01:00
Jason Tran
de8c3f0a85 dist/tools/jlink: remove jlink confirmation prompt 2017-01-24 19:42:06 -08:00
Martine Lenders
819987c58c dist/tools: add release stats script 2017-01-24 14:35:07 +01:00
Martine Lenders
a5bdf0a831 Merge pull request #6407 from OlegHahm/header_guards
*: remove trailing underscores from header guards
2017-01-20 01:51:20 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Joakim Nohlgård
78e207bc33 dist/tools/ci: Fix command output formatting of last line 2017-01-19 14:13:36 +01:00
Cenk Gündoğan
4b05722477 dist/tools/ci: toolchain versions: fix output to show avr-libc 2017-01-19 14:13:36 +01:00
Joakim Nohlgård
05769dddee dist/tools/ci: toolchain versions: Fix heading formatting 2017-01-19 14:13:36 +01:00
Joakim Nohlgård
001a30ef4f dist/tools/ci: Add script for printing installed toolchain versions to CI log 2017-01-19 09:12:26 +01:00
d340cce157 Merge pull request #6310 from OlegHahm/pyterm_show_prompt
tools: pyterm: display received prompt immediately
2017-01-19 00:05:14 +01:00
Cenk Gündoğan
90e85ca1de Merge pull request #6389 from gebart/pr/ci-output-whitespace
CI: fix whitespace handling in command output
2017-01-18 20:10:47 +01:00
Oleg Hahm
3fb2984d2a tools: pyterm: display received prompt immediately 2017-01-18 19:54:10 +01:00
Andreas "Paul" Pauli
e0b6f16ddc cc2538-bsl.py: add chip id for cc2538em 2017-01-18 16:18:05 +01:00
47f6ff3056 Merge pull request #6237 from kaspar030/rename_AD_to_Q
make: rename AD to Q
2017-01-17 16:16:02 +01:00
Joakim Nohlgård
39d02c9ccf dist/tools/ci: Fix whitespace handling in command output
All newlines were stripped before and leading whitespace was trimmed
which made the output very difficult to read.
2017-01-17 13:00:37 +01:00
Antonio Galea
2fa4ad3833 reconnecting a USB-serial dongle under Linux might give permission errors until udev scripts complete 2017-01-15 16:59:36 +01:00
17b35f6ece dist: tools: git-cache: bump version
adds OSX fixes for md5sum, flock
2017-01-12 17:31:57 +01:00
26ace09ca8 Merge pull request #6321 from kaspar030/bump_gitcache
dist: tools: git-cache: bump to latest upstream
2017-01-11 18:43:08 +01:00
eecf43cd53 dist: tools: git-cache: update README 2017-01-11 16:07:42 +01:00
Martine Lenders
fea78bad60 Merge pull request #6309 from OlegHahm/pyterm_format_arg
tools: pyterm: specify custom format prefix via command line
2017-01-11 10:30:08 +01:00
b0dad94ab5 dist: tools: git-cache: bump to latest upstream 2017-01-11 01:02:56 +01:00
Martine Lenders
600fdb8f2c Merge pull request #5865 from gebart/pr/compile-test-py3
dist/tools/compile_test: Add Python3 support
2017-01-10 22:11:28 +01:00
Oleg Hahm
3a779b92fa tools: pyterm: specify format prefix via argument 2017-01-10 18:55:49 +01:00
Joakim Nohlgård
06092aaca5 dist/tools/compile_test: Add Python3 support
Tested with Python 2.7.12 and Python 3.4.5
2017-01-10 13:36:53 +01:00
Oleg Hahm
486ca73308 tools: pyterm: properly handle custom output fmt 2017-01-10 11:44:24 +01:00
Francisco Acosta
1ae6998752 Merge pull request #5677 from gebart/pr/fugly-tunslip6
dist/tools/tunslip: Fix some ugly code
2017-01-06 15:12:39 +01:00
Joakim Nohlgård
9b8485f21e dist/tools/tunslip6: Do not accept null chars as printable 2017-01-05 15:00:00 +01:00
Joakim Nohlgård
1c5b26c038 dist/tools/tunslip6: Change len to size_t in is_sensible_string 2017-01-05 15:00:00 +01:00
Joakim Nohlgård
9dfd4ccf11 dist/tools/tunslip6: Fix off by one on index in is_sensible_string 2017-01-05 15:00:00 +01:00
Joakim Nohlgård
fd3ff61747 dist/tools/tunslip6: Workaround for IPv6 packets mistaken as strings 2017-01-05 14:59:59 +01:00
Joakim Nohlgård
e3a5e16ffb dist/tools/tunslip: Make tunslip and tapslip6 compile again 2017-01-05 14:59:59 +01:00
Joakim Nohlgård
437e38b672 dist/tools/tunslip: fix a bunch of uglies and compile with -std=c99 2017-01-05 14:59:58 +01:00
Joakim Nohlgård
51f5b774da dist/tools/tunslip: Add clean Makefile target 2017-01-05 14:59:58 +01:00
Joakim Nohlgård
bb19a75e61 dist/tools/tunslip6: Add -Wall -Wextra -pedantic to CFLAGS 2017-01-05 14:59:58 +01:00
Joakim Nohlgård
fd8645c86c dist/tools/tunslip6: Replace goto with while 2017-01-05 14:59:58 +01:00
BytesGalore
bc60be10d0 git-cache: consider if git_cache dir is present 2017-01-04 17:10:48 +01:00
Martine Lenders
1df4f9ff66 Merge pull request #6270 from cgundogan/pr/typos
dist: examples: fix minor typos
2017-01-04 15:43:00 +01:00
Cenk Gündoğan
63bfbfabec git-cache: bump to commit 5de20d6 from kaspar030/git-cache 2016-12-28 17:03:15 +01:00
Cenk Gündoğan
a5ffbeedf9 dist: examples: fix minor typos 2016-12-27 13:50:42 +01:00
f44763f346 make: adapt Makefiles to AD -> Q rename 2016-12-22 12:12:38 +01:00
Cenk Gündoğan
d785989d04 tools: static_tests.sh: rm dependency to 'riot' remote 2016-12-20 20:59:10 +01:00
610b8cf368 Merge pull request #5855 from cgundogan/pr/remove_travis
travis: remove .travis.yml and build scripts
2016-12-18 23:09:38 +01:00
2c02520f73 Merge pull request #6223 from haukepetersen/opt_samxyz21_structure
cpu/sam0: structural clean-up for sam[dlr]21 CPUs
2016-12-16 08:14:04 +01:00
Hauke Petersen
fcb1e68732 cpu/sam0: renamed sam21_common to sam0_common 2016-12-15 11:47:03 +01:00
e65541817c dist: tools: bump git-cache version (#6217) 2016-12-15 10:59:47 +01:00
Cenk Gündoğan
62420fb927 travis: make build_and_test.sh unrelated to travis 2016-11-29 18:38:43 +01:00
Cenk Gündoğan
1990726605 travis: remove superfluous config and script 2016-11-29 18:36:12 +01:00
Oleg Hahm
00942927a2 pyterm: log to stdout per default 2016-11-17 16:59:36 +01:00
Gaëtan Harter
778d47c600 dist/tools/uhcpd: add an option to bind to device
Adds '--bind-to-device' option to binds uhcpd listening socket to a device.
It allows running multiple uhcpd and so multiple border router on the same
computer.

This is used for IoT-LAB.

This option requires 'root' permissions as I currently didn't find an
alternative.
2016-11-09 16:01:29 +01:00
Matthias Miehl
3203a4b6f5 dist/tools/cppcheck: suppress negatives (uninitvar) (#5807) 2016-10-31 22:49:17 +01:00
Lucas Jenss
f7c28ccecd Improve execution of static-tests
Allow execution of static tests with the `make static-tests`
command and improve its output for the human reader
2016-10-20 09:28:59 +02:00
47b233143c Merge pull request #5909 from aabadie/cc2538_bsl_py3
dist/tools/cc2538-bsl: fixing pep8 and python 2 & 3 compatibility in cc2538 bsl script
2016-10-19 16:06:34 +02:00
Joakim Nohlgård
bee918b361 Merge pull request #5821 from makomi/tunslip
dist/tools/tunslip: fix cppcheck warnings
2016-10-14 08:47:43 +02:00
PeterKietzmann
c742f07989 doc/packer: add initial README 2016-10-13 17:15:53 +02:00
Peter Kietzmann
b15115cb10 Merge pull request #5828 from cgundogan/pr/packer
packer: initial packer configuration to build virtualbox/vagrant boxes
2016-10-13 16:42:38 +02:00
PeterKietzmann
49c1ed1d03 doc/vagrant: add information about changing the vagrant box 2016-10-13 15:03:06 +02:00
PeterKietzmann
aa149d41f6 doc/vagrant: remove information about provisioning 2016-10-13 14:34:36 +02:00
Cenk Gündoğan
1b70b48bc5 packer: intial conf. to generate virtualbox based vagrant box 2016-10-13 14:29:19 +02:00
4e882054aa dist/tools/cc2538-bsl: fixing pep8 and python 3 compatibility 2016-10-05 13:10:58 +02:00
Jeff Bortolotti
6b086e7ae2 dist: tools: jlink.sh: use printf for JLINK_*_FLASH to allow use of backslas 2016-09-30 19:10:01 +02:00
Cenk Gündoğan
9074c4d376 Merge pull request #5837 from gebart/pr/drone-0.5
drone: Update YAML file to Drone 0.5 format
2016-09-27 19:19:43 +02:00
Cenk Gündoğan
25e18dad88 Merge pull request #5797 from miri64/dist/doc/profile
dist: document IOTLAB_PROFILE variable fo IoT-Lab-support
2016-09-26 16:20:27 +02:00
Martine Lenders
f9e14bdd26 dist: document IOTLAB_PROFILE variable fo IoT-Lab-support 2016-09-26 16:18:45 +02:00
Kees Bakker
bd2fbf040b dist/tools: exclude sam21_common cmsis include files 2016-09-21 20:40:49 +02:00
Cenk Gündoğan
9457703607 vagrant: minimize Vagrantfile and make it loadable
By parameterizing certain paths with `RIOTBASE`, it is possible to load
this Vagrantfile from other Vagrantfiles. This feature will be used by the
Tutorials repository, so that this Vagrantfile has no knowledge about
the tutorials, hence the deletion of the `tutorials` definition at this
place.
2016-09-21 10:22:35 +02:00
smlng
f9432cef4b minor typos in README corrected 2016-09-19 12:09:46 +02:00
Joakim Nohlgård
c6f280a104 dist/tools/drone-scripts: Delete because Drone can now use the Travis script 2016-09-11 14:41:42 +02:00
Sebastian Meiling
b4b1bb597a Merge pull request #5822 from cgundogan/pr/vagrant/add_info_about_vboxusers_group
vagrant: update README and add info about vboxusers group
2016-09-07 09:28:25 +02:00
Cenk Gündoğan
63b7cf475a vagrant: restructure 'addit. info.' in README 2016-09-06 16:54:05 +02:00
Cenk Gündoğan
39e2ad12bf vagrant: change RIOT-OS to RIOT in readme 2016-09-06 14:53:40 +02:00
Cenk Gündoğan
c75c9194d8 vagrant: update ubuntu version in readme 2016-09-06 14:52:53 +02:00
Thomas Eichinger
59bc1b46b7 dist/tools: include uname check for FreeBSD in genconfigheader
Analog to Darwin set `MD5SUM` to `md5 -r`.
2016-09-06 14:45:58 +02:00
Cenk Gündoğan
6e8d4dc686 vagrant: info about vboxusers group for USB access 2016-09-06 07:12:43 +02:00
Matthias Kolja Miehl
5456d6e2d2 dist/tools/tunslip: tapslip6: fix unusedVariable 2016-09-05 02:32:10 +02:00
Matthias Kolja Miehl
8cb5624655 dist/tools/tunslip: tapslip6: fix variableScope 2016-09-05 02:32:10 +02:00
Matthias Kolja Miehl
eb39aec480 dist/tools/tunslip: tunslip6: fix invalidPrintfArgType_uint
Since the argument type is 'long', the printf
format string has to be '%li' instead of '%lu'.
2016-09-05 02:32:10 +02:00
Matthias Kolja Miehl
652f5ef8b9 dist/tools/tunslip: tunslip6: fix variableScope 2016-09-05 02:32:10 +02:00
Matthias Kolja Miehl
c458f9958e dist/tools/tunslip: fix variableScope 2016-09-05 02:32:09 +02:00
Matthias Kolja Miehl
c06bf1019d dist/tools/tunslip: add comment regarding missing break at the end of case 2016-09-05 02:32:09 +02:00
Cenk Gündoğan
924f27558c Merge pull request #5784 from PeterKietzmann/tools_update_cc2538-bsl
dist/tools: update serial boot loader script
2016-08-31 10:10:01 +02:00
PeterKietzmann
5eafb071a6 dist/tools/cc2538-bsl: enforce python2 2016-08-30 23:38:14 +02:00
Joakim Nohlgård
ab43f90985 dist: Remove Dockerfile in favour of separate repo
See https://github.com/RIOT-OS/riotdocker for an up-to-date Dockerfile.
2016-08-30 22:57:15 +02:00
PeterKietzmann
5b3d7fadcf dist/tools: update serial boot loader script 2016-08-30 18:41:59 +02:00
Martine Lenders
9d0881fae5 dist: testrunner: optionally print traceback 2016-08-30 16:50:36 +02:00
c9d725ac0c dist: tools: genconfigheader.sh: include LTOFLAGS as comment if set 2016-08-30 14:17:32 +02:00
Gaëtan Harter
a52c781339 dist: ethos: add tcp socket support
Add ethos support to use a tcp socket instead of a TTY.
Use 'tcp:host' as serial argument.
Port can be given in place of the baudrate argument.

Default port is 20000 which is used in on IoT-LAB.
2016-07-28 21:28:21 +02:00
8601285b13 openocd: return error if flashing went wrong 2016-07-27 17:42:06 +02:00
kYc0o
e443b90815 Merge pull request #5452 from locicontrols/find-tty
Adjust find-tty.sh to return all matches, then use it in boards/cc2538dk
2016-07-22 16:01:46 +02:00
abe5c19407 dist/tools: make ethos baudrate configurable 2016-07-14 17:01:02 +02:00
f048475bec dist: build_and_test.sh: don't hard-code base branch 2016-07-13 16:04:26 +02:00
Jon Thacker
bece851972 genconfigheader.sh: Fix for for building on OSX 2016-07-07 19:56:45 -05:00
Joakim Nohlgård
77a15e7886 make: Place most configuration macros in a separate file instead of on the command line 2016-07-05 11:22:58 +02:00
Martine Lenders
1124409d80 git-cache: also fetch tags 2016-06-01 19:46:31 +02:00
Martine Lenders
c4eab34b99 Merge pull request #5387 from OTAkeys/quiet_gdb
make debug: start gdb quietly
2016-06-01 18:38:31 +02:00
Oleg Hahm
6deac1d64e Merge pull request #5329 from kaspar030/add_makefile_for_host_tools
make: add makefile for host tools
2016-05-31 21:25:47 +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
29badd7d58 Merge pull request #5441 from cgundogan/pr/desvirt/make_cleanup
tools: desvirt: rm unused TOPO_FLE var
2016-05-21 18:06:01 +02:00
Ian Martin
b1946e6715 dist: tools: let find-tty.sh return all matches, not just the first 2016-05-18 15:33:01 -04: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
8b047d055e tools: desvirt: rm unused TOPO_FLE var 2016-05-15 21:28:12 +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
Toon Stegen
cf431e696c make debug: start gdb quietly 2016-04-22 12:00:10 +02:00
Martine Lenders
55e89610ce tools: ethos: allow start_network.sh script to run from anywhere 2016-04-19 14:34:18 +02:00
4b25c0fd76 dist: tools: build_and_test.sh: add "host" buildtest group 2016-04-18 13:51:05 +02:00
aee0eeeb99 dist: tools: add makefile 2016-04-18 13:51:05 +02:00
Hauke Petersen
78f212c9d8 dist/ethos: fixed compile warnings
- checking return values of each write() call
- chack return value of system() call
2016-04-14 17:31:49 +02:00
eea62a79f2 dist: ethos: fix start_network.sh trap (exit on INT QUIT TERM EXIT) 2016-04-11 17:03:28 +02:00
ee37ea9d40 dist: tools: ethos: add start_network.sh 2016-04-11 17:03:28 +02:00
2ec71c9ca0 dist: ethos: add clean target 2016-04-11 17:03:28 +02:00
e17045e901 dist: tools: add UHCP daemon 2016-04-11 17:03:28 +02:00
Bas Stottelaar
6ce6bb6468 dist: jlink: flash mcu based on serial number 2016-04-04 23:48:21 +02:00
7d151f250b dist: ethos: fix usage string 2016-03-31 23:14:23 +02:00
58a12e5034 core: make messaging optional 2016-03-30 23:27:09 +02:00
Martine Lenders
5c34e200f0 vagrant: update README 2016-03-30 01:40:28 +02:00
Martine Lenders
6a4636410c dist: CI: remove application skipping 2016-03-26 21:19:15 +01:00
kYc0o
f92b025b85 vtimer: get rid of 2016-03-24 17:10:54 +01:00
Cenk Gündoğan
e127cc5680 dist: travis: add gdb to travis 2016-03-24 09:05:04 +01:00
7a18922c09 dist: build_and_test.sh: run native unittests through gdb 2016-03-23 23:59:15 +01:00
e308ad4a54 dist: compile_test.py: build everything on changes in pkg/ 2016-03-23 14:26:52 +01:00
Oleg Hahm
16a3f131a3 Merge pull request #5112 from kaspar030/use_git_cache
make: pkg: introduce git-cache
2016-03-21 22:32:33 +01:00
772657253f dist: tools: add git-cache 2016-03-21 21:22:33 +01:00
Oleg Hahm
0331029990 pyterm: fix logging directory
The default logging directory should be ${HOME}/${HOST}/run-name/
2016-03-20 21:20:59 +01:00
DipSwitch
58186bfa9e dist: add script to fetch and build teensy_loader_cli 2016-03-20 12:55:57 +01:00
17fd3d5d39 dist: build_and_test.sh: support CI_BASE_BRANCH 2016-03-15 00:08:18 +01:00
b916a58ed4 dist: tools: pr_check: adapt to RIOT CI 2016-03-12 00:54:43 +01:00
Cenk Gündoğan
98958e74c0 dist/tools/desvirt: added README 2016-03-10 18:29:09 +01:00
Cenk Gündoğan
dc509f030d dist/tools/desvirt: proper integration 2016-03-10 18:29:09 +01:00
Oleg Hahm
f576317194 ci: split up cortex_m4 in even more groups 2016-03-08 20:37:25 +01:00
18e55c6f67 dist: tools: testrunner: increase default timeout to 10 secs 2016-03-07 01:56:39 +01:00
e168f49c86 dist: testrunner: kill whole process group of spawned process 2016-03-05 20:47:51 +01:00
d7a10aa030 dist: travis-scripts/get-pkg-list.py: add python 3 pexpect pkg 2016-03-05 20:36:28 +01:00
test
819dfacccc dist: add testrunner shared pexpect code 2016-03-05 20:36:28 +01:00
test
ac44264dfa dist: remove obsolete testsuite 2016-03-05 16:05:10 +01:00
Martine Lenders
a7487e2b19 Merge pull request #4948 from cgundogan/pr/travis/static-tests_fix
travis: continue static tests on error
2016-03-04 05:40:31 +01:00
Oleg Hahm
eb85eb50a7 Merge pull request #4921 from authmillenon/travis/fix/warn-on-config-change
travis: warn about differing .travis.yml
2016-03-03 10:44:22 +01:00
Cenk Gündoğan
592c73ef79 travis: continue static tests on error 2016-03-02 13:37:25 +01:00
Hauke Petersen
72fb1790c0 Merge pull request #4905 from OlegHahm/goodfet_fix
tools: goodfet fix
2016-03-01 23:32:07 +01:00
Martine Lenders
77bf5277f6 dist: Recall build_and_test.sh after rebase if it was changed 2016-03-01 19:54:43 +01:00
Martine Lenders
c239e359f6 travis: warn about differing .travis.yml 2016-03-01 19:54:42 +01:00
Hauke Petersen
90512ce3ab dist/jlink: fixed typo in JLINK_PRE_FLASH 2016-03-01 19:22:42 +01:00
a2d8c4b50d dist: tools: compile_test: fix unassigned variable 2016-02-28 22:51:10 +01:00
Oleg Hahm
a14657ef85 tools goodfet: directly access baudrate member 2016-02-26 15:03:22 +01:00
Cenk Gündoğan
c68a38f472 dist/tools/ethos: add .gitignore for ethos 2016-02-17 11:38:53 +01:00
c762a6fe7e dist/tools/licenses: add GPLv2 short pattern 2016-02-07 19:15:15 +01:00
52aec3ad32 dist: add ethos UNIX tool 2016-02-07 19:15:15 +01: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
Martine Lenders
bc2ee6afce Merge pull request #4703 from OlegHahm/license_pattern_fixes
License pattern fixes
2016-01-28 21:28:30 +01:00
Oleg Hahm
23e3bcf60a iotlab: fix IOTLAB_SITE for term, flash etc 2016-01-28 20:38:08 +01:00
Oleg Hahm
db03259b6b tools: add pattern for MIT license 2016-01-28 16:46:42 +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
Martine Lenders
0db92bb0ea travis: adapt for unittest change 2016-01-23 16:17:23 +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
Cenk Gündoğan
e62a655b03 travis: pass the proper branch to compile_test.py 2016-01-07 18:39:32 +01:00
Cenk Gündoğan
f2860701f0 vagrant: add vim 2015-12-11 08:53:37 +01:00
Cenk Gündoğan
6b0283fbb0 vagrant: rename RIOT-OS => RIOT and mount the synced folder directly to /home/cnk 2015-12-11 08:53:25 +01:00
Cenk Gündoğan
8e63ae95f3 Merge pull request #4330 from thomaseichinger/pr/cmdline2xml_fix
eclipsesym/cmdline2xml.sh: introduce workaround readlink function
2015-12-08 14:12:37 +01:00
Thomas Eichinger
4a8b2aed56 eclipsesym/cmdline2xml.sh: introduce workaround readlink function
readlink for OS X and FreeBSD does not offer -m flag to canonicalise the
file's path. Implement a workaround shell function to simulate behaviour.
2015-12-08 13:59:32 +01:00
Tobias Markmann
57b8a24466 Add a RELIC package and unit test that shows how to use it
Add install of cmake to .travis.yml.

Test-Information:

This has been tested on OS X and on Ubuntu for both the native target
and STM32F4Discovery.
2015-12-08 08:58:11 +01:00
Oleg Hahm
00def4f8e7 CI: split up Cortex-M0 in two groups 2015-12-07 11:38:34 +01:00
Cenk Gündoğan
5f201f1856 travis: fix git complaining about 'ambiguous argument' 2015-12-07 00:35:43 +01:00
Cenk Gündoğan
a53ed20066 Add and configure Vagrant for RIOT-OS 2015-12-04 14:14:04 +01:00
Oleg Hahm
d65d213def CI: split up Cortex-M4 in two groups 2015-12-03 17:38:24 +01:00
Lucas Jenss
ddaa9863f2 Add 256 byte block hamming code implementation 2015-11-30 20:08:36 +01:00
Cenk Gündoğan
60d4472419 Merge pull request #4301 from thomaseichinger/pr/env_bash
tools: remove hardcoding of bash hashbang
2015-11-30 11:04:23 +01:00
Oleg Hahm
c1c540a354 iotlab: set DEBUG_NODE correctly 2015-11-28 15:23:32 +01:00
Martine Lenders
2cc2adffee Merge pull request #3900 from haukepetersen/add_arduino_api
sys: added Arduino API to RIOT
2015-11-27 13:35:29 +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
Hauke Petersen
931c1902e1 dist: added script for merging Arduino sketches 2015-11-27 12:45:12 +01:00
Thomas Eichinger
72ee60b9d5 scripts: remove hardcoding of bash hashbang
For host systems like FreeBSD, bash binary is found in a different path.
2015-11-25 16:20:56 +01:00
0d9f14c848 make pyterm nicely fails if no port is available 2015-11-20 17:50:40 +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
Hauke Petersen
0bf7e676e2 dist: added SiLabs BSD license pattern 2015-10-28 13:50:34 +01:00
Hauke Petersen
4b62a4902f dist: added common JLink script for flashing 2015-10-28 11:19:38 +01:00
Cenk Gündoğan
813709adb4 Merge pull request #3849 from OlegHahm/pyterm_ümläüte
pyterm: fix problems with German umlauts as input
2015-10-27 19:21:53 +01:00
Oleg Hahm
3b8aa9b476 pyterm: fix problems with German umlauts as input 2015-10-27 15:27:04 +01:00
Cenk Gündoğan
0b7c7fbbb6 Merge pull request #3884 from cgundogan/pr/sniffer/socketify
sniffer: extend script to support sockets
2015-09-30 18:33:12 +02:00
Cenk Gündoğan
46d7571710 sniffer/README: describe usage of the socket connection type 2015-09-30 16:32:23 +02:00
Cenk Gündoğan
be579171d1 sniffer/sniffer.py: enable sniffing for sockets 2015-09-30 16:32:23 +02: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
Ludwig Knüpfer
eda6328e21 documentation: update my name (Ortmann -> Knüpfer) 2015-09-27 18:58:30 +02:00
Joakim Nohlgård
98c465008b all: Update @gebart family name, email 2015-09-20 13:47:39 +02:00
Oleg Hahm
a7a52d7494 dist: sniffer: fix python version check 2015-09-10 00:18:31 +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
a13bc46f3e sys: remove uart0 2015-09-04 17:46:23 +02:00
Oleg Hahm
b331ca6626 dist: chose binary format for IoT-LAB Makefile 2015-09-04 14:42:01 +02:00
Oleg Hahm
2c555f748e dist: fix missing include of sys/time.h in tunslip 2015-09-01 15:24:01 +02:00
daniel-k
78b98b3b1c debugging: fix openocd closing when pressing Ctrl+C in GDB, fix #3427 2015-08-29 19:17:24 +02:00
Emmanuel Baccelli
014939805e Merge pull request #3062 from alignan/pull/remote-port
New Zolertia Re-Mote platform (CC2538 + CC1120)
2015-08-25 21:18:13 +02:00
Martine Lenders
64c6d49cbd iot-lab_M3: rename to iotlab-m3 2015-08-19 20:59:06 +02:00
Martine Lenders
d46f542220 iot-lab_M3: rename to iotlab_m3 2015-08-19 18:29:17 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Antonio Lignan
b8823b7afe Zolertia Re-Mote platform (cc2538 + cc1120) port 2015-08-17 14:17:32 +02:00
Cenk Gündoğan
049d24aa6e dist/testbed-support: make experiment name configurable 2015-08-17 11:04:20 +02:00
Joakim Gebart
9968c59baa dist/tools/sniffer: Fix usec calculation 2015-08-14 16:45:15 +02:00
Martine Lenders
5760f9042d native: unify and simplify usage of tapsetup script 2015-08-14 12:05:34 +02:00
Martine Lenders
7f581ef44f tools: Remove wireshark dissector for native 2015-08-11 02:57:30 +02:00
Martine Lenders
3e0b62b3bf tools: replace old sniffer script with gnrc sniffer 2015-08-09 21:03:51 +02:00
Oleg Hahm
f90032f94f Merge pull request #3334 from kaspar030/remove_old_net
remove old network stack
2015-08-06 15:10:11 +02:00
bbf64e81ec remove defaulttransceiver, cc110x, cc2420 traces 2015-08-06 12:13:54 +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
Philipp Rosenkranz
935e2d81b4 Merge pull request #3409 from phiros/dist_drone_script_fail_if_gh_label_not_set
dist: make drone build script fail if gh label not set
2015-07-28 15:03:02 +02:00
Philipp Rosenkranz
d0f23b8a3e compile_test.py: fix error/warning output duplication 2015-07-22 13:57:34 +02:00
Hauke Petersen
51b7227c9f Merge pull request #3382 from daniel-k/openocd_dont_reset
openocd: don't reset cpu for target 'debug'
2015-07-21 15:24:38 +02:00
Philipp Rosenkranz
e3fc0a3fb5 dist: compile_test.py refactored 2015-07-17 00:20:17 +02:00
Philipp Rosenkranz
da1e715473 make/compile_test.py: display compile errors and warnings 2015-07-16 21:22:57 +02:00
Philipp Rosenkranz
8c9cbdae37 dist: make drone build script fail if gh label not set 2015-07-16 17:21:29 +02:00
Peter Kietzmann
6d067a66cb Merge pull request #3151 from authmillenon/dist/enh/sniffer-pythonic
dist: make ng_sniffer.py more pythonic
2015-07-15 00:15:02 +02:00
Martine Lenders
375bb14c76 dist: make ng_sniffer version independent 2015-07-14 16:45:20 +02:00
Martine Lenders
c10ea983f9 dist: pep8 ng_sniffer.py 2015-07-14 16:45:19 +02:00
Martine Lenders
67197854df dist: make ng_sniffer.py more pythonic 2015-07-14 16:45:19 +02:00
Joakim Gebart
235b9b3c16 dist/tools/toolchain: Fix whitespace errors in newlib patches. 2015-07-14 08:11:20 +02:00
Joakim Gebart
4e7987e0c8 dist/tools/toolchains/build_x86.sh: upgrade to newlib-2.2.0.20150623 2015-07-13 20:04:16 +02:00
Joakim Gebart
1edd79a36a dist/tools/toolchains/build_x86.sh: Use patch files for newlib modifications 2015-07-13 19:57:56 +02:00
daniel-k
03542161dd openocd: don't reset cpu for target 'debug' 2015-07-13 17:22:54 +02:00
Martine Lenders
07adbec5e2 Merge pull request #3353 from phiros/compile_test_fix_output_for_failed_boards
compile_test.py / buildtest: fix output for failed boards
2015-07-13 13:05:55 +02:00
Philipp Rosenkranz
f44615a855 drone-scripts: create dir for each BUILDTEST_MCU_GROUP 2015-07-10 17:20:50 +02:00
Philipp Rosenkranz
94490ed031 compile_test.py / buildtest: fix output for failed boards 2015-07-10 03:12:04 +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
Philipp Rosenkranz
f09eba6775 dist: add github label check to drone build script 2015-06-30 20:12:01 +02:00
Philipp Rosenkranz
652f5327dd dist: add gnu parallel to dockerfile 2015-06-24 23:00:56 +02:00
Philipp Rosenkranz
8ea9965cae dist: exec drone build script in parallel 2015-06-24 23:00:56 +02:00
Hauke Petersen
b2413f79ba Merge pull request #3150 from authmillenon/dist/enh/sniffer-read-iface
dist: ng_sniffer: read interface from device
2015-06-05 16:28:31 +02:00
Martine Lenders
86984fd53a Merge pull request #2952 from OlegHahm/iotlab_makefile_fix
iotlab: append experiment ID to serial_aggregator
2015-06-03 22:23:46 +02:00
Oleg Hahm
c42a02ff3b iotlab: some cosmetics 2015-06-03 17:44:09 +02:00
Martine Lenders
401d8b182d dist: ng_sniffer: read interface from device 2015-06-02 23:36:03 +02:00
haukepetersen
61a99dc41b dist: some fixes to the ng_sniffer script
- now working with the samr21 through removed uart flow control calls
- removed unused code
- move and added some comments
2015-06-02 15:56:32 +02:00
haukepetersen
aec8c070cb dist: added ng_sniffer script 2015-06-02 14:44:28 +02:00
Joakim Gebart
b54c9d21ee dist: Add tool for generating Eclipse setting XML files
Usage: make eclipsesym (in application directory)
2015-06-01 17:53:44 +02:00
26195bf275 Merge pull request #3035 from kaspar030/add_ccache_support
make: add ccache support
2015-05-30 16:54:59 +02:00
Joakim Gebart
85f7a7d98f travis: get arm install packages for cortex_m3_1
fix typo that caused all packages to be installed when building group cortex_m3_1
2015-05-30 09:05:53 +02:00
b5a9769a05 dist: Dockerfile: refactor to use less RUN commands 2015-05-29 09:45:40 +02:00
e283f87132 dist: docker: add ccache support to Dockerfile 2015-05-29 09:45:40 +02:00
Martine Lenders
fc6ff227b9 Merge pull request #3072 from authmillenon/travis/enh/do-not-install
travis: exit before before_install phase
2015-05-29 07:07:32 +02:00
Martine Lenders
f33f35720b travis: exit before before_install phase 2015-05-29 00:05:28 +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
Joakim Gebart
527750c496 dist: openocd.sh: Add PRE_FLASH_CHECK_SCRIPT 2015-05-27 10:30:33 +02:00
Johann Fischer
21141cd389 dist/tools/openocd/openocd.sh: Add flash-elf command 2015-05-27 10:30:33 +02:00
Joakim Gebart
f5c67ebe62 dist: openocd.sh: Refactor argument handling, add new hooks for extra commands 2015-05-27 10:30:33 +02:00
Hauke Petersen
42f38122c5 Merge pull request #2849 from kaspar030/saml21
cpu: saml21 initial commit
2015-05-26 21:13:55 +02:00
794d8389d5 Merge pull request #3037 from BytesGalore/travis_compile_on_demand
travis: enable travis compile tests on set github label `Ready for Travis build`
2015-05-26 12:24:22 +02:00
Ludwig Ortmann
ec9d5ea271 Merge pull request #3043 from OlegHahm/pyterm-newline
Pyterm newline
2015-05-26 08:56:37 +02:00
Janos Kutscherauer
6c620f273d Added improved handling of CR/LF in PYTERM.
The default behaviour only appreciates the LF character (unix style).
The pyterm switch -nl/--newline can be used to specify the newline combination of CR/NL.
Possible values are CR, NL, CRNL and NLCR. Default is NL.
2015-05-25 13:38:14 +02:00
BytesGalore
7df0d9b636 travis: enable travis build on set github label Ready for CI build 2015-05-24 09:19:05 +02:00
Martine Lenders
d2275ae8d1 dist: add contiki's version of 3c-BSD 2015-05-23 13:47:38 +02:00
Martine Lenders
c3abfb3627 dist: remove old slip driver implementation 2015-05-23 13:19:17 +02:00
Martine Lenders
1a146f7934 tools: import tunslip from contiki 2015-05-23 13:19:17 +02:00
622acc74e5 dist: tools: cppcheck: exclude saml21 atmel headers from check 2015-05-22 11:47:51 +02:00
8b59240da0 tools: externc: ignore saml21 atmel/ includes 2015-05-22 11:47:51 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Lucas Jenß
73ce03ac1f Merge pull request #3021 from x3ro/pr_check_error_naming
[Travis Script] Make clear that "labels" refers to the ones set on GitHub
2015-05-19 15:22:56 +02:00
Lucas Jenss
b2115d2bdb Make clear that "labels" refers to the ones set on GitHub 2015-05-18 11:51:58 +02:00
Joakim Gebart
203a0a1d62 dist/tools/toolchains: Replace tabs by spaces 2015-05-18 07:10:52 +02:00
Joakim Gebart
49a12804b3 drone: added Drone file
Drone is a continuous integration server that can be installed locally.

The included Drone configuration mimics the Travis build scripts except
for the build matrix feature, all targets are built sequentially by the
dist/tools/drone-scripts/build_and_test.sh script instead of in
separate instances.

See: https://github.com/drone/drone
2015-05-14 15:40:09 +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
Joakim Gebart
e9c567107d all: remove extra blank lines at the end 2015-05-09 09:10:08 +02:00
Joakim Gebart
0d590e48bd dist/tools/sniffer: whitespace fixes 2015-05-09 09:02:17 +02:00
Joakim Gebart
f9059ea08d dist/tools/pyterm/testbeds: whitespace fixes 2015-05-09 09:00:36 +02:00
Joakim Gebart
a1d40524f1 dist/tools/pyterm/pytermcontroller: whitespace fixes 2015-05-09 08:59:43 +02:00
Joakim Gebart
2261c52769 dist/tools/licenses/patterns/3c-BSD-ti: trailing space fix 2015-05-09 08:58:13 +02:00
Joakim Gebart
9cd8da3e72 dist/tools/doccheck/check.sh: trailing space fix 2015-05-09 08:57:41 +02:00
Oleg Hahm
c94583f931 Merge pull request #2640 from OlegHahm/iotlab_makefile
dist: Makefile to work with IoT-LAB
2015-05-01 12:41:23 +02:00
Philipp Rosenkranz
cb84729dfe dist/tools: add desvirt (incl. example topology) 2015-04-29 15:24:51 +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
Joakim Gebart
d4b054c067 Merge pull request #2392 from gebart/pr/docker-initial
Makefile.include: Add support for running make inside a Docker container
2015-04-26 13:49:29 +02:00
Joakim Gebart
8db628b17c Makefile.include: Add docker target.
export BUILD_IN_DOCKER=1 to use Docker for building inside a Docker
container.
GDB debug file paths will be wrong after building inside the container,
use the script provided in `dist/gdbinit-docker` to set the correct GDB
substitution paths (copy and paste the contents into your `~/.gdbinit`)

The environment variable DOCKER_FLAGS can be used to pass extra
parameters to the Docker process.
2015-04-24 16:03:52 +02:00
Martine Lenders
eb14425806 travis: build applications only on change 2015-04-16 15:54:15 +02:00
Martine Lenders
41ffab78a6 Merge pull request #2746 from authmillenon/dist/enh/tab-test
dist: add tab test
2015-04-10 08:52:33 +02:00
Martine Lenders
e973cc63fc dist: removes endingcheck
Is now part of whitespacecheck
2015-04-10 01:24:41 +02:00
Martine Lenders
2ec5f27a57 dist: add tab test 2015-04-09 19:39:03 +02:00
Joakim Gebart
de486ff79f k60: Initial commit of K60 CPU.
Tested on the following Freescale Kinetis K60 CPUs:

 - MK60DN512VLL10

The port should with a high probability also support the following variations of the above CPUs (untested):

 - MK60DN256VLL10

And possibly also:

 - MK60DX256VLL10
 - MK60DX512VLL10
 - MK60DN512VLQ10
 - MK60DN256VLQ10
 - MK60DX256VLQ10
 - MK60DN512VMC10
 - MK60DN256VMC10
 - MK60DX256VMC10
 - MK60DN512VMD10
 - MK60DX256VMD10
 - MK60DN256VMD10

Currently not working on the following CPUs (Missing PIT channel
chaining necessary for kinetis_common/periph/timer implementation):

 - MK60DN256ZVLL10
 - MK60DN512ZVLL10
 - MK60DX256ZVLL10
 - MK60DX512ZVLL10
 - MK60DN512ZVLQ10
 - MK60DN256ZVLQ10
 - MK60DX256ZVLQ10
 - MK60DN512ZVMC10
 - MK60DN256ZVMC10
 - MK60DX256ZVMC10
 - MK60DN512ZVMD10
 - MK60DX256ZVMD10
 - MK60DN256ZVMD10

Regarding header files from Freescale:

   dist/tools/licenses: Add Freescale CMSIS PAL license pattern

Redistribution is OK according to:

https://community.freescale.com/message/477976?et=watches.email.thread#477976

Archive copy in case the above link disappears:

https://web.archive.org/web/20150328073057/https://community.freescale.com/message/477976?et=watches.email.thread

Applies to:
 - MK60DZ10.h (K60 variant)
2015-03-28 08:30:13 +01:00
Joakim Gebart
ef6aaf6045 dist/tools/whitespacecheck: Do not redirect stdout.
Show new whitespace errors in Travis log for easier code review.
2015-03-17 06:51:17 +01:00
kushalsingh007
41ad9946ad Adding a script to check for line endings (valid UNIX ending)
-Created a bash script using grep to check for carriage return at line endings.
-Works for modified and new files only (if choosen)
-Modified build_and_run.sh to include the new check.sh and run it.
2015-03-10 05:51:07 +05:30
Oleg Hahm
96e6d2aee3 Merge pull request #2471 from haukepetersen/fix_openocd_shutdown
dist/openocd.sh: added shutdown to flash commands
2015-03-05 17:18:10 +01:00
Ludwig Ortmann
48e6247f4f Merge pull request #2507 from authmillenon/travis/remove-outputting-nproc
travis: remove unnecessary nproc output
2015-03-03 21:38:34 +01:00
Ludwig Ortmann
2ff29ea1de Merge pull request #2487 from gebart/pr/openocd-init-arguments
dist/tools/openocd: Replace OPENOCD_EXTRA_INIT with command line arguments
2015-03-03 21:15:44 +01:00
Martine Lenders
fe79ec8eaf travis: remove unnecessary nproc output 2015-03-01 20:45:57 +01:00
Martine Lenders
5386fdb335 travis: aggregate result values of static tests 2015-03-01 20:07:18 +01:00
Martine Lenders
cfe7993886 travis: let all static tests run 2015-02-28 19:16:07 +01:00
Martine Lenders
20e1fd2fbd travis: replace tabs with spaces in script 2015-02-28 19:10:24 +01:00
Philipp Rosenkranz
e9e9a1c01c travis: fixed pep8 code style issues in python support script 2015-02-24 00:28:37 +01:00
Philipp Rosenkranz
0f0f291dde travis: added license header for travis scripts 2015-02-24 00:28:27 +01:00
Philipp Rosenkranz
20b2999843 travis: add static tests as a matrix build target 2015-02-24 00:17:28 +01:00
Joakim Gebart
f10c1f94d8 dist/tools/openocd: Replace OPENOCD_EXTRA_INIT with command line arguments
OPENOCD_EXTRA_INIT did not work for quoted arguments or openocd commands which require arguments.
2015-02-23 10:57:24 +01:00
Philipp Rosenkranz
02d0c88284 tests/travis: split buildtests into MCU groups. 2015-02-22 15:04:52 +01:00
Hauke Petersen
34541a5e0e squash: work-around for wrong openocd return value 2015-02-19 16:59:03 +01:00
Hauke Petersen
8b17d0575e dist/openocd.sh: added shutdown to flash commands 2015-02-19 16:45:00 +01:00
Oleg Hahm
8fa44ee117 dist/tools: check for whitespace errors 2015-02-19 10:29:39 +01:00
Joakim Gebart
a519aaad3d dist/tools/openocd: Add documentation for newly introduced environment variables 2015-02-18 10:20:26 +01:00
Joakim Gebart
f4006cda2a dist/tools/openocd: Quote file names in shell arguments 2015-02-18 10:11:07 +01:00
Joakim Gebart
b4c3f0c565 dist/tools/openocd: Make openocd command configurable. 2015-02-18 10:11:06 +01:00
Joakim Gebart
6e88b4ab2d dist/tools/openocd: Add support for specifying config file and extra initialization arguments. 2015-02-18 10:10:53 +01:00
haukepetersen
63f019210c dist: added unified openocd control script 2015-02-10 14:27:45 +01:00
Joakim Gebart
086825bfa3 dist: Add tools for finding USB serial adapters on Linux.
These tools can be used to find the corresponding TTY device node of
attached USB serial adapter devices.
2015-02-09 19:43:18 +01:00
Martine Lenders
0eb2d78dda doc: use my real name 2015-02-08 18:52:16 +01:00
Johann Fischer
9dcf34307b dist/tools/licenses: add Freescale 3c-BSD license pattern 2015-01-20 13:27:32 +01:00
Thomas Eichinger
07d76d7127 stm32l1: initial port for the nucleo-l1 board and stm32l1 cpu 2015-01-12 15:13:19 +01:00
Finn Wilke
0d4b81d62e dist/tools/licenses: support BSD sed 2015-01-12 03:20:09 +01:00
Fabian Nack
f7b11dda3e tools/licenses: add revised 1c-BSD pattern used in utlist 2014-12-12 12:18:33 +01:00
Oleg Hahm
bb7453dc70 doccheck: grep for all lines with a warning 2014-12-11 16:35:41 +01:00
Martine Lenders
7642f7bb15 pr_check: Fix matching
Fixes #2125
2014-12-03 12:29:30 +01:00
Ludwig Ortmann
43830dfb61 Merge pull request #2104 from OlegHahm/travis_doccheck
travis: check for doxygen warnings
2014-12-03 12:06:18 +01:00
Oleg Hahm
83da4a8738 travis: added doxygen check script to travis config 2014-12-03 11:10:25 +01:00
Oleg Hahm
f97f9ff826 travis: check for doxygen warnings
This introduces a script that will check for doxygen warnings in newly
committed or edited files.
2014-12-03 11:10:12 +01:00
Ludwig Ortmann
3490ccd615 Merge pull request #2090 from authmillenon/travis-squash-check
travis: squash check
2014-12-01 14:45:13 +01:00
Martine Lenders
7713fa87dd travis: check PRs if they need squashing or depend on other PRs 2014-12-01 14:04:01 +01:00
Ludwig Ortmann
fdae56a7a5 dist/tools/licenses: add license 2014-11-28 18:05:02 +01:00
Ludwig Ortmann
8abaf95ed1 dist/tools/externc: add license 2014-11-28 18:05:02 +01:00
Ludwig Ortmann
4ebeee7582 dist/tools/cppcheck: add license 2014-11-28 18:05:02 +01:00
Oleg Hahm
b6e59e85a6 Merge pull request #885 from OlegHahm/sniffer_applicatoin
examples: net: Sniffer application
2014-11-27 14:03:01 +01:00
Oleg Hahm
a6414ea721 tools: added pcap script for sniffing radio
To use in combination with
https://github.com/RIOT-OS/applications/tree/master/sniffer
2014-11-27 14:01:29 +01:00
Hinnerk van Bruinehsen
ed9834c7ff dist: run cppcheck with only one job (triage #2089) 2014-11-27 08:58:34 +01:00
Pham Huu Dang Nhat
bb85671ea7 CI: replaced head with cat and filtered out tools for extern "C" check. 2014-11-25 22:00:09 +07:00
Ludwig Ortmann
d716f2d4a5 dist/licenses: add and use --error-exitcode 2014-11-24 18:54:56 +01:00
Ludwig Ortmann
1574c2bb76 dist/licenses: add and use diff-filter 2014-11-24 18:54:56 +01:00
Thomas Eichinger
57470eb77e Merge pull request #2065 from LudwigOrtmann/issue-392
license header + pattern cleanup
2014-11-24 10:36:16 +01:00
Ludwig Ortmann
e343f114f4 dist/cppcheck: handle unhandled condition
When no arguments are given at all, the script would shift when there
is nothing to shift. This results in a failure on debian stable:
```
./dist/tools/cppcheck/check.sh: 20: shift: can't shift that many
```
2014-11-21 18:43:26 +01:00
Ludwig Ortmann
5819baea9f tools/licenses: add 1c-BSD-stanford pattern 2014-11-21 15:28:07 +01:00
Ludwig Ortmann
372e2e05f0 tools/licenses: remove unused 3c-BSD-clark 2014-11-21 15:12:52 +01:00
Ludwig Ortmann
a220fc82db tools/licenses: add 3c-BSD-nordic pattern 2014-11-21 15:08:21 +01:00
Ludwig Ortmann
64351603e8 tools/licenses: add 3c-BSD-atmel3 pattern 2014-11-21 15:03:15 +01:00
Hinnerk van Bruinehsen
edd948c176 dist: default cppcheck to ignore unusedStructMember 2014-11-19 11:22:42 +01:00
Oleg Hahm
30b166c177 pyterm: make mostly pep8 compliant 2014-11-07 01:02:55 +01:00
Oleg Hahm
cbe49912be pyterm: enable TCP connection to remote host 2014-11-05 22:42:36 +01:00
Hinnerk van Bruinehsen
72115d629d lint: fix uninitstring in sixlowdriver 2014-10-31 01:24:32 +01:00
Hinnerk van Bruinehsen
75c02c937a lint: suppress unusedStructMember in vendor files 2014-10-31 01:24:32 +01:00
Ludwig Ortmann
ac150e9a3b Merge pull request #1840 from LudwigOrtmann/cppcheck-selecta
Travis + cppcheck: let cppcheck fail for new files
2014-10-24 05:40:40 -07:00
Ludwig Ortmann
6424ba0665 cppcheck: handle --diff-filter option
Add the possibility to the cppcheck script to pass git's
`--diff-filter` option.
Also improve comments a bit.
2014-10-24 11:40:18 +02:00
Oleg Hahm
b0a65e870b make: doc: clean up dist Makefile 2014-10-22 20:00:26 +02:00
6f6fb8a621 dist: add Dockerfile for docker builder container 2014-10-22 18:11:21 +02:00
Ludwig Ortmann
302b9b775c dist/tools: add check for extern "C" declaration 2014-10-18 07:29:14 +02:00
Thomas Eichinger
bf256f63a3 samr21-xpro: initial import for the samr21-xpro board 2014-09-25 14:37:47 +02:00
Oleg Hahm
9b4d22aaa0 pyterm: make pin toggling optional
For the MSB-A2 the DTR and RTS pins have to be pulled down over the
serial interface in the beginning. (This is required because the Linux
usbserial driver pulls them up when initializing the device which set
the node into reset mode.) Since this is not necessary on most other
platforms and might even cause problems, it's better to make this an
optional behavior of pyterm.
2014-09-24 17:05:36 +02:00
Hinnerk van Bruinehsen
567ebf987f lint: limit maximum length of input via scanf 2014-09-19 23:31:26 +02:00
Philipp Rosenkranz
973fff7097 Merge pull request #1610 from phiros/feature_pytermcontroller
dist/pyterm: control server incl. support for multiple testbeds
2014-09-19 15:18:48 +02:00
Philipp Rosenkranz
2a67363be3 dist: pyterm control server (incl. support for multiple testbeds) 2014-09-19 14:42:15 +02:00
Hinnerk van Bruinehsen
136a6b0d35 dist: linux-border_router: reduce scope 2014-09-13 19:47:58 +02:00
Ludwig Ortmann
8503267ead Merge pull request #1604 from LudwigOrtmann/cppcheck-script
dist/tools: add cppcheck script
2014-09-06 08:37:16 -07:00
Ludwig Ortmann
95a3d48367 SQUASHME: tool -> tools path typo 2014-09-06 16:32:48 +02:00
Ludwig Ortmann
ba854a5423 SQUASHME: add documentation 2014-09-06 11:27:16 +02:00
Fabian Nack
c4bb61ce4e licenses: added stm specific 3 clause BSD license pattern 2014-09-02 15:45:50 +02:00
Ludwig Ortmann
500d6bfa8b SQUASHME: file(line) -> file:line
Addresses https://github.com/RIOT-OS/RIOT/pull/1604#discussion_r16936195
2014-09-01 07:23:25 +02:00
Hinnerk van Bruinehsen
a6b77b4745 cpu: atmega_common: Initial import 2014-08-27 16:22:48 +02:00
Ludwig Ortmann
e0712ccc84 dist/tools: add cppcheck script
enables easy linting of the whole tree or just one branches changes against
another
2014-08-25 14:53:31 +02:00
Ludwig Ortmann
26d2781624 tests: let license checker check cpp files, too 2014-08-23 16:16:26 +02:00
Ludwig Ortmann
b7992922ce fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
Thomas Eichinger
f11af5f9a1 goodfet: hardcode python version to 2.7 2014-08-22 00:00:30 +02:00
René Kijewski
591c76902e Merge pull request #1531 from LudwigOrtmann/header_license_headers
tests: let license checker check headers, too
2014-08-21 22:46:59 +02:00
Hinnerk van Bruinehsen
1b5836571b pyterm: fix exit behavior if twisted is not available 2014-08-16 00:49:43 +02:00
Oleg Hahm
dce96763b5 pyterm: adds timer function
/timer <interval> <command> now allows to schedule arbitrary commands to
be send to the node after the specified interval (in seconds).
2014-08-13 11:46:36 -04:00
Martine Lenders
5fa5c568ff pyterm: Use only printf-style String Formatting
Needed for backwards compatibility to python 2.6. Refers to
46c38230eb (commitcomment-7363298)
2014-08-13 00:16:41 +02:00
René Kijewski
9879e4aaa7 buildtest: retry failed builds once
On Travis CI often builds fail spuriously.

This PR lets `make buildtest` retry the build once.
2014-08-05 17:42:32 +02:00
Ludwig Ortmann
d1226b2a78 tests: let license checker check headers, too 2014-08-02 11:42:34 +02:00
Oleg Hahm
cb85a901f2 pyterm: renamed pyterm.py to pyterm 2014-08-01 17:09:45 +02:00
Oleg Hahm
af24a947f6 pyterm: make Guido happy 2014-08-01 17:09:45 +02:00
Oleg Hahm
73f6a0c518 pyterm: split connect and set_baudrate
Apparently, opening and setting the baudrate at the same time creates
problem for certain platforms (Arduino-Due).
2014-08-01 17:09:45 +02:00
Oleg Hahm
af5291b7d7 pyterm: handle TCP connection errors 2014-08-01 17:09:45 +02:00
Oleg Hahm
8b9c54efae pyterm: make formatting string configurable 2014-08-01 17:09:45 +02:00
Oleg Hahm
a0f43ba736 pyterm: outsource serial connect to a separate function 2014-08-01 17:09:45 +02:00
Oleg Hahm
8c84df391e pyterm: added license 2014-08-01 17:09:45 +02:00
Oleg Hahm
9a09cba325 pyterm: added some documentation 2014-08-01 17:09:45 +02:00
Oleg Hahm
aaccb81794 pyterm: print warning if twisted is not available 2014-08-01 17:09:45 +02:00
Oleg Hahm
a6b276b734 pyterm: ugly hack to make twisted optional 2014-08-01 17:09:44 +02:00
Oleg Hahm
79844660a6 pyterm: enable interoperability with native TCP uart 2014-08-01 17:09:44 +02:00
Oleg Hahm
f76ae40861 pyterm: use the rest of line for alias and trigger
Allows nested aliases and triggers
2014-08-01 17:09:44 +02:00
Oleg Hahm
02f7b610a5 pyterm: increase verbosity for alias command 2014-08-01 17:09:44 +02:00
Oleg Hahm
b1323bf0c3 pyterm: use logger instead of print 2014-08-01 17:09:44 +02:00
Oleg Hahm
431655a3f0 pyterm: introduced trigger actions 2014-08-01 17:09:44 +02:00
Oleg Hahm
cec44e3aed pyterm: fixed usage line for /alias 2014-08-01 17:09:44 +02:00
Oleg Hahm
9a2c1d3c87 pyterm: split up input processing into separate functions 2014-08-01 17:09:44 +02:00
Oleg Hahm
a0796ae6e5 pyterm: always perform input preprocessing 2014-08-01 17:09:44 +02:00
Oleg Hahm
f335cf07c3 pyterm: set default verbosity to info 2014-08-01 17:09:44 +02:00
Oleg Hahm
fbd2c345ce pyterm: cosmetics
* replaced tab with white spaces
* removed trailing white spaces
2014-08-01 17:09:44 +02:00
Oleg Hahm
e661b386a0 pyterm: handle serial disconnect
* will reconnect automatically if possible after a disconnect
* resolves #910
2014-08-01 17:09:44 +02:00
Oleg Hahm
32716fea6c pyterm: enable saving and setting of init commands at runtime 2014-08-01 17:09:44 +02:00
Oleg Hahm
e38fd42fef pyterm: integrated changes from @mehlis' testbed-controller branch 2014-08-01 17:09:44 +02:00
Oleg Hahm
1899fffb4f pyterm: use writeSomeData to send data immediately 2014-08-01 17:09:44 +02:00
Oleg Hahm
534ca4633e pyterm: distinguish between int and string in JSON sending 2014-08-01 17:09:44 +02:00
Oleg Hahm
211dfeca6c pyterm: allow spaces in JSON regex 2014-08-01 17:09:44 +02:00
Oleg Hahm
07e4e4372e pyterm: remove unnecessary debug output 2014-08-01 17:09:44 +02:00
Oleg Hahm
508e8770c7 pyterm: fix program exit procedure, disable SIGINT 2014-08-01 17:09:44 +02:00
Oleg Hahm
cffa4e73d5 pyterm: added twisted based JSON sending 2014-08-01 17:09:44 +02:00
Oleg Hahm
64b1250f3b pyterm: configure baudrate 2014-08-01 17:09:44 +02:00
Oleg Hahm
f816d74824 pyterm: prefix pyterm commands with / 2014-08-01 17:09:44 +02:00
Oleg Hahm
dd469b1f7b pyterm: ignore lines based on regex 2014-08-01 17:09:44 +02:00
Oleg Hahm
fd95200ae4 pyterm: filter for specific output (via regex) 2014-08-01 17:09:43 +02:00
Oleg Hahm
6c31adeaee pyterm: introduce command line arguments 2014-08-01 17:09:43 +02:00
Oleg Hahm
e1f8992642 pyterm: make config file name a variable 2014-08-01 17:09:43 +02:00
Oleg Hahm
5769269cda pyterm: set default serial port to /dev/ttyUSB0 2014-08-01 17:09:43 +02:00
Oleg Hahm
50f9b25a9a pyterm: do a proper cleanup at SIGINT 2014-08-01 17:09:43 +02:00
Ludwig Ortmann
d55da67fb6 Merge pull request #1329 from LudwigOrtmann/riot_license
RIOT default license header change
2014-07-31 23:12:47 +02:00
Oleg Hahm
9f0d8d48fd Merge pull request #1515 from cgundogan/remove_tabs_dist
converting tabs to spaces in dist (#1439)
2014-07-31 23:05:35 +02:00
Ludwig Ortmann
5fdce06b3b doc: use lgplv2.1-short license header instead of lgplv2-short-v1 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
73aa3739d2 doc: use lgplv2.1-short license header instead of lgplv2-short-v2 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
c40b281873 doc: use lgplv2.1-short license header instead of lgplv2-short-v3 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
Cenk Gündoğan
2b0b81b921 converting tabs to spaces in dist (#1439)
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:48:19 +02:00
Ludwig Ortmann
cee59dae23 lpc2k: unify Paul Stoffregen license headers 2014-07-31 18:58:06 +02:00
Ludwig Ortmann
b6846e31fc doc: fix most occurences of FU as an author
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
Ludwig Ortmann
be5798d7b6 dist/pyterm: enable unicode decoding
use unicode streamreader on serial interface
fixes #1371
2014-07-14 12:54:18 +02:00
Ludwig Ortmann
fe2d2e06ca tests: add pattern for short lgplv2.1 header
Add the license checker pattern which is advertised in our wiki.
2014-07-09 16:17:50 +02:00
Cenk Gündoğan
0c40ccebc8 pyterm: made python compatible with python2 and python3
In python 3 there is no implicit converion of bytes to str or character.
2014-06-27 16:32:41 +02:00
René Kijewski
2f66319a3a make: OSX: don't fail for empty .a archives
Fixes issue #1333.
2014-06-24 20:29:32 +02:00
Martin Lenders
46c38230eb pyterm: Make pyterm available in python2 and python3 2014-06-23 09:15:17 +02:00
Ludwig Ortmann
4b98570a34 doc: improve APPDEPS example
Addresses https://github.com/RIOT-OS/RIOT/pull/1339#discussion_r14050325
2014-06-21 18:28:34 +02:00
Ludwig Ortmann
de4677eb60 make: s/PROJDEPS/APPDEPS/
fixes https://github.com/RIOT-OS/RIOT/issues/1284
2014-06-21 18:28:34 +02:00
Ludwig Ortmann
7888222a97 tests: add branch option to license checker 2014-06-20 17:57:56 +02:00
Oleg Hahm
0d6e991e52 Merge pull request #1254 from Kijewski/x86-newlib-nicer-patches
x86: slightly better debuggable bincode
2014-06-19 00:14:43 +02:00
Ludwig Ortmann
289b63c06f dist/tools: add license checker
Creates file structure that maps files to licenses by grepping for
license patterns (patterns for licenses found in RIOT included).
Sets exit code to 1 if an unknown license header is detected.
2014-06-17 10:17:20 +02:00
René Kijewski
3d3ada9a26 x86: slightly better debuggable bincode
While tracking down an error in #1253 I ameded newlib a bit to be
slightly better debuggable. Some lengthy macros were removed in favor of
proper functions.

The parameter passing was wrong before (because of a bug in newlib),
because the user provided CFLAGS were overwritten in the subfolders.
It is kinda strange that this did not cause errors.

The standalone version of the toolchain script was deleted, because it
is not reasonable to maintain two scripts.
2014-06-06 15:38:19 +02:00
Sebastian Sontberg
06433426cf wireshark: fix dissector plugin and expand documentation
The wireshark dissector plugin currently fails with a "Lua Error" when
trying to parse nativenet packets. This patch restores working behaviour
by commenting the offending line introduced in 1258675, which intention
was to account for padding in small packets. It further adds a comment
on how to edit the plugin for the case padding information is required.

The README.md now contains a usage note for configuration on fedora
which might also be helpful for users of other distributions.
2014-06-04 20:36:18 +02:00
Martin Lenders
2362623490 Fix trailing whitespaces
Fixes #1138
2014-05-26 14:54:23 +02:00
Thomas Eichinger
1e983c9670 s/PROJECT/APPLICATION/g
fixes #548
2014-05-26 13:21:09 +02:00
René Kijewski
4e4f908379 Initial import of the x86 port
Currently this works only in qemu.
2014-05-25 13:40:29 +02:00
René Kijewski
bd1630adca buildtest: ignore empty folders
`compile_test.py` fails if there are empty folders in `/examples` or
`tests`. This is not a problem for Travis, because it always has a clean
repo.

For the average users there is a problem if they work on multiple
branches and one branch has new examples or tests. If they don't delete
the residual `bin` folders, then `compile_test.py` will print out these
applications as having failed.

This change checks for the existence of a `Makefile` in the application
folder. Also I added a progress indicator, because I like it. :)
2014-05-16 20:18:52 +02:00
René Kijewski
28ff8cebae Merge pull request #1085 from Kijewski/compile_test-process-indicator
Add process indicator to compile_test.py
2014-05-16 00:49:21 +02:00
René Kijewski
8038e96d09 Merge pull request #1119 from Kijewski/error_old-style-definition
Exterminate old-style function definitions
2014-05-14 13:31:30 +02:00
Martin Lenders
fe174fefdd Fix some coding conventions in border router driver 2014-05-14 09:56:06 +02:00
Martin Lenders
920e48beff License border router driver under LGPL. 2014-05-14 09:55:16 +02:00
René Kijewski
d16b819069 Add process indicator to compile_test.py 2014-05-12 22:09:29 +02:00
René Kijewski
628419eb11 Exterminate old-style function declaration/prototypes 2014-05-12 21:57:09 +02:00
René Kijewski
2c9bfcf5c7 Add "compile everything" tool
Having many tests is quite futile if they aren't executed once in a
while<sup>[citation needed]</sup>.

Alas, this is not the purpose of this PR. This PR adds the tool
"compile_test.py", which executes `make buildtest` for all applications
in `examples` and `tests`, and prints a comprehensive list of the
results.
2014-04-24 11:21:22 +02:00
Ludwig Ortmann
ac21f3c54c make: couple include path and -I
This is necessary if includes have to be filtered, such as in native
to throw out RIOTs posix includes which interfere with system
includes.
2014-02-27 08:14:33 +01:00
Martin Lenders
1258675171 Account for padding in small packages in wireshark 2014-02-18 13:39:44 +01:00
Christian Mehlis
cb9c5d00de repace project by application in documentation 2014-02-18 12:28:32 +01:00
Christian Mehlis
4a3d8cddaa Merge pull request #665 from authmillenon/wireshark-dissector
Add wireshark dissector for native packets
2014-02-16 10:49:55 +01:00
Martin Lenders
8336c8ed14 Add wireshark dissector for native packets 2014-02-12 18:28:22 +01:00
Ludwig Ortmann
336c5159b2 use pkg-config to add valgrind include path
makes knowledge of VALGRIND_VALGRIND_H vs. VALGRIND_H optional
2014-02-11 19:22:39 +01:00
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Oleg Hahm
e12aceb1d5 updated INCLUDES part for the dist Makefile 2014-01-21 15:28:00 +01:00
Ludwig Ortmann
4cd1c5d673 document PROJDEPS usage in dist Makefile 2014-01-15 20:37:09 +01:00
Ludwig Ortmann
498cc027b1 dist/example Makefiles: not BOARD -> no BOARD, ## Modules -> # Modules 2014-01-13 11:12:14 +01:00
Christian Mehlis
c26a3c0e41 Merge pull request #483 from mehlis/master
fix some findings by the static analyser
2014-01-09 13:30:45 -08:00
Ludwig Ortmann
ffad76624a Improve text and stop overriding useful variables 2014-01-09 15:07:42 +01:00
Ludwig Ortmann
b4b1ce66f2 merge over options from projects/default/Makefile
add scheduler statistics option
add valgrind option
add develhelp option
2014-01-09 15:07:12 +01:00
Christian Mehlis
8bcb099384 fix some findings by the static analyser 2014-01-08 17:01:22 +01:00
Oleg Hahm
1a6ee4da25 cosmetics in dist Makefile 2014-01-08 16:46:46 +01:00
Oleg Hahm
cb7de2432e moved muting "logic" away from application Makefile 2014-01-05 16:11:08 +01:00
Oleg Hahm
1a2968222a fixed typo 2014-01-05 16:11:08 +01:00
Oleg Hahm
9df07f9238 muting compiler and binutils optionally
Instead of muting all compiler and other binutils output by default,
introduce a variable to make this behaviour configurable.
2014-01-05 16:11:08 +01:00
Ludwig Ortmann
754881f5f0 handle sigterm, inform about exit
resolves #445
2013-12-19 12:52:32 +01:00
Oleg Hahm
63eb4acf55 adopted exemplary project Makefile to new structure 2013-11-08 15:49:03 -08:00
Oleg Hahm
ced43c7235 added goodfet bootloader (necessary for TelosB) 2013-08-19 19:01:12 +02:00
668bb8a879 fix minor typo in status output 2013-08-13 17:38:23 +02:00
Christian Mehlis
f29e610460 change python shebang to python2 -> python is mostly python3 2013-08-13 11:42:59 +02:00
Ludwig Ortmann
5efa2eea8a fix python shebang 2013-07-15 21:17:09 +02:00
Oliver Hahm
c8bee9e554 fixed coding style (space after most keywords) 2013-06-24 22:37:35 +02:00
Oliver Hahm
201f593641 more coding convention fixes 2013-06-21 04:00:45 +02:00
Oliver Hahm
666c90ffe8 * made msb-a2 default for distribution Makefile 2013-04-18 02:21:22 +02:00
Oliver Hahm
e6177e811a * moved cpu and board specific parts to corresponding Makefiles
* introduced variable for cpu folder
2013-03-23 18:38:12 +01:00
Oliver Hahm
3a69aa8ebc * added arm_common to include path for lpc2387 in Makefile.modules
* cleaned dist/Makefile up
2013-03-19 17:56:26 +01:00
Oliver Hahm
0d06e1bc18 Merge branch 'master' of github.com:RIOT-OS/RIOT 2013-03-10 16:46:46 +01:00
Oliver Hahm
7a4dec1830 * replaced new Makefile name in Makefiles 2013-03-09 23:47:21 +01:00
Oliver Hahm
5ffe5a9c27 * renamed makefiles to Makefile 2013-03-09 23:45:56 +01:00
Oleg Hahm
2277b366b2 * removed outdated occurrences of (u|µ)kleos and FeuerWare 2013-03-07 20:51:26 +01:00
Oleg Hahm
5aa00a4f8b * fixed typo in readme
* fixed documentation in irq.h
* moved tools folder to dist
* added check for disk space in build_gnuarm script
* fixed gcc check in this script, too
2013-02-27 20:22:19 +01:00
Oleg Hahm
f6e129959e * created a target to build the documentation 2013-02-08 19:34:07 +01:00
Oleg Hahm
5df0bd0cc4 * updated and integrated makefiles
* added some auto dependencies
2013-02-08 17:37:02 +01:00
Oleg Hahm
ab007ae3b6 * added dist directory with a generic project makefile 2013-02-06 13:21:36 +01:00