Martine Lenders
89418e4277
dist/tools/ci/static_tests.sh: fix shellcheck warnings
2021-01-13 22:03:11 +01:00
Martine Lenders
f6290c1c02
shellcheck: annotate errors in Github Action
2021-01-13 22:03:11 +01:00
Martine Lenders
79301c623d
static-tests: add shellcheck (but don't fail)
2021-01-13 22:02:49 +01:00
daf5a7d6b4
Merge pull request #15585 from aabadie/pr/doc/emulator
...
doc/emulators: add emulators documentation in Doxygen
2021-01-13 17:43:02 +01:00
Martine Lenders
5457105fe0
Merge pull request #15751 from miri64/dist/enh/codespell-annotate
...
dist/tools/codespell: annotate errors in Github Action
2021-01-13 17:27:19 +01:00
Martine Lenders
7b3b01659f
dist/tools/codespell: annotate errors in Github Action
2021-01-13 17:16:59 +01:00
4b90d93fc0
dist/tools/renode: remove documentation
...
The documentation was moved to doc/doxygen/src/emulators.md
2021-01-13 17:14:40 +01:00
Francisco
4736a881fc
Merge pull request #15512 from aabadie/pr/tools/emulator_term
...
tools/emulator: allow use with *term targets + introduce EMULATE=1 instead of emulate target
2021-01-13 17:12:00 +01:00
Martine Lenders
ff0e41ff9f
Merge pull request #15750 from miri64/dist/enh/buildsystem-sanity-check-annotate
...
dist/tools/buildsystem_sanity_check: minor fixes and annotate errors in Github Action
2021-01-13 16:42:36 +01:00
Martine Lenders
688b89ba40
Merge pull request #15748 from miri64/dist/enh/uncrustify-annotate
...
dist/tools/uncrustify: annotate errors in Github Action
2021-01-13 15:30:14 +01:00
Kevin "Tristate Tom" Weiss
aa19614a6c
Merge pull request #15731 from miri64/dist/enh/pr_check-annotate
...
dist/tools/pr_check: cleanup and annotate errors in Github Action
2021-01-13 15:24:13 +01:00
Martine Lenders
d4628dc07f
dist/tools/pr_check: annotate errors in Github Action
2021-01-13 15:18:06 +01:00
Martine S. Lenders
bb310ec644
dist/tools/vera++: annotate errors in Github Action
2021-01-13 12:06:48 +01:00
Martine Lenders
375df5740a
pr_check: remove label check
2021-01-13 12:02:18 +01:00
Martine Lenders
741aaf9a38
pr_check: fix README
2021-01-13 12:02:18 +01:00
Martine Lenders
7a6dec464e
Merge pull request #15644 from miri64/dist/enh/externc-annotate
...
dist/tools/externc: annotate errors in Github Action
2021-01-12 17:24:57 +01:00
Martine Lenders
750e656b6f
Merge pull request #15645 from miri64/dist/enh/cppcheck-annotate
...
dist/tools/cppcheck: annotate errors in Github Action
2021-01-12 17:24:40 +01:00
Martine Lenders
d5ec8494ec
Merge pull request #15749 from miri64/dist/fix/headerguards-multi-patch
...
dist/tools/headerguards: fix annotation for multiple patches per file
2021-01-12 17:22:01 +01:00
Martine Lenders
ab71561759
dist/tools/buildsystem_sanity_check: annotate errors in Github Action
2021-01-12 16:31:08 +01:00
Martine Lenders
1d61f38bf2
dist/tools/buildsystem_sanity_check: output line number with git grep
2021-01-12 16:30:22 +01:00
Martine Lenders
afe9e990fa
dist/tools/buildsystem_sanity_check: fix typo in error message
2021-01-12 16:29:46 +01:00
Martine Lenders
d7391b3cc3
dist/tools/buildsystem_sanity_check: add colon to every error message
2021-01-12 16:28:50 +01:00
a469942ecf
Merge pull request #15747 from miri64/dist/enh/coccinelle-annotate
...
dist/tools/coccinelle: annotate errors in Github Action
2021-01-12 15:38:42 +01:00
Martine Lenders
b711515e76
dist/tools/headerguards: fix annotation for multiple patches per file
2021-01-12 15:04:02 +01:00
Martine Lenders
b5a0dd5ab7
dist/tools/coccinelle: annotate errors in Github Action
2021-01-12 14:51:51 +01:00
Martine Lenders
c251551a8c
dist/tools/uncrustify: annotate errors in Github Action
2021-01-12 14:25:09 +01:00
Martine Lenders
3ffe6f665f
dist/tools/headerguards: annotate errors in Github Action
2021-01-12 12:52:54 +01:00
Martine Lenders
2eec26a0f8
Merge pull request #15740 from aabadie/pr/tools/headerguards_check_fix
...
tools/headerguards: also catch messages from stderr
2021-01-12 10:31:46 +01:00
08108f85b4
make: replace emulate% targets with EMULATE variable
2021-01-11 21:31:48 +01:00
c8ce41c9de
dist/tools/emulator: allow use of term with emulators
2021-01-11 21:31:48 +01:00
Martine Lenders
628b45d975
dist/tools/externc: annotate errors in Github Action
2021-01-11 16:59:16 +01:00
Martine Lenders
1c310c6926
dist/tools/cppcheck: annotate errors in Github Action
2021-01-11 16:58:47 +01:00
Martine Lenders
f1600af701
Merge pull request #15642 from miri64/dist/enh/doccheck-annotate
...
dist/tools/doccheck: annotate errors in Github Action
2021-01-11 16:55:05 +01:00
Martine Lenders
619d013d6e
github_annotate.sh: fix usage and function of _github_annotate
2021-01-11 15:57:14 +01:00
Martine Lenders
429a2a8724
github_annotate.sh: fix escaped echo for bash scripts
2021-01-11 15:57:14 +01:00
Martine Lenders
9ee568e319
dist/tools/doccheck: annotate errors in Github Action
2021-01-11 15:57:14 +01:00
Martine Lenders
db81377af7
dist/tools/doccheck: only exit after when every check ran
...
Doxygen takes an eternity to finish anyways, so it does not hurt to not
early exit for the group checks.
2021-01-11 15:27:21 +01:00
Martine Lenders
13f1a3cf0d
dist/tools/commit-msg: annotate errors in Github Action
2021-01-11 14:04:53 +01:00
06f3a18f52
tools/headerguards: also catch messages from stderr
2021-01-09 19:13:02 +01:00
Martine Lenders
fe74043e9a
dist/tools: move check for PKG_SOURCE_LOCAL to buildsystem_sanity_check
2021-01-08 15:04:28 +01:00
Martine Lenders
6208515a86
dist/whitespacecheck: use result of piped command for return value
2021-01-08 14:09:43 +01:00
Martine Lenders
44b48e6c2d
gh-actions: move PR checks from static tests to own workflow
2021-01-08 14:09:42 +01:00
Martine Lenders
e69617a493
dist/tools/pr_check: rename check script to common name
2021-01-08 14:06:17 +01:00
Martine Lenders
39db02ade0
Merge pull request #15669 from miri64/dist/enh/github-annotate-no-file
...
dist/tools/ci/github_annotate.sh: allow annotations without files
2021-01-08 11:06:52 +01:00
Martine Lenders
20350edebb
dist/tools/ci/github_annotate.sh: allow annotations without files
2021-01-08 10:38:59 +01:00
2902fa8611
tools/codespell: remove redundant entry in ignored words
...
Words added in this list are case insensitive so chang works for both
chang and Chang.
2021-01-08 10:15:33 +01:00
11d1abbac6
tools/nrf52_resetpin_cfg: fix typo in code
...
Progamming => Programming
2021-01-08 10:15:32 +01:00
d99f34fc69
codespell: add 'ether' to ignored words
...
trigger a false positive with 'either'
2021-01-08 10:15:32 +01:00
5b279c8a3f
codespell: add filp to ignored words
...
filp is used as a variable name and trigger a false positive with flip
2021-01-07 22:12:15 +01:00
438464b5fa
dist/tools/bmp: fix flake8 issue E741
...
E741: ambiguous variable name
2021-01-07 19:11:20 +01:00
Martine Lenders
7f83c8c488
Merge pull request #15709 from jia200x/pr/vera_cpp_checks
...
dist/tools/vera++: improve C/C++ support and optimize CI call
2021-01-06 13:20:39 +01:00
Jose Alamos
541d21db0f
ci/vera++: run only once
...
Signed-off-by: Jose Alamos <jose@alamos.cc>
2021-01-06 13:02:18 +01:00
Jose Alamos
f3a934a169
ci/vera++/rules/L004: add warning support
...
Signed-off-by: Jose Alamos <jose@alamos.cc>
2021-01-06 13:02:09 +01:00
Jose Alamos
da17a1b5a3
ci/vera++/rules/T003: do not include C++ keywords in C files
...
Signed-off-by: Jose Alamos <jose@alamos.cc>
2021-01-06 13:01:42 +01:00
Martine Lenders
1892da1b1a
dist/tools/vera++: exclude tests/pkg_utensor/models/deep_mlp_weight.hpp
2021-01-06 12:09:46 +01:00
Martine Lenders
40d72df91f
static_tests.sh: only default to master when not in a GitHub action
2021-01-06 12:09:46 +01:00
Martine Lenders
4bcf908176
Merge pull request #15667 from miri64/make/cleanup/static-tests
...
make: run static_tests.sh directly with `static-tests` target
2021-01-05 16:41:45 +01:00
abfb289aa3
tools/suit/manifest-generator: fix dependencies alignment
2020-12-30 15:18:42 +01:00
7f6f60b1a2
tools/suit/manifest-generator: remove unused pyhsslms dependency
2020-12-30 15:17:45 +01:00
5e160e3684
tools/suit/manifest-generator: set cbor2 dependency
2020-12-30 15:17:16 +01:00
Martine Lenders
01c061a922
dist/tools/vagrant: remove trailing whitespaces from README
2020-12-19 09:58:42 +01:00
Martine Lenders
003dd8f356
dist/tools/packer: remove trailing whitespaces from README
2020-12-19 09:58:31 +01:00
558f3920a9
dist/tools: don't overwrite EXCLUDE when not necessary
2020-12-18 12:58:25 +01:00
MrKevinWeiss
30fe436ea0
dist/tools/flake8: Allow gh annotation
2020-12-17 17:04:49 +01:00
Martine Lenders
9066ab28e1
make: run static_tests.sh directly with static-tests
target
2020-12-17 15:16:36 +01:00
Martine Lenders
9817811b8f
dist/tools/ci/static_tests.sh: add dependency check for tools
2020-12-17 15:10:17 +01:00
Martine Lenders
f6cc30664e
dist/tools/ci: Add README.md
2020-12-16 21:23:40 +01:00
Martine Lenders
3a3984e05d
tools/whitespacecheck: annotate errors in Github Action
2020-12-16 21:23:39 +01:00
Martine Lenders
019817d58b
dist/tools/ci: add harness to annotate static tests in Github Actions
2020-12-16 21:23:38 +01:00
Leandro Lanzieri
ddf78bae22
dist/tools/kconfig/genconfig: fix printing of range condition
2020-12-09 11:11:17 +01:00
8b8a3ffbd9
Merge pull request #15491 from aabadie/pr/tools/qemu_debug
...
tools/emulator: add debug feature with qemu emulator
2020-12-08 11:23:33 +01:00
b979fb3262
ci/changed_files: exclude lpc2k_pgm tool
2020-12-03 19:17:58 +01:00
e04085622b
Revert "dist/tools/externc: exclude code in dist/tools"
...
This reverts commit 4567c108a1
.
2020-12-03 19:17:33 +01:00
Benjamin Valentin
b7b208829f
tools/uf2: add uf2conv.py as a flash tool
2020-12-02 10:20:17 +01:00
Francisco
9f3eebd9b9
Merge pull request #15543 from aabadie/pr/tools/robotis-loader_common
...
boards/opencm904: move robotis-loader in common place
2020-12-02 09:18:51 +01:00
4ff5b749b0
tools/renode: qemu: move debug script in common place
2020-12-02 08:43:44 +01:00
Francisco
0b8ec0ba11
Merge pull request #15490 from aabadie/pr/tools/renode_refactor
...
tools/renode: refactor integration + add debugger support
2020-12-01 23:16:11 +01:00
966221f5a4
boards/opencm904: move robotis-loader in common place
2020-12-01 18:31:41 +01:00
d2c09e798a
dist/tools/lpc2k_pgm: fix headerguards
2020-12-01 16:21:50 +01:00
4567c108a1
dist/tools/externc: exclude code in dist/tools
2020-12-01 16:17:17 +01:00
aea9d4b0a7
make: move lpc2k_pgm in tools/
2020-12-01 13:36:36 +01:00
d2f57c3aad
dist/tools/renode: remove unused run-renode script
2020-11-27 13:39:22 +01:00
dcaa9eb59c
makefiles/tools/renode: improve debugger management
...
When using the debug target, the GDB server is spawned automatically in the background. This logic is moved in a external script
2020-11-27 13:39:22 +01:00
23a2afd8b1
Merge pull request #15514 from aabadie/pr/tools/ci/print_versions_make
...
ci/print_versions: don't print directory for make shell
2020-11-26 19:49:03 +01:00
da16710229
ci: ensure EMULATOR* variables are not exported
2020-11-20 12:31:15 +01:00
ded50b2494
Merge pull request #15446 from fjmolinas/pr_tests_riotboot_cc2538_bsl
...
tests/riotboot: make automatic script work with cc2538-bsl
2020-11-18 17:09:01 +01:00
Francisco Molina
49d054cc2d
dist/tools/cc2538-bsl: bump version
2020-11-18 14:47:19 +01:00
Roudy Dagher
1dc6c848f6
dist/tools/jlink: debugserver test_config prior test_version
2020-11-17 16:42:54 +01:00
Francisco Molina
6a606e3f21
makefiles/tools/cc2538-bsl: use --write-erase to avoid mass erase
2020-11-16 09:13:57 +01:00
Francisco Molina
8f1e2cbe00
dist/tools/cc2538-bsl: add Makefile to build dependencies
2020-11-16 09:13:57 +01:00
Martine Lenders
a07d3e0fc9
Merge pull request #14755 from benpicco/examples/gnrc_border_router-native
...
examples/gnrc_border_route: simplify ZEP setup on native
2020-11-13 18:41:03 +01:00
6c190726f0
Merge pull request #15352 from bergzand/pr/usb-cdc-ecm/resolve_shellcheck
...
usb-cdc-ecm: resolve shellcheck issues
2020-11-13 15:52:27 +01:00
b0ad1564aa
Merge pull request #15441 from fjmolinas/pr_jlnink_test_version_gui
...
dist/tools/jlink: add -nogui to version test, fix for OSX
2020-11-13 15:39:36 +01:00
Francisco Molina
1dc84b0d9e
dist/tools/jlink: use 'grep -E' instead of 'grep -P'
...
-P is not suppoted in OSX
2020-11-13 14:27:43 +01:00
Francisco Molina
914912b276
dist/tools/jlink: add -nogui to version test
...
If multiple debuggers are present when testing for JLinkExe version
a GUI will open to select the debugger to attach, so add -nogui
when testing for version as well.
2020-11-13 14:13:38 +01:00
57116e737b
Merge pull request #14691 from gdoffe/mp1_dev
...
Port of RIOT-OS to stm32mp1
2020-11-13 12:34:19 +01:00
a42a3fadd1
Merge pull request #15350 from bergzand/pr/whitespacecheck/resolve_shellcheck
...
whitespacecheck: Resolve most shellcheck issues
2020-11-13 11:29:30 +01:00
Gilles DOFFE
cca2d70808
tools/openocd: add stlink-dap adapter
...
stlink-dap adapter is based on stlink-dap.cfg and is used by
STM32MP1 family.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Gilles DOFFE
8a35e114c0
tools/openocd: add GDB_PORT_CORE_OFFSET variable
...
In case of muticore CPU, openocd opens one debug port by core for gdb.
Thus add a GDB_PORT_CORE_OFFSET port offset to select the right port
for debugging.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Gilles DOFFE
5424ef1dfe
tools/openocd: add flashr action
...
As for debugr, boards like stm32mp157c-dk2 does not have flash memory.
The firmware could be flashed using the operating system (mainly Linux) or
the bootloader (mainly u-boot) of the dual architecture (cortex-A7 on
stm32mp157c-dk2). However in engineering mode (only cortex-M4), the
firmware has to be flashed using jtag once the board is powered up.
The flashr action do this using openocd only.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00