Commit Graph

502 Commits (4bc77be2820169c1f0336ecd5f748ba74ac0a169)

Author SHA1 Message Date
Sebastian Meiling 4bc77be282 Merge pull request #6966 from miri64/doccheck/enh/show-doc-warning
doccheck: actually show warning, not just file
6 years ago
Martine Lenders 0f2fa7883c doccheck: actually show warning, not just file 6 years ago
Alexandre Abadie d2362c1c74 Merge pull request #7057 from gautric/master
use MD5 as environment variable
6 years ago
gautric 89cd127e31 dist/tools/toolchains: use MD5 as environment variable 6 years ago
Kaspar Schleiser 564448ae96 dist: tools: coccinelle: add enable_debug_false.cocci 6 years ago
Kaspar Schleiser a7ad4f0469 dist/tools/coccinelle: add remove_atoi_cast.cocci 6 years ago
Kaspar Schleiser d603367c08 dist/tools/ci/print_toolchain_versions.sh: add coccinelle 6 years ago
Kaspar Schleiser 98c359d231 dist/tools/ci/changed_files.sh: add coccinelle includes to EXCLUDE 6 years ago
Kaspar Schleiser 9acc5282af dist: tools: introduce coccinelle static testing 6 years ago
Kaspar Schleiser bb24b1d77b Merge pull request #7039 from kaspar030/fix_in-function_static_variables
cleanup: remove unused in-function static variable properties (coccinelle)
6 years ago
Kaspar Schleiser 8611650078 dist/tools/uhcpd: remove unnecessary static properties (partly found by coccinelle) 6 years ago
Kaspar Schleiser a7e55a17cf dist/tools/ci/build_and_test.sh: adapt to changed check scripts 6 years ago
Kaspar Schleiser a02472d1fa dist/tools/licenses/check.sh: make use of changed_files.sh 6 years ago
Kaspar Schleiser e24becc02a dist/tools/externc: use of changed_files.sh 6 years ago
Kaspar Schleiser 9b045c127f dist/tools/cppcheck: use changed_files.sh 6 years ago
Kaspar Schleiser 5a4ea3b45d dist/tools/ci: introduce changed_files.sh 6 years ago
Kaspar Schleiser 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).
6 years ago
Oleg Hahm ec97a94626 dist: cppcheck: switch back to 8 jobs 6 years ago
Oleg Hahm 76e884e346 dist: ci: removed obsolete TODO regarding cppcheck 6 years ago
Oleg Hahm 2cb16c5ff4 dist: tunslip: fix cppcheck warnings 6 years ago
Oleg Hahm 3a304f10ee dist: enable cppcheck warnings for all files 6 years ago
Kaspar Schleiser 6ef21a8fd3 dist: tools: print_toolchain_versions.sh: add cppcheck version 6 years ago
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
6 years ago
Emmanuel Baccelli 9de3484c12 Doc: improved README for new boards in Vagrant 6 years ago
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
```
6 years ago
Oleg Hahm 44604a9ed5 tools: make doccheck check all files 6 years ago
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.
6 years ago
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)
6 years ago
Hauke Petersen 19bf9f8d0f dist/externc: exclude all (CPU) vendor headers 6 years ago
Hauke Petersen 0fb3ee3b9b dist/cppcheck: exclude only vendor headers 6 years ago
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`.
6 years ago
Joakim Nohlgård 9ed393426e dist/tools/cppcheck: Add missing hpp file name pattern 6 years ago
Neil Jones ceb0fa9205 dist: update toolchain info script for mips 6 years ago
Joakim Nohlgård 4bc120f54d dist/tools/licenses: Add BSD 1 clause style license from newlib sys/features.h
Used in msp430-common
6 years ago
Jason Tran de8c3f0a85 dist/tools/jlink: remove jlink confirmation prompt 6 years ago
Martine Lenders 819987c58c dist/tools: add release stats script 6 years ago
Martine Lenders a5bdf0a831 Merge pull request #6407 from OlegHahm/header_guards
*: remove trailing underscores from header guards
6 years ago
Oleg Hahm 7ee7801c10 *: remove trailing underscores from header guards 6 years ago
Joakim Nohlgård 78e207bc33 dist/tools/ci: Fix command output formatting of last line 6 years ago
Cenk Gündoğan 4b05722477 dist/tools/ci: toolchain versions: fix output to show avr-libc 6 years ago
Joakim Nohlgård 05769dddee dist/tools/ci: toolchain versions: Fix heading formatting 6 years ago
Joakim Nohlgård 001a30ef4f dist/tools/ci: Add script for printing installed toolchain versions to CI log 6 years ago
Alexandre Abadie d340cce157 Merge pull request #6310 from OlegHahm/pyterm_show_prompt
tools: pyterm: display received prompt immediately
6 years ago
Cenk Gündoğan 90e85ca1de Merge pull request #6389 from gebart/pr/ci-output-whitespace
CI: fix whitespace handling in command output
6 years ago
Oleg Hahm 3fb2984d2a tools: pyterm: display received prompt immediately 6 years ago
Andreas "Paul" Pauli e0b6f16ddc cc2538-bsl.py: add chip id for cc2538em 6 years ago
Kaspar Schleiser 47f6ff3056 Merge pull request #6237 from kaspar030/rename_AD_to_Q
make: rename AD to Q
6 years ago
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.
6 years ago
Antonio Galea 2fa4ad3833 reconnecting a USB-serial dongle under Linux might give permission errors until udev scripts complete 6 years ago
Kaspar Schleiser 17b35f6ece dist: tools: git-cache: bump version
adds OSX fixes for md5sum, flock
6 years ago