785052e410
Merge pull request #13468 from aabadie/pr/tools/bossa_rework
...
tools/bossa: split between 1.8 and 1.9 versions
2020-02-25 13:32:38 +01:00
d5e13fe4fa
dist/tools/bossa-1.9: add version 1.9.1
2020-02-25 11:49:10 +01:00
e16a9753d9
dist/tools/bossa: move to bossa-1.8 directory
2020-02-25 11:47:32 +01:00
e119bf6681
Merge pull request #13080 from aabadie/pr/make/remove_useless_exports_all
...
make: even more useless exports removed
2020-02-25 11:30:03 +01:00
fadd361a67
Merge pull request #12574 from aabadie/pr/tools/codespell_ignore_list
...
tools/codespell: improve ignored words list + enable colored output
2020-02-25 11:09:41 +01:00
dca7d96148
ci/buildsystem_sanity: ensure TARGET_ARCH no export
2020-02-25 09:42:12 +01:00
2e7202ef2e
ci/buildsystem_sanity: ensure UNDEF not exported
2020-02-25 09:40:34 +01:00
benpicco
4671fd2fe4
Merge pull request #10475 from chrysn-pull-requests/openocd-for-stk3700
...
boards/any silabs: Allow selecting OpenOCD
2020-02-24 19:12:43 +01:00
99d1404d2f
ci/buildsystem_check: ensure OPENOCD_CONFIG is not exported
2020-02-24 10:04:12 +01:00
bd081cd980
tools/openocd: remove default OPENOCD_CONFIG value
...
The default value is already set in openocd.inc.mk
2020-02-24 10:04:11 +01:00
Gunar Schorcht
b132698cd5
cpu/esp*: move parition table tool to dist/tools/esptool
...
The same tool 'gen_esp32part.py' is used for the generation of partition tables on ESP8266 as well as n ESP32. The tool is therefore added to 'dist/tools/esptool'
2020-02-21 09:09:08 +01:00
562cc9007c
tools/packer: adapt for Ubuntu 18.04
...
This change is also a complete refactoring of the generation of the vagrant image
2020-02-19 19:23:07 +01:00
Jose Alamos
eaf2fecd20
vera++: remove non-zero exit code
2020-02-18 19:53:08 +01:00
Sebastian Meiling
2aaf811d84
Merge pull request #9778 from jia200x/pr/vera++
...
style-check/vera++: add style validator and scripts
2020-02-18 10:04:38 +01:00
Jose Alamos
d0b13281d8
ci: invoke vera++ from CI
2020-02-14 14:17:17 +01:00
Jose Alamos
c455efba36
vera++: add README file
2020-02-14 14:17:17 +01:00
Jose Alamos
6057d1fba9
vera++: add check.sh script
2020-02-14 14:17:17 +01:00
Jose Alamos
6352c3cf48
style-check/vera++: add RIOT vera++ files
2020-02-14 14:17:16 +01:00
chrysn
1dbf07f926
openocd: Add instructions for overriding OPENOCD
2020-02-14 09:42:20 +01:00
chrysn
ac8ed1eb13
openocd: Allow using OpenOCD-shipped configs
...
OpenOCD already ships config files for the EFM32 and EFR32 family, no
need to duplicate them in RIOT; this removes the "file exists" check for
files that are clearly OpenOCD-shipped board configurations, as the
script can't (and shouldn't) know OpenOCD's include paths.
2020-02-14 09:24:25 +01:00
077bf8aa73
tools/toolchain_version: remove extra underlying -
2020-02-13 10:54:42 +01:00
acf3ea0636
tools/codespell: enable colored output
2020-02-12 11:22:22 +01:00
19fb4bbcb7
tools/codespell: use file for setting ignored words
2020-02-12 11:22:22 +01:00
ab9c67e621
Merge pull request #13257 from fjmolinas/pr_creating_boards_md
...
doc/doxygen: add creating boards doc
2020-02-12 08:40:53 +01:00
f1799b9910
dist/tools/codespell: add interactive mode
2020-02-11 13:23:47 +01:00
Francisco Molina
e86a5d43ed
dist/tools/buildsystem_sanity_check: exclude .md files
...
Exclude .md files from check_cpu_cpu_model_defined_in_makefile_features
2020-02-05 14:25:40 +01:00
5d5cee0fa5
ci/buildsystem_sanity: ensure not export USEMODULE_INCLUDES
2020-02-05 10:27:58 +01:00
ad234d1f38
ci/buildsystem_sanity_check: ensure USEMODULE is not exported
2020-02-05 10:27:58 +01:00
Benjamin Valentin
baea542532
tools/edbg: update to latest upstream version
...
This version has changed the target names, so add a edbg-devices.inc.mk
to automatically select the right target.
2020-01-31 09:35:27 +01:00
98995f685b
Merge pull request #13179 from fjmolinas/pr_openocd_stm32f7_probe
...
boards/nucleo-f767zi: add correct flash bank openocd config
2020-01-28 10:48:23 +01:00
Francisco Molina
53f60db66f
dist/tools/openocd/openocd.sh: add FLASH_BANK
...
Allow specifying index of `flash bank` to read configuration from
in cases where the configuration provided in openocd is incorrect.
This is the case for the majority of stm32 boards where it relies
on `flash probe` to get the correct value.
2020-01-27 22:32:00 +01:00
8509e1e213
Merge pull request #13119 from nmeum/pr/ssp_random_canary
...
sys/spp: randomize canary value on each build
2020-01-20 20:56:16 +01:00
Sören Tempel
1e52ac21e4
tools: add tool for generating random hexadecimal values
...
This tool generates a random hexadecimal value of a given maximum size.
This is useful for generating random canary values during compile-time
for the ssp module which currently uses a constant value.
2020-01-20 14:51:26 +01:00
benpicco
8a99824e66
Merge pull request #11095 from benpicco/pyterm_sleep
...
pyterm: add /sleep function
2020-01-15 18:25:29 +01:00
Leandro Lanzieri
50f1b1423a
Merge pull request #12999 from fjmolinas/pr_native_makefile_include_explicit_path
...
boards: use explicit paths for file inclusion
2020-01-13 16:00:48 +01:00
Francisco Molina
6a0eaec82f
dist/tools/buildsystem_sanity_check: check \ not in boards/
2020-01-13 12:43:36 +01:00
9de6047097
dist/tools: add support for flatc compiler
2020-01-13 09:41:22 +01:00
8416974b3c
Merge pull request #13074 from fjmolinas/pr_riotboot_gen_hdr_type
...
dist/tools/riotboot_gen_hdr/genhdr: use unsigned long
2020-01-10 13:38:37 +01:00
Francisco Molina
d2c99989dc
dist/tools/riotboot_gen_hdr/genhdr: use unsigned long
2020-01-10 12:56:07 +01:00
c6a2b39a0b
testrunner: allow setting custom delay before reset
...
On some boards, such as hifive1b, resetting right after flashing could crash the running firmware
2020-01-10 08:34:17 +01:00
Gaëtan Harter
f08116f3ce
dist/tools/*: adapt to new state file targets
...
Prepare for handling pkg state with files. So it requires having the
path defined before declaring targets. In addition, it cleans up the
old git-download target.
2020-01-08 20:55:19 +01:00
ff285cb3e0
Merge pull request #13042 from fjmolinas/pr_compile_and_test_args
...
dist/tools/compile_and_test_for_board: pass parser as main arg
2020-01-08 09:01:14 +01:00
Francisco Molina
413f401b97
dist/tools/compile_and_test_for_board: pass parser as main arg
2020-01-08 08:32:42 +01:00
Juan Carrano
02b72ab385
print_toolchain_versions: print system and make's default shell.
...
Some systems use dash as system shell, others use bash. The shell used
by make can also be different, and unrelated to the system shell.
Differences in this variable can cause problems when testing PRs and
reporting bugs.
The default shell is important system information that should be reported.
2020-01-07 09:28:46 +01:00
Francisco
2729580cf1
Merge pull request #13027 from gschorcht/dist/tools/esp8266_version_check
...
dist/tools/ci: print toolchain version update for esp8266
2020-01-06 17:31:00 +01:00
Gunar Schorcht
0252af6572
dist/tools/ci: print toolchain version update for esp8266
...
The new ESP8266 port in PR #11108 requires a different tool chain than the previous implementation. The version check must be updated accordingly.
2020-01-04 17:23:28 +01:00
Francisco
f6f4469542
Merge pull request #11889 from miri64/tapsetup/enh/sudo
...
tapsetup: require to be executed with sudo
2020-01-04 10:43:06 +01:00
Martine S. Lenders
08b11d424d
tapsetup: require to be executed with sudo
2020-01-03 21:00:54 +01:00
970008a74c
ci/build_system_sanity_check: check LINKFLAGS not exported
2020-01-03 16:07:15 +01:00
ac33697af7
tools/compile_test_board: allow use of wildcards for applications
2019-12-19 15:58:47 +01:00
70e6e0aedf
Merge pull request #12862 from fjmolinas/pr_dont_reset_sync
...
dist/pythonlibs/testrunner: reset before term
2019-12-19 14:42:46 +01:00
Francisco Molina
a77594a348
dist/pythonlibs/testrunner: reset before term
...
For some boards `make reset` is only possible if a serial connection
is not already open or its execution might disrupt it. This
causes some tests to fail since before running a test the board
is reset.
`make reset` is currently used as a synchronization mechanism between
the application and the test script. With `test_utils_interactive_sync`
this is no longer needed so call `make reset` before `cleanterm` instead
of after when `test_utils_interactive_sync` is used.
Allow setting TESTRUNNER_RESET_AFTER_TERM=1 to keep the previous
behaviour for `examples/%/tests`.
2019-12-19 09:32:37 +01:00
Dylan Laduranty
bd7f105428
Merge pull request #12978 from smlng/pr_freebsd_osprint
...
tools: correctly detect and print FreeBSD OS
2019-12-18 14:56:57 +01:00
Sebastian Meiling
c185307025
tools: correctly detect and print FreeBSD OS
...
Currently the `print_toolchain_versions` script only supports Linux
and Apple macOS when printing OS name and version. This adds support
for FreeBSD.
2019-12-18 10:25:29 +01:00
Sebastian Meiling
5eee821f6e
makefiles: move exports to vars.inc.mk
2019-12-18 10:07:50 +01:00
211cec8b3e
tools/buildsystem_check: exclude tests/external_board_native path
...
This test application must act as a regular application to showcase how to provide a board support from an external directory
2019-12-16 15:35:06 +01:00
Gaëtan Harter
41a891f284
tools: use 'BOARDSDIR' for the boards directory
...
Replace uses of 'RIOTBOARD' by 'BOARDSDIR' for tools.
2019-12-16 15:35:04 +01:00
55ef046728
dist/testrunner: make interactive test retries/delay configurable
2019-12-12 09:44:16 +01:00
Sebastian Meiling
80d86b42ee
tools/kconfig: replace GNU cp -t with UNIX cp
...
UNIX `cp` command does not have the `-t` option like its GNU variant.
Hence, it usage breaks building RIOT e.g. on FreeBSD.
2019-12-05 09:12:33 +01:00
benpicco
61353e04eb
Merge pull request #12860 from aabadie/pr/tools/ethos_fix_warning
...
tools/ethos: fix compilation warning in strncpy
2019-12-03 15:08:36 +01:00
Francisco
372ae95d28
Merge pull request #12628 from aabadie/pr/make/develhelp_cleanup
...
make/develhelp: make usage consistent + add ci check
2019-11-28 09:26:52 +01:00
Gaëtan Harter
eb9cb198a0
testrunner: auto sync with test_utils_interactive_sync if present
...
Automatically call the test_utils_interactive_sync synchronization if it
is used.
2019-11-27 15:07:42 +01:00
abc99024df
tools/ethos: fix compilation warning in strncpy
2019-11-26 16:26:35 +01:00
Martine S. Lenders
ccc10432be
dist/tools/ci/print_toolchain_versions.sh: add ccache
2019-11-26 09:28:28 +01:00
Martine Lenders
95c6a785de
Merge pull request #12695 from leandrolanzieri/pr/dist/tools/add_kconfiglib
...
dist/tools: Add Kconfiglib
2019-11-25 11:51:02 +01:00
31fe89e4a2
dist/tools/uhcpd: fix typos
2019-11-23 22:39:37 +01:00
5c92411b3e
dist/tools/pic32prog: fix typos
2019-11-23 22:39:37 +01:00
801c5e3dd5
dist/tools/packer: fix typos
2019-11-23 22:39:37 +01:00
f012f88c2b
dist/tools/lazysponge: fix typos
2019-11-23 22:39:37 +01:00
f3538a2248
dist/tools/buildsystem_sanity_check: fix typos
2019-11-23 22:39:37 +01:00
09e8e1f612
dist/tools/backport_pr: fix typos
2019-11-23 22:39:37 +01:00
Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
8a76acf060
Merge pull request #12706 from fjmolinas/pr_fix_flake8
...
RIOT: fix PEP8 errors
2019-11-23 06:47:34 +01:00
Francisco Molina
2e8968fa17
dist/tools/pyterm/pyterm: fix PEP8 F841, unused variable
2019-11-22 11:47:49 +01:00
Francisco Molina
d2e90b2370
dist/tools/ethos/ethos.c: remove unusued var 'escaped'
2019-11-21 11:58:07 +01:00
Francisco Molina
2202b71f99
flake8: fix PEP8 overidentation E127
2019-11-21 10:11:56 +01:00
Leandro Lanzieri
b642f2ea23
dist/tools: Add kconfiglib
...
Kconfiglib is a Kconfig implementation in Python 2/3.
See https://github.com/ulfalizer/Kconfiglib
2019-11-19 17:46:38 +01:00
588766ab27
Merge pull request #12733 from fjmolinas/pr_jlink_serial
...
makefiles/tools/jlink.inc.mk: DEBUG_ADAPTER_ID as JLINK_SERIAL
2019-11-18 13:47:26 +01:00
Francisco Molina
f9ebc8658f
dist/tools/jlink: cleanup doc
2019-11-18 13:04:42 +01:00
Kevin "Tristate Tom" Weiss
be39169bd4
Merge pull request #11108 from gschorcht/cpu/esp8266/esp-idf/pr
...
cpu/esp8266: complete reimplementation based on ESP8266 RTOS SDK
2019-11-18 09:34:49 +01:00
Gunar Schorcht
555a7040db
cpu/esp8266: reset tool to allow automatic tests
2019-11-14 13:58:48 +01:00
Gunar Schorcht
fe028455e5
cpu/esp8266: esptool.py is provided as tool
...
The modified version esptool.py from RTOS SDK that is required for flashing an image, is now placed in `dist/tools/esptool.py` and used directly from there. The advantage is that `esptool.py` hasn't to be installed explicitly anymore. Having RIOT is enough. The documentation is adapted accordingly. The oly prerequisite is that python and the pyserial module are installed.
2019-11-14 13:58:48 +01:00
Benjamin Valentin
bff06a4d64
tools: add add_insufficient_memory_board.sh script
...
This adds a script that automatically compiles all examples & tests for a given
board and updates Makefile.ci if necessary.
2019-11-12 13:52:15 +01:00
86bd4d98a5
tools/build_system_sanity_check: add check for DEVELHELP
...
This variable should be set directly as it's hanbled after in Makefile.include, and not directly via CFLAGS
2019-11-06 16:32:47 +01:00
d69254b9df
tools/buildsystem_sanity_check: add check for APPLICATION in tests
...
This check verifies the APPLICATION variable is not set by tests application Makefiles. These applications should include the common test Makefile, where this variable is automatically set
2019-11-05 07:59:57 +01:00
Marian Buschsieweke
809d74bca6
dist/tools: Added script for C11 atomics compat
...
Added a script to determine the sizes of the default C11 atomic types and
generate an C++ header with preprocessor defines to access the sizes of the
types and an integer type of the same size (and therefore alignment
requirements).
2019-10-24 23:08:35 +02:00
050c077be7
dist/tools/codespell: update ignore list
...
changed wan -> WAN, codespell help says:
"Words are case sensitive based on how they are written in the dictionary file"
Thus WAN doesn't match but "wan" does.
Also added "dout" (short form of digital out).
2019-10-24 16:47:00 +02:00
62c244608d
tools/pr_check: add REMOVEME in keyword filtered
2019-10-22 08:07:40 +02:00
Francisco Molina
fb0f64630b
dist/buildsystem_sanity_check: add check for CPU_FAM/ARCH definition
...
- Check that CPU_FAM/ARCH is only exported in vars.inc.mk
2019-10-18 08:55:33 +02:00
Francisco
01779508d6
Merge pull request #12394 from aabadie/pr/make/iotlab_support_fix
...
make/testbed-support: fix error with FLASHFILE not defined
2019-10-17 23:21:12 +02:00
Marian Buschsieweke
b6d23b56ae
dist/tools: Check BOARD_INSUFFICIENT_MEMORY usage
...
- Enforce that all applications do not manage BOARD_INSUFFICIENT_MEMORY in the
Makefile
- Match also "BOARD_INSUFFICIENT_MEMORY +=", not only
"BOARD_INSUFFICIENT_MEMORY :=" or "BOARD_INSUFFICIENT_MEMORY =".
2019-10-17 15:30:21 +02:00
Sebastian Meiling
e00f7a4198
Merge pull request #11767 from MrKevinWeiss/pr/remove/philip
...
dist/tests/philip: Removed old code and tests
2019-10-17 08:45:40 +02:00
Francisco
02ae803acc
Merge pull request #12395 from aabadie/pr/dist/testbed-support-add-nrf52840-mdk
...
dist/testbed-support: add nrf52{840,832}mdk in IOTLAB_NODE targets
2019-10-16 15:59:31 +02:00
MrKevinWeiss
7a0e7e378d
dist/tests/if_lib: Remove if_lib since we use philip_pal
...
All if_lib tests are no longer in use so the if_lib is obsolete.
It is replace by robot framework tests, riot_pal, and philip_pal.
Check the RF_Tests repo for more information
2019-10-16 15:57:23 +02:00
bdd3fed598
dist/testbed-support: add nrf52832mdk in IOTLAB_NODE targets
2019-10-16 11:57:21 +02:00
ffc4c84faa
dist/testbed-support: boards: remove useless IOTLAB_FLASHFILE
2019-10-16 11:44:59 +02:00
benpicco
c9b76a9585
Merge pull request #12406 from maribu/pain_in_the_ass
...
examples: Moved CI infos to Makefile.ci
2019-10-15 14:40:40 +02:00
benpicco
10824e1cd0
Merge pull request #12251 from maz3max/bmp-tool
...
Add helper script for Black Magic Probe
2019-10-15 13:39:08 +02:00
Maximilian Deubel
30f12c9058
Add helper script for Black Magic Probe
...
This script can detect [Black Magic Probes](https://github.com/blacksphere/blackmagic/wiki ) and act as a flashloader (and more).
It is compatible with Linux and macOS.
All important options that can be set via the monitor command are available as arguments.
Makefiles for using `make flash`, `make erase`, `make debug` and `make term` with the script are included.
2019-10-15 12:58:24 +02:00
Marian Buschsieweke
2c996057c4
dist/tools: Check BOARD_INSUFFICIENT_MEMORY usage
...
Enforce BOARD_INSUFFICIENT_MEMORY is not managed in the Makefile in the examples
2019-10-15 09:55:07 +02:00