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