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

1045 Commits

Author SHA1 Message Date
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
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
Leandro Lanzieri
fe09fd3502
Merge pull request #13891 from miri64/testrunner/fix/SIGKILL-last-resort
testrunner: use SIGKILL only as last resort
2020-04-28 20:15:00 +02:00
Martine S. Lenders
aee9f09386
testrunner: use SIGKILL only as last resort
When the child has a clean-up step (closing files, killing
sub-processes, deleting operational files, etc.), this currently is not
executed by the test, as the `testrunner` just does a hard `SIGKILL`
for the child's PPID. This change makes this a `SIGTERM` and only uses
`SIGKILL` if there are still processes lingering a second after the
`SIGTERM`.
2020-04-28 19:42:07 +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
Leandro Lanzieri
98fd746656
dist/testrunner: Capture number of unittests that passed 2020-04-03 14:52:48 +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
39ea73d48d
dist/testbed-support: use BINFILE for flashing on iotlab
This is a new feature in cli-tools v3 and is supported by all boards except wsn430 and firefly
2020-03-24 13:25:25 +01:00
Martine Lenders
522de7df5a
Merge pull request #13689 from benpicco/ethos_fix
dist/tools/ethos: fix typo for compiling baud rate 230400
2020-03-23 16:40:03 +01:00
Thomas Stilwell
41ffaed583 dist/tools/ethos: fix typo for compiling baud rate 230400 2020-03-23 16:01:00 +01:00
d18b77f6e5
dist/testbed-support: fix firefly board mapping 2020-03-23 10:21:54 +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
fb643b348b
dist/testrunner: add common function to check unittests 2020-03-19 10:39:33 +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
Francisco
efb113696d
Merge pull request #12304 from aabadie/pr/boards/arduino-mkr_stdio
boards/arduino-mkr: feather-m0: sodaq-*: provide stdio over USB and setup automatic flash with bossa
2020-03-18 11:24:17 +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
a91c4bf7e6
dist/testrunner: add optional delay before opening serial
This option is null by default but is useful when used with boards exposing their stdio over USB
2020-03-18 10:53:17 +01:00
Francisco Molina
a31003a23c
tests: add interactive_sync adapted to shell 2020-03-17 17:23:27 +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