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

1347 Commits

Author SHA1 Message Date
Benjamin Valentin
0b3e4cd43f tools/insufficient_memory: add create_makefile.ci.sh 2021-11-15 17:41:54 +01:00
5a8094ea0a
dist/iotlab: return ret code within a single call 2021-02-25 12:59:40 +01:00
976eda9cbb
dist/tools: add programmer wrapper script 2021-02-25 12:59:39 +01:00
367a8e8574
Merge pull request #16083 from benpicco/cosy
make: add cosy as a build target
2021-02-24 13:59:11 +01:00
Benjamin Valentin
d95f21fd67 make: add cosy as a build target
`cosy` is a graphical memory usage analyzer.
It is a great tool, but pretty hidden.
Add it as a build target so it can be easiely summoned for any application and board.
2021-02-24 12:11:00 +01:00
Francisco
bf7b727c4a
Merge pull request #16049 from aabadie/pr/make/namespace_programmer_vars
make: namespace programmer specific variables
2021-02-24 08:17:47 +01:00
Francisco
8dec3f2833
Merge pull request #15795 from miri64/dist/fix/diff-output
static_tests: fix diff output
2021-02-24 08:17:37 +01:00
7e21f25779
make: namespace openocd PRE_FLASH_CHECK_SCRIPT variable 2021-02-23 21:22:55 +01:00
6f47505997
make: namespace pyocd FLASH_TARGET_TYPE variable 2021-02-23 21:22:52 +01:00
603186f913
make: namespace openocd DEBUG_ADAPTER variable 2021-02-23 21:22:52 +01:00
Martine Lenders
a0234cafe5
uncrustify: fix diff annotations 2021-02-23 18:25:50 +01:00
Martine Lenders
2d27db02f5
headerguards: fix diff annotations 2021-02-23 18:25:50 +01:00
Martine Lenders
2465a701ee
coccinelle: fix diff annotation 2021-02-23 18:25:50 +01:00
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