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