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

1193 Commits

Author SHA1 Message Date
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
Cenk Gündoğan
b65c6abad5
Merge pull request #14727 from leandrolanzieri/pr/kconfig/refactor_integration
makefiles/kconfig: refactor integration and add genconfig script
2020-08-10 12:17:29 +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
Martine S. Lenders
382cfee1de
riotctrl_shell: simplify error case for cord registration info parser 2020-08-06 17:02:32 +02:00
M Aiman Ismail
45546a711f riotctrl_shell: provide cord_ep interactions and parser 2020-08-06 13:51:13 +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
Martine Lenders
2ab65da409
Merge pull request #14519 from RIOT-OS/riotctrl_shell/fix/superflous-quotation-marks
riotctrl_shell.gnrc: remove superfluous quotation marks
2020-07-15 17:35:50 +02:00
José Alamos
90911f4bf9
Merge pull request #14510 from miri64/riotctrl.netif/bug/multi-iface-w-stats
riotctrl_shell.netif: fix for multiple interfaces with netstats
2020-07-15 15:23:46 +02:00
Martine Lenders
198eda14e6
riotctrl_shell.gnrc: remove superfluous quotation marks 2020-07-15 13:46:34 +02:00
Francisco
83396ac83c
Merge pull request #14486 from aabadie/pr/tools/pkg_clean_build_standalone
tools: build more tools with tools-buildtest
2020-07-15 11:22:26 +02:00
Martine Lenders
d968f16cc1 riotctrl_shell.netif: fix for multiple interfaces with netstats 2020-07-14 14:32:29 +02:00
Martine S. Lenders
92957e571f riotctrl_shell.tests: provide case for multiple interfaces with stats 2020-07-14 14:32:29 +02:00
5efbb97b5c
dist/testbed-support: remove iotlab wsn430 mapping
The boards were removed (EOL) and thus are no longer usable using IOTLAB_NODE
2020-07-10 16:49:08 +02: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
b05b2fddb9
Merge pull request #14484 from aabadie/pr/tools/bossa_factorize
tools/bossa: factorize Makefiles
2020-07-10 12:22:18 +02:00
09dbfd88be
dist/tools/bossa*: use common build Makefile 2020-07-10 11:56:11 +02:00
Martine S. Lenders
94c8b19d68
riotctrl_shell.gnrc: provide ipv6_nib interactions and parsers 2020-07-10 10:09:06 +02:00
4dc82bce70
Merge pull request #14462 from miri64/riotctrl_shell.gnrc/enh/compile-to-init
riotctrl_shell.gnrc: move compile object init to parser constructors
2020-07-09 21:32:16 +02:00
dcfe736b7c
Merge pull request #14479 from miri64/riotctrl_shell.netif/fix/non-str-set
riotctrl_shell.netif: allow for non str values with ifconfig_set()
2020-07-09 21:31:05 +02:00
Martine S. Lenders
b1a1bf1078
riotctrl_shell.netif: allow for non str values with ifconfig_set() 2020-07-09 15:43:02 +02:00
Martine S. Lenders
6c2d8f7a14
riotctrl_shell.tests: add regression test for non-str ifconfig_set() 2020-07-09 15:42:47 +02:00
79f26bd09e
Merge pull request #14460 from miri64/riotctrl_shell.netif/fix/check_term-decorator
riotctrl_shell.netif: add missing check_term decorator
2020-07-09 14:29:06 +02:00
Martine S. Lenders
c3e6d89bcb
riotctrl_shell.gnrc: move compile object init to parser constructors 2020-07-09 13:20:14 +02:00
0a86086967
Merge pull request #14468 from miri64/riotctrl_shell.gnrc/enh/doctests
riotctrl_shell.gnrc: add doctests as parsing examples and bugfixes
2020-07-09 13:12:58 +02:00
Martine S. Lenders
667ba11732
riotctrl_shell.gnrc: fix some more ping6 parsing errors
Found during integration of release tests:

- if the payload is too small, RTTs are not shown
- duplicates are now shown properly, if duplicates exist, the stats are
  now parsed instead of ignored
2020-07-09 13:03:08 +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
Martine S. Lenders
1cb0e09d88
tests: add capability to provide make command via environment
For those tests that don't use the tooling fixed in the previous commit
2020-07-09 10:59:01 +02:00
Martine S. Lenders
9b5b20e3b9
riotctrl_shell.gnrc: fix bug discovered by doctests 2020-07-08 17:48:25 +02:00
Martine S. Lenders
d5e3f8756e
riotctrl_shell.gnrc: add doctests as parsing examples 2020-07-08 17:47:56 +02:00
Martine S. Lenders
637c673e6a
riotctrl_shell.tests: rewrite Mock to detect missing check_term
`check_term` calls `run_term` of the `ctrl` if necessary.
2020-07-08 15:31:48 +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
b110f9e38c
riotctrl_shell.netif: add missing check_term decorator 2020-07-08 12:04:31 +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
Martine S. Lenders
f8d23b4745
riotctrl_shell: activate doctests for pytest 2020-07-07 12:24:42 +02:00
Martine S. Lenders
1182f24b25
riotctrl_shell: provide netif interactions and parsers 2020-07-07 12:24:41 +02:00
ffbc16aafd
riotctrl_shell: fix riotctrl url in requirements.txt 2020-07-06 15:29:50 +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
Martine S. Lenders
bf5d66757a
riotctrl_shell: remove unneeded variables and imports 2020-07-04 12:18:29 +02:00
0ddb539d97
Merge pull request #11406 from miri64/tools/enh/test-mixins
riotctrl_shell: initial import of shell interaction spawn
2020-07-03 22:06:05 +02:00
Martine S. Lenders
d11b5b2b54
riotctrl_shell: provide pktbuf interaction 2020-07-03 21:53:00 +02:00
Martine Lenders
98219e6746
riotctrl_shell: provide ping6 interaction 2020-07-03 21:53:00 +02:00
Martine Lenders
fa9deae489
riotctrl_shell: initial import of shell interaction riotctrl wrapper 2020-07-03 21:53:00 +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
Gunar Schorcht
7554abd8e2
Merge pull request #14392 from benpicco/esptool-python3_only
esptool.py: use Python3
2020-06-30 13:57:27 +02:00
Francisco Molina
d01476a661
dist/tools/openvisualizer: inital support 2020-06-30 13:10:56 +02:00
chrysn
250f6fdfa3 usb: Warn on test-ID usage in a unified location
This

* renames DEFAULT_xID to USB_xID_TESTING as it is not really a default
  (if anyting, the 7D00 is, and it's not that)
* moves the check into Makefile
* generalizes the check to all test PID/VID pairs
  * in doing so, fixes the "or" (which would have ruled out warning-free
    use of an allocated pid.codes number), and compares to the actual
    testing PID rather than the RIOT-peripheral PID
* removes all occurrences of duplicated checks in examples or tests,
  leaving definitions only where they are needed
* moves the Kconfig defaults of the usbus_minimal example into the main
  Kconfig, as these are good defaults for all cases when USB is enabled
  manually

Closes: https://github.com/RIOT-OS/RIOT/issues/12273
2020-06-30 10:51:36 +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