benpicco
bd7782c23f
Merge pull request #16034 from maribu/test-boards-supported
...
makefiles/tests: add unit test for info-boards-supported
2021-02-22 14:15:50 +01:00
dd88ead843
tools/compile_and_test_for_board: fix lint
...
Pylint raises an error because of inconsistent return statements in the make_with_outfile function. The return value of this function is never used, so a bare return or no return is ok
2021-02-21 21:34:03 +01:00
1ec4ea2d7c
tools/edbg: add wrapper bash script
2021-02-21 12:56:35 +01:00
Marian Buschsieweke
8183bbb069
makefiles/tests: add unit test for info-boards-supported
2021-02-17 15:40:05 +01:00
Marian Buschsieweke
ed2ae85985
tests/feature_resolution: add build system unit tests
...
This test "application" contains a set of unit tests for the feature resolution
of RIOT's build system.
2021-02-10 21:05:38 +01:00
807b154fc4
Merge pull request #15956 from fjmolinas/pr_riotboot_uncrustify
...
sys/riotboot: uncrustify
2021-02-09 22:14:50 +01:00
Martine Lenders
7bb706356a
Merge pull request #15962 from miri64/pyterm/fix/space-after-prompt
...
pyterm: read space after prompt into prompt
2021-02-09 20:34:34 +01:00
benpicco
b25c63757e
Merge pull request #15884 from benpicco/boards/zigduino
...
boards: add zigduino
2021-02-09 18:40:48 +01:00
Martine Lenders
271d1ae3a2
pyterm: read space after prompt into prompt
...
Currently, when the prompt is read in `pyterm` the space after it is
ignored for the prompt and the output command just adds its own prompt.
This leads to the next output always having a leading space, see e.g.
this output from `tests/shell` using `RIOT_TERMINAL=pyterm`:
```
make: Entering directory '/home/mlenders/Repositories/RIOT-OS/RIOT2/tests/shell'
/home/mlenders/Repositories/RIOT-OS/RIOT2/dist/tools/pyterm/pyterm -p "/dev/ttyUSB1" -b "500000"
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2021-02-09 14:47:15,071 # Connect to serial port /dev/ttyUSB1
Welcome to pyterm!
Type '/exit' to exit.
bufsize
2021-02-09 14:47:19,712 # bufsize
2021-02-09 14:47:19,712 # 128
> bufsize
2021-02-09 14:47:21,535 # bufsize
2021-02-09 14:47:21,536 # 128
>
```
While this isn't necessarily a problem in most cases, it becomes a
problem when the prompt is expected and the output of a command is
empty. In that case, the space is added to the empty output, making it
" ", so the prompt output command is never triggered and the prompt is
added to the next command in the log output. To demonstrate I added a
command `empty` to `tests/shell` that just does nothing and deactivated
the command echoing using `CFLAGS=-DCONFIG_SHELL_NO_ECHO=1`:
```
empty
> empty
empty
bufsize
2021-02-09 14:54:33,753 # > > 128
>
```
This fixes that problem by also reading the assumed space (we already
assume the prompt, so I don't see no harm in that) and if it is not a
space to skip the reading of the next char in the next iteration of the
reader loop.
2021-02-09 17:17:25 +01:00
Martine Lenders
40da80085e
pyterm: move char reading and reconnect to their own private functions
2021-02-09 16:51:52 +01:00
Benjamin Valentin
5fdbd09187
boards: add zigduino
...
This adds support for the ATmega128RFA1 based Zigduino.
The board is available on the Strasbourg site of the IoT lab for testing.
2021-02-09 15:26:03 +01:00
Francisco Molina
6a79d94f1a
sys/riotboot: uncrustify
2021-02-09 13:38:31 +01:00
50cf93c719
Merge pull request #15718 from bergzand/pr/rv32i/fe310_rv32i_refactor
...
riscv_common: Refactor common fe310 code to riscv_common
2021-02-08 10:27:41 +01:00
19bb182a92
uncrustify: also include riscv_common in the whitelist
2021-02-05 09:32:19 +01:00
Martine Lenders
8730733b97
uncrustify: fix ztimer whitelist pattern
2021-02-02 22:21:15 +01:00
Martine Lenders
8a31d2ec9f
uncrustify: add cpu/fe310/include/atomic_utils_arch.h to blacklist
2021-02-02 22:21:15 +01:00
Hauke Petersen
ce0d589384
Merge pull request #15807 from haukepetersen/opt_jlink_versioncheckstuff
...
tools/jlink.sh: fix version check and allow to skip it
2021-01-25 14:03:06 +01:00
dd407f2717
Merge pull request #15803 from miri64/static-tests/enh/group-runs
...
static-tests: group tests
2021-01-20 16:05:28 +01:00
Martine Lenders
bfeef735d1
Merge pull request #15813 from jia200x/pr/vera/revert_tcl
...
ci/vera++/rules/L004: remove warning support
2021-01-20 13:10:10 +01:00
Jose Alamos
d5062cfd4e
ci/vera++/rules/L004: remove warning support
...
This reverts commit f3a934a169
.
2021-01-20 11:04:12 +01:00
benpicco
d54cc2ee1f
Merge pull request #15808 from bergzand/pr/jlink/add_silent
...
tools/jlink.sh: Run JlinkExe with silent when debugging
2021-01-20 10:48:26 +01:00
75748e3c1f
tools/jlink.sh: Run JlinkExe with silent when debugging
...
The print statements from the Jlink binary offer little additional
benefit while debugging and only clutter the output. Furthermore they
interfere with the TUI layout of GDB when one of the context layouts is
used.
2021-01-19 21:49:28 +01:00
Hauke Petersen
82ae3eb8a6
tools/jlink.sh: allow to skip version check
2021-01-19 21:28:00 +01:00
Hauke Petersen
5f8d58fbea
tools/jlink.sh: use SERIAL for version test
2021-01-19 21:27:07 +01:00
Martine Lenders
9ecc804151
static-tests: group tests
2021-01-19 17:31:01 +01:00
8f2b375f81
tools/vera++: increase max line length bounds
2021-01-19 16:10:51 +01:00
3c7efc497e
uncrustify: Add fe310 cpu files to the whitelist
2021-01-15 13:56:47 +01:00
Martine Lenders
42c1070387
Merge pull request #15767 from miri64/dist/fix/uncrustify-file
...
uncrustify: use unified diff to generate GH annotation
2021-01-14 13:00:20 +01:00
Martine Lenders
0a99a018c2
dist/tools/headerguards: fix comment for current code
2021-01-14 12:26:58 +01:00
Martine Lenders
629d3cd39d
uncrustify: use unified diff to generate GH annotation
...
`git diff` creates diffs where the file name starts with `a/` or `b/`
respectively. These are obviously not in path, so the Github annotations
point to nowhere when the path is used without accounting for this.
This fixes the GH annotation parsing to account for that.
2021-01-14 12:19:53 +01:00
Martine Lenders
09463b73cb
Merge pull request #15756 from miri64/dist/enh/shellcheck-enabled
...
static_tests: enable shellcheck and annote its output
2021-01-14 01:21:45 +01:00
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