2e9f443a5b
tools/buildsystem_check: add deprecated pattern for board ci whitelist
2019-09-16 19:02:54 +02:00
0ae86d7775
Merge pull request #12242 from smlng/tools_shebang
...
tools: fix shebang in scripts
2019-09-16 17:23:50 +02:00
Sebastian Meiling
9e870460fd
tools: fix shebang in packer/setup.sh
...
Change shebang in script from `/bin/bash` to `/usr/bin/env bash`,
which fixed problems when `bash` is not available in standard location,
e.g., on non-Linux OSes such as FreeBSD.
2019-09-16 11:27:36 +02:00
Sebastian Meiling
364c831bf3
tools: fix shebang in openocd.sh
...
Change shebang in script from `/bin/bash` to `/usr/bin/env bash`,
which fixed problems when `bash` is not available in standard location,
e.g., on non-Linux OSes such as FreeBSD.
2019-09-16 11:27:33 +02:00
Sebastian Meiling
277fbd8386
tools: fix shebang in has_minimal_version.sh
...
Change shebang in script from `/bin/bash` to `/usr/bin/env bash`,
which fixed problems when `bash` is not available in standard location,
e.g., on non-Linux OSes such as FreeBSD.
2019-09-16 11:27:15 +02:00
Sebastian Meiling
079b2246bd
tools: fix shebang for static-test.sh
...
Change shebang in static-test.sh from `/bin/bash` to `/usr/bin/env bash`
This fixes problems when `bash` is not available in standard location,
but e.g. in `/usr/local/bin/` as on FreeBSD.
2019-09-16 10:23:11 +02:00
Gaëtan Harter
23d743926c
dist/tools/buildsystem_sanity_check: check no PORT exports
...
Add sanity check for removed exports.
2019-09-12 14:44:00 +02:00
Francisco
2d890db6af
Merge pull request #10440 from jcarrano/no-export-ports
...
makefiles: remove exports so that PORT is not evaluated if it's not needed.
2019-09-12 13:50:24 +02:00
Francisco Molina
f718cc581a
dist/tools/pyocd: add PYOCD_ADAPTER_INIT
...
- Pass parameters before flash, debug, reset
2019-09-12 08:13:28 +02:00
abd1cd51b7
Merge pull request #12120 from cladmi/pr/pyterm/configurable_repeat_command_on_empty_line
...
pyterm: configuring repeating command on empty line
2019-09-10 09:41:05 +02:00
9ea3b2e04f
dist/tools/pyterm: fix handling of reset ANSI escape code
2019-09-09 20:27:16 +02:00
9065f8358c
tools/openocd: correctly check reset_config variable value
...
This avoids the following warning message when running OpenOCD: 'openocd.sh: line 124: [: : integer expression expected'
2019-09-03 12:44:09 +02:00
Francisco Molina
900875c603
dist/tools/openocd: add OPENOCD_EXTRA_INIT_RESET
...
- Add a variable to add extra openocd commands before resetting
a board. These will not be called when `debug`, in contrast
to OPENOCD_CONFIG, OPENOCD_EXTRA_INIT and OPENOCD_ADAPTER_INIT.
- Add connect_assert_srst to reset config if
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST=1
2019-09-02 14:53:51 +02:00
Gaëtan Harter
0fc38c58e8
pyterm: configuring repeating command on empty line
...
Allow configuring that it sends an empty newline when it receives a newline.
2019-08-29 15:15:57 +02:00
Gaëtan Harter
34f69245c3
makefiles: do not locally export compilation variables
...
These are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
2019-08-29 10:35:36 +02:00
Sebastian Meiling
8e08748c60
Merge pull request #7654 from cladmi/pr/arduino_sketches.cpp
...
arduino/sketches: build sketches as a module
2019-08-21 15:22:45 +02:00
Gaëtan Harter
be30f072e2
sys/arduino/sketches: build sketches as a module
...
Generate a module for arduino sketches in a subfolder of BINDIR.
This prevents issues when doing concurrent builds or out of tree build with
readonly sources.
Declare all generated files as `BUILDDEPS` to be re-created after
`clean` on parrallel `clean all`.
2019-08-21 11:57:41 +02:00
Juan I Carrano
d2970332fc
Merge pull request #12009 from cladmi/pr/application/board_equal/bug
...
dist/tools/build_system_sanity_check: check BOARD set as ?=
2019-08-20 16:52:21 +02:00
Gaëtan Harter
e5e9d81cce
testrunner/utils: add helper for test_utils_interactive_sync
...
Add helper to do the synchronisation.
2019-08-15 12:26:28 +02:00
Gaëtan Harter
74fbf41517
dist/tools/build_system_sanity_check: check BOARD set as ?=
...
Applications Makefile must not set 'BOARD =' unconditionally but
'BOARD ?='
2019-08-14 17:23:18 +02:00
Sebastian Meiling
950b83e63e
Merge pull request #10252 from jcarrano/flake8-report-existence
...
tools/ci: correcly report flake8 version.
2019-08-14 11:11:50 +02:00
Martine Lenders
2f8234acb1
Merge pull request #11813 from aabadie/pr/tools/doccheck_detect_duplicate_defgroup
...
tools/doccheck: extend script to also check for Doxygen groups defined multiple times
2019-08-08 19:57:27 +02:00
Kees Bakker
c1d3128be3
dist/tools: add Coccinelle check for ARRAYSIZE
...
This Coccinelle script will warn when new code has the potential to use
the macro ARRAYSIZE instead of something like this
sizeof(some_array) / sizeof(some_array[0])
2019-08-07 21:55:41 +02:00
5837075150
tools/doccheck: optimize display of undefined groups
...
The printed variable is not computed if no undefined group is found
2019-08-07 10:33:03 +02:00
1876619bf9
tools/doccheck: add check for multiple group definition
2019-08-07 10:33:03 +02:00
Gaëtan Harter
25890c814a
compile_and_test_for_board: add --with-test-only
...
Add an option to only compile applications that have available test.
The target usage is when running hardware tests to save time by only
compiling what will be tested.
2019-08-02 14:35:05 +02:00
Gaëtan Harter
821c42f5b2
compile_and_test_for_board: add logger info for 'has_test'
...
Add a logger info printing if the application has a test.
2019-08-02 13:24:52 +02:00
Kevin "Bear Puncher" Weiss
f932999df4
Merge pull request #11853 from sanjuprakashk/testrunner-timeout
...
dist/pythonlibs/testrunner: dynamic changing of test timeout
2019-07-18 11:57:31 +02:00
Gaëtan Harter
5ed65989ed
dist/jlink.sh: Allow overwriting the 'reset' commands
...
Add a variable to configure the reset commands.
This is required for board that need a hardware reset.
2019-07-17 15:29:51 +02:00
sanjuprakashk
d30bd7ae47
dist/pythinlibs/testrunner: dynamic changing of test timeout
...
Few flashers require a longer time to flash code and reset the device and
requires the test script to wait for a longer time before timing out.
This commit adds a environment variable "RIOT_TEST_TIMEOUT" that can be
set by the user to vary the timeout in accordance to the requirements
of the system
on-behalf-of: @sparkmeter <sanju.kannioth@sparkmeter.io>
2019-07-17 06:25:28 -07:00
21e796d6f9
Merge pull request #11841 from kaspar030/bump_git_cache
...
dist/tools/git/git-cache: bump version
2019-07-17 13:21:59 +02:00
b33a196e78
dist/tools/git/git-cache: bump version
...
Upstream contains important fixes:
- improve tag handling
- improve concurrent use
- clean up temporary tags
2019-07-17 12:04:37 +02:00
f74e5e754a
dist/tools/ethos: add setup_network.sh script
2019-07-15 12:33:11 +02:00
Juan I Carrano
6349d91277
Merge pull request #11695 from cladmi/pr/buildsystem_sanity_check/bug/never_returns_error
...
dist/tools/build_system_sanity_check: BUG fix errors being ignored
2019-06-26 11:58:11 +02:00
f1ffa10c7e
dist/tools/ethos: adapt README.md to USEMODULE+=stdio_ethos
2019-06-24 09:56:30 +02:00
a66c7cf6e7
tools/nrf52_resetpin_cfg: add stdin dependency
2019-06-20 16:01:45 +02:00
Gaëtan Harter
e4b82be564
dist/tools/build_system_sanity_check: BUG error_on_input always fail
...
The function was always failing but was hidden by the previous bug too.
2019-06-14 12:24:31 +02:00
Gaëtan Harter
7d65a715ca
dist/tools/build_system_sanity_check: deprecate FEATURES_MCU_GROUP
...
Add a function to list deprecated variables or patterns and use it for
* FEATURES_MCU_GROUP
2019-06-14 11:34:00 +02:00
Gaëtan Harter
b744ba7f9e
dist/tools/build_system_sanity_check: BUG fix errors being ignored
...
On error messages the exit code was still 0 due to the typo.
Having error messages again properly return with an exit code of 1.
2019-06-14 10:58:28 +02:00
be1551c180
Revert "REMOVE ME TEST COMMIT"
...
This reverts commit c7b16bb4b4
.
2019-06-14 10:04:33 +02:00
Gaëtan Harter
c7b16bb4b4
REMOVE ME TEST COMMIT
2019-06-13 16:04:04 +02:00
Gaëtan Harter
f37a586183
dist/tools/build_system_sanity_check: add reasons for each error type
...
Prepend the reason for the matched error pattern.
It will only add the reason if there is an error.
2019-06-13 16:04:04 +02:00
Gaëtan Harter
534ccaf5ee
dist/tools/build_system_sanity_check: handle error by prepending
...
Handle putting the final error message by prepending the output.
This removes issue with errors being concatenated and gives an
interractive output.
The errors are now send to stderr.
2019-06-13 16:03:51 +02:00
Gaëtan Harter
ef24df7ac0
dist/tools/build_system_sanity_check: add script helper functions
...
Add helper functions to better handle output and errors.
2019-06-13 16:01:45 +02:00
Leandro Lanzieri
4f3bc12daa
dist/tools/edbg: Escape variable values
2019-06-06 14:45:35 +02:00
Juan Carrano
7f1357b721
tools/usb-serial: do not advise people to export PORT.
...
The example in the tool documentation contains several things that are
wrong:
- exports PORT.
- Defines the port using :=.
- Defines PORT instead of PORT_LINUX, PORT_DARWIN
- ifeq-based logic (which will force an evaluation).
I have not tested the new example script.
2019-06-03 16:31:31 +02:00
Gaëtan Harter
6c529458f1
dist/tools/buildsystem_sanity_check/: check no PORT_ exports
...
Add sanity check for removed exports.
2019-06-03 16:24:48 +02:00
06013cf443
tools/buildsystem_sanity_check: blacklist PROGRAMMER_SERIAL variable
2019-06-03 10:32:09 +02:00
4b4b5106c9
tools/buildsystem_sanity_check: blacklist new variables
...
DEBUG_ADAPTER, DEBUG_ADAPTER_ID, STLINK_VERSION are now blacklisted from exported variables
2019-06-03 10:32:08 +02:00
Leandro Lanzieri
79c095ef46
tools/jlink: Exit terminal on Ctrl+C
2019-05-29 09:18:52 +02:00