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
Gilles DOFFE
4f3ea5c74c
tools/openocd: select target core
...
For multi-arch SoC like STM32MP1, the right target core has
to be selected to avoid debugging the wrong default cpu.
This is done using openocd command 'targets ${OPENOCD_CORE}'.
OPENOCD_CORE has to be set in board Makefile.include file.
In case it is not set, the command just display available targets, thus it
has no effect on already existing boards using openocd.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Gilles DOFFE
e7b344983d
tools/openocd: add debugr action
...
In case of STM32MP157c-dk2 board, there is no flash available. Thus,
the elf binary has to be flashed directly to SRAM before debugging.
To do so, the DBG_FLAGS variable has to be overrided to load the binary
using 'load' gdb command.
The START_ADDR variable is the entrypoint extracted from the elf binary
using objdump tool.
The do_debug function can now be used as usual.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
2fff75017b
whitespacecheck: Resolve most of the shellcheck sh issues
2020-11-13 10:31:38 +01:00
2bc4944934
usb-cdc-ecm: resolve shellcheck issues
2020-11-12 14:43:01 +01:00
Benjamin Valentin
54eedd94ba
tools/zep_dispatch: add simple ZEP dispatcher
2020-11-10 15:41:15 +01:00
Francisco Molina
017618d1a7
dist/tools/codespell: add Chang, chang
2020-11-10 07:46:37 +01:00
8183809ebf
ci/print_versions: don't print directory for make shell
2020-11-09 20:32:02 +01:00
Leandro Lanzieri
71a3aa081e
dist/tools/genconfig: check the APPLICATION symbols only when testing
...
This changes the Kconfig check to only perform it when testing Kconfig
dependency modlling for now (TEST_KCONFIG=1).
2020-11-06 15:58:02 +01:00
Leandro Lanzieri
1408f3f96e
dist/tools/kconfiglib: add tests for genconfig.py
...
Also add the test to 'python-tests' GitHub actions.
2020-11-05 09:04:10 +01:00
Leandro Lanzieri
e815863aa9
tools/genconfig: add invalid configurations checks
2020-11-05 09:04:07 +01:00
Marian Buschsieweke
deb52f858c
Merge pull request #15375 from maribu/bmp-fix
...
dist/tools/bmp: Fix flashing with pygdbmi 0.10.0
2020-11-03 20:11:53 +01:00
Marian Buschsieweke
71b2860322
dist/tools/bmp: Fix flashing with pygdbmi 0.10.0
...
The flashing script for the black magic probe stopped working with pygdbmi in
version 0.10.0 due to an API change. This adapts the code to first try
initialization with the old pygdbmi API (as before), but tries again with the
new API if that fails.
2020-11-03 16:33:46 +01:00
Francisco
3e3da1217d
Merge pull request #15249 from aabadie/pr/tools/typo
...
tools/codespell: fix new typos and make it fail when typos are found
2020-11-03 15:01:20 +01:00
Bas Stottelaar
0c8df9bb3c
dist/coccinelle: adapt rules for ENABLE_DEBUG
2020-11-02 21:49:40 +01:00
391a26aa2e
Merge pull request #15351 from bergzand/pr/usb-serial/list-ttys/resolve_shellcheck
...
usb-serial/list-ttys: Resolve shellcheck issues
2020-11-02 10:21:48 +01:00
cf04e5c824
Merge pull request #15347 from bergzand/pr/tools/sh2bash
...
dist/tools: Use bash instead of sh where needed
2020-10-30 16:47:38 +01:00
9222b72f8b
Merge pull request #15320 from benpicco/tools/insufficient_memory-nodocker
...
tools/insufficient_memory: restore build with no docker
2020-10-30 16:43:47 +01:00
cb660898b3
usb-serial/list-ttys: Resolve shellcheck issues
2020-10-30 16:13:05 +01:00
c5b2ded055
dist/tools: Use /usr/bin/env bash
for bash scripts
2020-10-30 13:13:40 +01:00
96cad82910
dist/tools: Use bash instead of sh where needed
...
A number of scripts use features from bash such as `local` which are not
in the POSIX spec. This breaks on systems where sh is not symlinked to
bash.
This patch changes the interpreter indicated by the hashbang to bash for
those scripts
2020-10-30 12:12:10 +01:00
Benjamin Valentin
555e8a8efb
tools/insufficient_memory: restore build with no docker
...
It's useful being able to run this script without having Docker installed.
Introduce the `--no-docker` parameter to run the script without docker.
2020-10-29 18:19:04 +01:00
e4f724a443
tools/build_and_test: use all instead of all-debug on native
2020-10-28 22:08:18 +01:00
48ffdcb080
tools/codespell: make it fail when typos are found
2020-10-27 10:33:48 +01:00
cb2974984b
codespell: add 'circular' to the list of ignored words
2020-10-27 10:33:47 +01:00
Bas Stottelaar
62530f42c8
dist/jlink: check for minimum version
2020-10-21 18:23:02 +02:00
Bas Stottelaar
237a24d51b
dist/jlink: do not show the GUI.
...
Since J-Link V6.74, a GUI is shown when flashing from the command line.
This steals the focus of the terminal. Adding `-nogui 1` solves the
issue, but raises the minimum supported version to V6.74 (released
around June 2020).
Note that JLinkGDBServer has a slightly different `-nogui` option.
2020-10-21 14:34:49 +02:00
Bas Stottelaar
8af4f4a60c
dist/jlink: textual improvements
...
- renamed JLink -> J-Link [1]
- fixed incomplete sentence
- fixed typo's
[1] https://wiki.segger.com/J-Link_Commander
2020-10-21 14:08:52 +02:00
Bas Stottelaar
107fd41b1a
dist/jlink: unify command line options
...
According to the documentation [1], the options are case-insensitive.
Unify all options to use a single style (lower case was the easiest).
[1] https://wiki.segger.com/J-Link_Commander
2020-10-21 14:02:28 +02:00
6c63e1b6c4
tools/insufficient_memory: improve error handling and output
2020-10-13 15:37:50 +02:00
b2aaebc699
tools/suit/manifest-generator: small fixes
...
- fix typo 'formated' -> 'formatted'
- remove unused variable
2020-10-02 07:59:51 +02:00
39c4e36f1a
tools/codespell: add more ignored words
2020-10-02 07:42:16 +02:00
3cf082d59b
Merge pull request #15110 from bergzand/pr/suit/storage_backend
...
SUIT: Introduction of a payload storage API for SUIT manifest payloads
2020-09-30 22:47:33 +02:00
benpicco
0bc80250cf
Merge pull request #15101 from benpicco/sys/net/uhcp-log
...
sys/net/uhcp: use LOG_xxx functions
2020-09-30 11:08:53 +02:00
8159819087
tools/suit: Add optional component ID argument
...
This extends the component argument of the gen_manifest.py script with
an optional component name. As component names in the SUIT manifest
consist of an array of bytestrings, the commponent name in the argument
is also split. Each part of the name ends up as a separate part of the
component name in the manifest. Component names are split by colons to
match the separator used in the rest of the argument.
2020-09-29 15:18:56 +02:00
Benjamin Valentin
f163f1580b
sys/net/uhcp: use LOG_ functions
...
Using `gnrc_border_router` with `uhcp` is quite noisy.
uhcpc will regularly refresh the prefix and print a bunch of status messages.
Allow the user to tone it down by setting a higher `LOG_LEVEL`.
For this, convert calls to `printf()` and `puts()` to `LOG_xxx()`.
This requires a dummy header for `uhcpd`.
2020-09-29 09:55:28 +02:00
Martine Lenders
2ed4b32e54
tapsetup: add support for single, unbridged TUN interface
2020-09-28 12:31:22 +02:00
Martine Lenders
73b8342528
tapsetup: make deleting interfaces a function
2020-09-28 12:31:22 +02:00
Martine Lenders
ff8b7a92d4
tapsetup: fix output for no sub-interfaces with list command
...
To be correct YAML, an empty list must be signified as a `[]`
2020-09-25 12:21:58 +02:00
Francisco
ad9e35c445
Merge pull request #14436 from bergzand/pr/suit/ietf_v7
...
SUIT: Upgrade to draft-ietf-suit-manifest-09
2020-09-24 21:57:24 +02:00
401f8eb9bd
dist/tools/suit: Update suit tooling to IETF-v7 compliance
2020-09-24 21:15:13 +02:00
benpicco
baedd20e68
Merge pull request #14972 from maribu/riscv-none-elf
...
build system: use riscv-none-elf as triplet
2020-09-24 00:50:46 +02:00
Cenk Gündoğan
b09fd7c78d
Merge pull request #14947 from leandrolanzieri/pr/kconfig/add_empty_recipies_dependencies
...
tools/genconfig: add empty recipes in dependency file
2020-09-16 11:00:45 +02:00
Marian Buschsieweke
d9e495fe83
build system: use riscv-none-elf as triplet
...
Use riscv-none-elf instead of legacy riscv-none-embed as target triplet for
RISC-V development. However, if ricsv-none-elf is not present, try
riscv64-unknown-elf and riscv-none-embed instead. If the legacy riscv-none-embed
is used, a warning is printed.
2020-09-15 11:18:33 +02:00
Martine S. Lenders
5fea5fca65
tapsetup: FreeBSD/OSX: remove member TAPs of bridge explicitly
2020-09-08 13:50:45 +02:00
Martine S. Lenders
29684af116
tapsetup: add capability to add routes to bridge
2020-09-08 13:50:45 +02:00
Martine S. Lenders
dbeb783b13
tapsetup: add capability to add addresses to bridge
2020-09-08 13:50:44 +02:00
Martine S. Lenders
0abe581e3e
tapsetup: add capability to enable forwarding for bridge
2020-09-08 13:50:27 +02:00
Martine S. Lenders
a9722dda71
tapsetup: add capability to list bridges
2020-09-08 13:50:09 +02:00
Leandro Lanzieri
8c79c18ce0
tools/genconfig: generate empty recipes in dependency file
2020-09-04 10:39:37 +02:00
Martine S. Lenders
de36c400d4
tapsetup: make output easier to parse
...
Distinguish bridge creation from tap creation.
2020-09-02 11:05:13 +02:00
c83b78a567
Merge pull request #14762 from maribu/move_byteorder
...
core/byteorder: Moved to sys
2020-09-01 15:02:11 +02:00
Francisco
c11a06224c
Merge pull request #14856 from jhaand/master
...
Updated stlink makefile to use OpenOCD's single configuration file.
2020-09-01 09:03:53 +02:00
Jelle Haandrikman
f18d3f5663
dist/tools/openocd/stlink: handle new and old Openocd version
2020-08-31 17:34:25 +02:00
179cf1b8cd
Merge pull request #14882 from aabadie/pr/tools/tapsetup_typo
...
tools/tapsetup: fix typo in function name
2020-08-28 13:58:02 +02:00
15222cf5e9
tools/tapsetup: fix typo in function name
2020-08-28 13:33:27 +02:00
János Brodbeck
e9370a2b81
dist/tools/tapsetup: fix minor typo
2020-08-28 13:24:55 +02:00
Martine S. Lenders
4cc6963b12
compile_and_test_for_board.py: add optional JUnit XML support
2020-08-27 14:25:57 +02:00
Leandro Lanzieri
bbfca7e1ef
Merge pull request #14458 from miri64/vagrant/enh/freebsd
...
vagrant: add Vagrantfile to test native in FreeBSD
2020-08-25 16:32:05 +02:00
Martine S. Lenders
1d435de445
buildsystem_sanity_check: whitelist Vagrantfiles
...
Vagrantfiles are not part of our build-system so they should be ignored
by its sanity check.
2020-08-25 16:01:59 +02:00
Martine S. Lenders
f9e3c0f513
vagrant: add Vagrantfile to test native in FreeBSD
2020-08-25 16:00:59 +02:00
Francisco
d665546d6f
Merge pull request #14464 from benpicco/python3
...
Convert remaining Python2 users to Python3
2020-08-18 09:11:23 +02:00
Benjamin Valentin
a5043540f4
dist/tools/compile_test: use Python3
2020-08-16 20:00:54 +02:00
Benjamin Valentin
b8e2d14164
gen_esp32part.py: use Python3
2020-08-16 19:48:04 +02:00
Marian Buschsieweke
164d2ac8f2
core/byteoder: Moved to sys
...
The byteorder utilities are never used in `core`, but extensively in `sys`.
They seem to be better located in `sys`.
2020-08-14 16:28:59 +02:00
377d389ce9
Merge pull request #14609 from fjmolinas/pr_openwsn_bump
...
pkg/openwsn: bump version
2020-08-11 16:25:36 +02:00
Francisco Molina
aa1e7797b0
pkg/openwsn: bump version
...
With the new version some OpenWSN modules are optional:
- openwsn_cjoin (and therefore opewnsn_coap)
- openwsn_6lo_fragmentation
- openwsn_icmpv6echo
- openwsn_crypto
- openwsn_udp (optional but kept as default)
New optional modules have been added:
- openwsn_iee802154e_security (link layer security)
- openwsn_adaptive_msf (MSF dynamic slot allocation)
Openvisualizer needs to be updated to be compatible with the new
version.
2020-08-11 15:24:33 +02:00
Cenk Gündoğan
964413c34a
ci: changed_files: ignore fixdep.c for cppcheck
2020-08-11 09:47:32 +02:00
Cenk Gündoğan
4fac8800bd
tools: whitespacecheck: ignore fixdep.c
2020-08-11 09:47:32 +02:00
Cenk Gündoğan
f49eb4305c
dist: tools: import fixdep from linux
2020-08-10 12:17:59 +02:00
Leandro Lanzieri
9c10580ba4
dist/tools/kconfiglib: introduce own genconfig.py tool
...
This tool unifies multiple functionalities needed by the Kconfig
integration into one tool.
2020-08-07 18:17:37 +02:00
26c915dcb3
tools: print_toolchain_versions.sh: update to msp430-elf
2020-08-05 14:29:07 +02:00
Cenk Gündoğan
f4e631ffdb
tools: whitespacecheck: use ignore file to easily add expressions
2020-08-04 13:19:26 +02:00
Benjamin Valentin
6ac24d1a95
tools/usb-cdc-ecm/start_network.sh: remove parameters to read
...
The `read` implementation on my system doesn't know a `-n` parameter:
tools/usb-cdc-ecm/start_network.sh: 100: read: Illegal option -n
As the command is only used to block if no terminal is started, we can
as well remove them.
2020-08-02 15:04:02 +02:00
b7f2ad8d76
ci/build_system_check: improve check for features provided in Makefile.features
...
- Take into account potential spaces at the beginning of a line
- Check all Makefile.<something> files, not only the ones in boards and cpus
2020-07-20 13:06:05 +02:00
benpicco
4fb1e17508
Merge pull request #14454 from trickeydan/usb-cdc-ecm-example
...
Add USB Ethernet support to GNRC Border Router example
2020-07-18 15:58:44 +02:00
Dan Trickey
2c3987def0
examples/gnrc_border_router: add CDC-ECM uplink
...
Optionally executes pyterm from CDC-ECM start_network.sh
The shell script exits and cleans up instantly unless there is a
blocking program running at the end. Users can supply a serial port to
display in pyterm, or alternatively just wait if it is a "headless"
deployment.
2020-07-17 21:34:56 +01:00
ce36767972
tools/setsid: cleanup and allow Makefile to be used standalone
2020-07-10 13:30:46 +02:00
5dd5c7913f
tools/pic32prog: cleanup and allow Makefile to be used standalone
2020-07-10 13:30:46 +02:00
7d5f08babf
tools/edbg: allow Makefile to be called stand-alone
...
Also:
- refactor the Makefile so all is not called if edbg is already there
- add a clean target to only remove the edbg binary
2020-07-10 13:30:38 +02:00
7e6b506ee6
tools/bossa: allow Makefile to be called stand-alone
2020-07-10 13:30:37 +02:00
09dbfd88be
dist/tools/bossa*: use common build Makefile
2020-07-10 11:56:11 +02:00
Martine Lenders
37a5e8700f
Merge pull request #14459 from miri64/tools/enh/make-env
...
tools: add capability to provide make command via environment
2020-07-09 12:20:09 +02:00
Benjamin Valentin
12cf6f0137
buildsystem_sanity_check: use python3
2020-07-08 14:57:54 +02:00
Benjamin Valentin
830bd34662
pyterm: use Python3 in setup.py
2020-07-08 14:57:14 +02:00
Leandro Lanzieri
f6b6072398
dist/tools/kconfiglib: Use python3 for RIOT adaption of menuconfig
2020-07-08 14:40:06 +02:00
Martine S. Lenders
da3fdd33d1
tools: add capability to provide make command via environment
...
Not all operating systems name the GNU Make `make`. FreeBSD e.g. uses a
different dialect of Make, that seems to be incompatible with GNU make.
(I wasn't able to get `make` run, but `gmake` works).
This allows our test scripts to be configured via the environment
variable `MAKE` to point to a different make command.
2020-07-08 09:36:36 +02:00
Martine S. Lenders
da7d5f7a49
tapsetup: fix for FreeBSD
2020-07-07 20:20:37 +02:00
dfa9979615
tools/backport_pr: add doctest for _get_latest_release function
2020-07-04 18:25:36 +02:00
4b6ab1e583
tools/backport_pr: fix warning/issues reported by pylint and flake8
2020-07-04 18:25:36 +02:00
09c7b54704
tools/backport_pr: relax pylint and flake8 checks
...
- ignore fixme warning with pylint
- increase tolerated code complexity for flake8
2020-07-04 18:25:36 +02:00
Cenk Gündoğan
7aa499d5f1
make: use $(MAKE) instead of direct make
call
2020-07-03 12:03:06 +02:00
benpicco
adc0a3cb8c
Merge pull request #13668 from benpicco/tools/radvd
...
tools/radvd: Add script to run radvd on a tun interface
2020-07-01 16:06:24 +02:00
Leandro Lanzieri
b2c0a8e67d
Merge pull request #14401 from benpicco/kconfiglib-v14.1.0
...
kconfiglib: bump to v14.1.0
2020-07-01 09:37:50 +02:00
Francisco
41888674a4
Merge pull request #14385 from aabadie/pr/make/appdeps_export
...
boards/mips: remove use of APPDEPS, un-export globally APPDEPS
2020-07-01 09:13:35 +02:00
Benjamin Valentin
6dcaa9ad49
tools/radvd: Add script to run radvd on a tun interface
...
This adds a small wrapper script to configure and start radvd on a
tun interface.
This allows the use of router advertisements and global adresses with
the `native` target.
Usage:
- first create the tap interface as usual
sudo dist/tools/tapsetup/tapsetup
- now run radvd on the new tapbr0 interface
sudo dist/tools/radvd/radvd.sh -c tapbr0 2001:db8::/64
- Now run the `gnrc_networking` example on native:
make -C examples/gnrc_networking all term
You should now see that the `native` node has received a global address
in `ifconfig`.
You should be able to reach this address from your host computer.
It may take very long for the native node to obtain the address.
If you are observing this, try turning off router advertisements of the
native node on the upstream interface by running
ifconfig 6 -rtr_adv
Alternatively change `USEMODULE += gnrc_ipv6_router_default` to
`USEMODULE += gnrc_ipv6_default` in the project's `Makefile`.
2020-06-30 17:55:25 +02:00
Benjamin Valentin
11fa839abb
kconfiglib: bump to v14.1.0
...
The latest upstream version uses Python3 instead of Python2.
2020-06-30 17:32:42 +02:00
d98ddfad9a
Merge pull request #13824 from fjmolinas/pr_openwsn
...
pkg/openwsn: re-integrate the network stack as a package
2020-06-30 14:08:10 +02:00
Francisco Molina
d01476a661
dist/tools/openvisualizer: inital support
2020-06-30 13:10:56 +02:00
Benjamin Valentin
09c3ad5999
esptool.py: use Python3
2020-06-29 23:35:37 +02:00
88452abfcf
ci/build_system_check: ensure no export of APPDEPS/BUILDDEPS/DEBUGDEPS
2020-06-28 12:15:18 +02:00
86fb4a5685
tools/flatc: don't clone flatbuffers in the global pkg dir
...
When building with make -j, flatbuffers is cloned by both the flatc build and the regular package build and from time to time a concurrency issue make the build to fail. Keeping regular flatbuffer package and flatc tool sources separate avoid this issue
2020-06-28 11:16:12 +02:00
a0b042cdd4
dist/tools: adapt tools that are built using pkg.mk
2020-06-26 09:25:45 +02:00
Francisco Molina
9909cdfffd
dist/buildsystem_sanity_check: no USEMODULE in Makefile.include
2020-06-25 11:02:00 +02:00
e785d43003
ci/build_system_check: fix typo in function name
2020-06-25 10:15:23 +02:00
Francisco
a665fcc542
Merge pull request #14123 from jue89/fix/ztimer_pseudomodules
...
ztimer: relocate PSEUDOMODULES definitions
2020-06-24 22:56:07 +02:00
c36109516a
dist/buildsystem_check: ensure no export of toolchains vars
2020-06-24 11:01:01 +02:00
d69036f08d
dist/tools/git-cache: don't export GIT_CACHE_DIR in script
2020-06-23 14:54:25 +02:00
1084d6593f
dist/buildsystem_check: ensure no export of GITCACHE/GIT_CACHE_DIR
2020-06-23 14:54:25 +02:00
d0f966734a
dist/tools: remove unneccessary redefinition of GITCACHE
2020-06-23 14:54:25 +02:00
Leandro Lanzieri
d90140e121
Merge pull request #13221 from miri64/tools/feat/pktbuf-parser
...
dist/tools: provide tool to parse `pktbuf` output
2020-06-23 13:50:36 +02:00
Martine S. Lenders
697f16eab7
dist/tools: provide tool to parse pktbuf
output
2020-06-23 11:12:33 +02:00
3332f7d643
dist/tools/flatc: configure cmake for out-of-source build
2020-06-19 14:23:49 +02:00
Francisco
315b97939f
Merge pull request #14246 from leandrolanzieri/pr/cpu_arch_to_cpu_core
...
cpu: Rename CPU_ARCH to CPU_CORE
2020-06-16 13:48:08 +02:00
Leandro Lanzieri
4d65bc8e0a
cpu: Rename CPU_ARCH to CPU_CORE
2020-06-16 12:05:40 +02:00
be5db69ea9
dist/tools/mosquitto_rsmb: fix stand-alone build
2020-06-15 09:53:46 +02:00
1ed0d659ed
Merge pull request #13320 from bergzand/pr/stdio/semihosting
...
stdio_semihosting: Initial include of Semihosting-based STDIO
2020-06-09 16:52:44 +02:00
aff18b9599
tools/openocd: add OPENOCD_DBG_EXTRA_CMD
2020-06-09 10:14:57 +02:00
Leandro Lanzieri
5ba7ef6d6f
dist/tools/kconfiglib: Add remove command to delete files
...
The 'remove' target removes the downloaded files from the tool.
2020-06-04 15:31:40 +02:00
0e1e0a5b6a
dist/tools/flatc: compile with ccache (if CCACHE is set)
2020-06-02 21:42:27 +02:00
Leandro Lanzieri
1783a56767
buildsystem_check: Add check for features provided
...
This checks that providing features for boards and CPUs is only being
done in Makefile.features.
2020-05-29 11:07:09 +02:00
Juergen Fitschen
0a4beec345
buildsystem_sanity_check: don't touch PSEUDOMODULES in Makefile.dep
2020-05-23 16:35:05 +02:00
eb9bf4b601
dist/tools/uncrustify: add ztimer files to whitelist
2020-05-07 14:59:13 +02:00
87b0c1d909
dist/tools/uncrustify: temporarily disable error on check failure
2020-05-07 13:57:09 +02:00
fda6ef6ac6
dist/tools/uncrustify/uncrustify.sh: fix uncrustify check logic
...
Previously, uncrustify.sh would fail (report uncrustifying necessary) if
there was any output of uncrustify. Turns out uncrustify sometimes
outputs something.
This commit changes the logic to use uncrustify's output value as
indicator.
Also, adds printing which file causes the check to fail.
2020-04-29 09:51:36 +02:00
e531bdbcec
Merge pull request #8519 from jia200x/uncrustify
...
uncrustify: add auto uncrustify with blacklist
2020-04-29 09:16:27 +02:00
Jose Alamos
bb7c7a7496
uncrustify: add core to whitelist
2020-04-28 12:35:26 +02:00
Jose Alamos
bf1e2431ac
ci/static_tests: call uncrustify check
2020-04-28 12:35:25 +02:00
Jose Alamos
9f1b2f2550
uncrustify: add CI check
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-04-28 12:35:25 +02:00
Leandro Lanzieri
8023aa3d47
dist/tools/kconfiglib: Add riot_kconfig to override default behaviours
...
This also patches menuconfig.py to use the new class. For now it
implements a version of _parse_help which removes Doxygen markers.
2020-04-27 12:29:40 +02:00
Martine Lenders
55a7010a0a
Merge pull request #13157 from nmeum/pr/fuzzing_tcp_only
...
Add AFL-based fuzzing setup for network modules
2020-04-18 10:54:14 +02:00
Sören Tempel
24468bead6
fuzzing: Initialize
...
This adds a new subdirectory called `fuzzing/` which will contain
applications for fuzzing various RIOT network modules in the future.
This subdirectory is heavily inspired by the `examples/` subdirectory.
The fuzzing applications use AFL as a fuzzer. Each application contains
Makefiles, source code, and an input corpus used by AFL to generate
input for fuzzing.
2020-04-17 17:11:15 +02:00
Benjamin Valentin
0943f867db
dist/tools: add sliptty to host-tools
2020-04-16 23:59:31 +02:00
benpicco
ecd266f3d3
Merge pull request #13801 from miri64/tools/fix/start_network-interface-init
...
dist/tools/*/start_network.sh: ensure TUN/TAP interface
2020-04-08 12:51:03 +02:00
1aa6ce901e
dist/tools: add bossa version for nrf52
2020-04-08 09:58:21 +02:00
Benjamin Valentin
079aea8775
sliptty/start_network.sh: fix with DHCPv6
...
The `start_network.sh` script creates a `${TUN}` interface, so
the `${TAP}` variable will always be empty.
This means start_dhcpd() will always fail as the DHCPv6 script is lacking
an interface.
2020-04-07 21:15:07 +02:00
Benjamin Valentin
0e4fa19bda
sliptty/start_network.sh: don't default to DHCPv6
...
DHCPv6 is enabled by the `-d` option.
It should not be enabled in absence of this option.
2020-04-07 20:12:53 +02:00
Leandro Lanzieri
d60295db3c
Merge pull request #13720 from aabadie/pr/native_no_export
...
native: only export NATIVEINCLUDES in vars.inc.mk
2020-04-07 12:55:45 +02:00
010aca2638
Merge pull request #13719 from aabadie/pr/boards/flash_export_remove
...
boards*: remove remaining uses of export with some openocd related variables
2020-04-07 11:58:28 +02:00
benpicco
f6eacda9f8
Merge pull request #13609 from miri64/dhcpv6-pd_ia/feat/initial
...
dhcpv6-pd_ia: initial import of a DHCPv6 server bootstrapper
2020-04-03 20:40:38 +02:00
Martine S. Lenders
0c51285b9b
dist/tools: provide DHCPv6 server support for network setup scripts
2020-04-03 17:47:39 +02:00
Martine S. Lenders
e6510cb89e
dhcpv6-pd_ia: initial import of a DHCPv6 server bootstrapper
2020-04-03 17:32:51 +02:00
Martine S. Lenders
d726af2cac
dist/tools/*/start_network.sh: ensure TUN/TAP interface
...
Previously, when the creation of the TUN/TAP interface failed in one of
the `start_network.sh` scripts, the script will fail with a cryptic
error like
> dist/tools/ethos/start_network.sh: 68: [: -eq: unexpected operator
This fix ensures, that the value of this variable checked is always set
such that in the error case, `ethos`/`sliptty` won't start.
2020-04-03 13:39:09 +02:00
Martine S. Lenders
e731397bae
dist/tools/tapsetup: fix deletion when UPLINK unset
2020-03-31 18:58:55 +02:00
Jose Alamos
e451570219
gnrc_netif: remove GNRC_NETIF_NUMOF macro
2020-03-26 11:12:23 +01:00
27811518a0
ci/buildsystem: ensure NATIVEINCLUDES is only exported in vars
2020-03-26 10:26:14 +01:00
405c0cfef5
makefiles/openocd: export OPENOCD_CMD_RESET_RUN only when required
2020-03-26 10:00:37 +01:00
0e86aae445
ci/buildsystem: ensure PRE_FLASH_CHECK_SCRIPT is not exported
2020-03-26 09:37:41 +01:00
08adbb283c
ci/buildsystem: ensure OPENOCD_PRE_FLASH_CMDS is not exported
2020-03-26 09:31:22 +01:00
4aa351c746
ci/buildsystem: ensure OPENOCD_PRE_VERIFY_CMDS is not exported
2020-03-26 09:31:21 +01:00
Thomas Stilwell
41ffaed583
dist/tools/ethos: fix typo for compiling baud rate 230400
2020-03-23 16:01:00 +01:00
7d0c475113
Merge pull request #13486 from bergzand/pr/suit/ietf_v3
...
SUIT: Update to draft-ietf-v3
2020-03-20 14:44:29 +01:00
Benjamin Valentin
ac3e996252
tapsetup: provide --uplink option
...
Add an --uplink option to tapsetup to bridge the tap-network with an
IPv6 enabled uplink interface, providing IPv6-WAN connectivity to native.
2020-03-20 14:12:43 +01:00
829f5920f0
flake8: move exception from SUITv4 to SUITv3
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-19 22:56:01 +01:00
009a317b14
dist/tools/suit_v3: Add ietf-v3 manifest generator
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-18 14:13:12 +01:00
8814e60fd4
Merge pull request #10482 from miri64/pyterm/enh/try-reconnect-on-error
...
pyterm: try to reconnect on SerialException during connect
2020-03-18 11:23:22 +01:00
Martine Lenders
34788abedf
Merge pull request #13618 from janosbrodbeck/pr/sliptty_shift_fix
...
sliptty/start_network.sh: fix if no argument is given
2020-03-11 19:07:27 +01:00
János Brodbeck
4cf4ac124f
sliptty/start_network.sh: fix if no argument is given
...
fix for 'shift: can't shift that many'
2020-03-11 16:47:00 +01:00
1e8037670b
Merge pull request #10420 from gschorcht/drivers_apds99xx
...
drivers: add driver for APDS99XX ambient light and proximity sensors
2020-03-11 16:27:53 +01:00
Martine Lenders
1aeae204c3
pyterm: return errno on OSError
2020-03-11 14:55:05 +01:00
Martine Lenders
7a9010fefa
pyterm: try to reconnect on SerialException during connect
...
This is what the user would do anyway.
2020-03-11 14:55:04 +01:00
Gunar Schorcht
bd3ccc4697
tools/codespell: ignore ALS (Ambient Light Sensing)
2020-03-11 14:21:47 +01:00
benpicco
d294e1d01c
Merge pull request #9572 from maribu/atmega-debug
...
On-Chip Debugging for AVR/ATmega based boards
2020-03-11 11:40:40 +01:00
Marian Buschsieweke
fa189c4c1d
dist/tools/avarice: Detect GDB automatically
...
While some users likely still use avr-gdb, more and more systems are starting
to use gdb-multiarch. In order to work in both cases, the script now just
checks which version is installed. (If both are installed, gdb-multiarch is
preferred.)
2020-03-11 10:51:40 +01:00
ad5b9d7faf
ci/buildsystem_check: force no export of JLINK_PRE_FLASH
2020-03-10 16:31:50 +01:00
5e85994abf
ci/buildsystem_check: force no export of JLINK_RESET_FILE
2020-03-10 16:30:57 +01:00
c586db5ae2
ci/buildsystem_check: ensure JLINK_IF is not exported
2020-03-10 16:29:20 +01:00
9c2e5c9b7c
ci/buildsystem_check: ensure JLINK_DEVICE is not exported
2020-03-10 16:28:26 +01:00
Marian Buschsieweke
edd93411fe
dist: De-duplicated AVR debug config & scripts
...
Use common debug.sh, debug_srv.sh and gdb.conf for all AVR boards.
2020-03-10 12:54:51 +01:00
980e06bcd6
ci/buildssytem: ensure PYOCD_ADAPTER_INIT is not exported
2020-03-08 15:12:44 +01:00
c27870face
ci/buildssytem: ensure FLASH_TARGET_TYPE is not exported
2020-03-08 15:12:44 +01:00
benpicco
2cc3d386fd
Merge pull request #13572 from miri64/sliptty/enh/global-addr
...
sliptty/start_network.sh: configure global address for SLIP interface
2020-03-08 15:04:45 +01:00
Martine S. Lenders
d43ff6df12
sliptty/start_network.sh: configure global address for SLIP interface
...
This way hosts without pre-configured IPv6 addresses can also reach
global addresses within a downstream network.
2020-03-06 11:45:05 +01:00
Martine S. Lenders
45ef9f9fe7
sliptty/start_network.sh: do not provide sliptty with -e argument
2020-03-06 11:44:42 +01:00
Martine S. Lenders
20ce69c361
sliptty/start_network.sh: add missing argument to usage
2020-03-06 11:39:37 +01:00
Benjamin Valentin
ed4d871835
dist/tools/cc2538-bsl: use upstream version
...
Automatically fetch the upstream version of cc2538-bsl.py instead
of maintaining our own fork of the tool.
fixes #13566
2020-03-06 11:13:21 +01:00
benpicco
0b1dce36ac
Merge pull request #10477 from miri64/sliptty/feat/initial
...
sliptty: introduce a new SLIP to TUN tool
2020-03-05 18:08:40 +01:00
Martine Lenders
917ba19b35
sliptty: introduce a new SLIP to TUN tool
2020-03-05 15:55:10 +01:00
Karl Fessel
563f4f6d9d
tools/backport_pr: Add Token Scope check
2020-03-04 14:30:12 +01:00
Kevin "Tristate Tom" Weiss
21395f0396
Merge pull request #13514 from benpicco/cc2538-bsl-fix
...
cc2538-bsl.py: fix ERROR: string argument without an encoding
2020-03-04 09:53:13 +01:00
ca3c256e49
Merge pull request #13430 from kaspar030/split_static_tests
...
dist: factor out static tests from build_and_test.sh
2020-03-03 18:41:25 +01:00
95d607b54d
Merge pull request #13480 from aabadie/pr/tools/openocd_export_variables
...
tools/openocd: export configuration variables only to required targets
2020-03-03 18:16:05 +01:00
f7bb189d3e
dist/tools/ci/static_tests.sh: tag base branch for Murdock
2020-03-03 14:38:13 +01:00
294b999d34
dist/tools/ci/static_tests.sh: fix shellcheck errors
2020-03-03 14:38:13 +01:00
a9768151dd
ci/buildssytem: ensure APPDEPS not exported
2020-03-03 14:19:55 +01:00
b27ae335af
ci/buildsystem_check: ensure OPENOCD_ADAPTER_INIT is not exported
2020-03-03 11:42:20 +01:00
39733a5c30
ci/buildsystem_check: ensure OPENOCD_RESET... is not exported
2020-03-03 11:42:19 +01:00
Benjamin Valentin
ffc28c4b0f
cc2538-bsl.py: fix python3 error
...
Fix the
ERROR: string argument without an encoding
error that would appear without `python3-magic` library installed.
2020-02-29 02:24:43 +01:00