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`.
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
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
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.