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

20413 Commits

Author SHA1 Message Date
Kevin "Bear Puncher" Weiss
d7c826f365
Merge pull request #10585 from aabadie/pr/boards/microbit_upload_typo
boards/microbit: fix typo in flash script
2018-12-11 11:47:40 +01:00
404e7f9cb3
Merge pull request #10586 from haukepetersen/opt_clist_doc
core/clist: add missing function to table in doc
2018-12-11 11:46:26 +01:00
Hauke Petersen
0e4f5bf894 core/clist: add missing function to table in doc 2018-12-11 11:15:18 +01:00
104bb525c9 boards/microbit: fix typo in flash script 2018-12-11 11:10:53 +01:00
Juan I Carrano
c644110bdb
Merge pull request #10573 from cladmi/pr/tests/compile_tests_in_docker
tests: compile-tests should only be executed in building machine
2018-12-10 15:46:23 +01:00
José Alamos
970bec1d1b
Merge pull request #10233 from miri64/gnrc_ipv6/enh/assume-no-preparsed-pkt
gnrc_ipv6: assume no preparsed packets
2018-12-10 14:21:17 +01:00
Sebastian Meiling
7f1436536e
Merge pull request #10561 from MrKevinWeiss/pr/adduarttofrdmk22f
boards/frdm-k22f: Add second UART to config
2018-12-10 09:35:58 +01:00
Gaëtan Harter
5a2609c573
Merge pull request #10439 from jcarrano/ensure-value
makefile/utils: Add a function for checking that a string is not empty.
2018-12-07 19:17:37 +01:00
Gaëtan Harter
cd35eddada
Merge pull request #10344 from jcarrano/makefile.include-cannot-be-made
Makefile.include: remove rule to remake PKGs' Makefile.include
2018-12-07 18:33:49 +01:00
Gaëtan Harter
9d252a883e tests/build_system_utils: add test for build system utilities
This will allow testing the build system 'utils' functions.
2018-12-07 18:19:38 +01:00
Juan Carrano
f466171053 makefiles/utils: add tests for checks.mk.
make -f test-checks.mk test-ensure_value should succeed, while
make -f test-checks.mk test-ensure_value-negative should fail.
2018-12-07 18:19:38 +01:00
Juan Carrano
547d9f0802 makefiles/utils: Add a function for checking that a string is not empty.
A call to `$(ensure_value x,y)` will fail with message y if x is empty, and
otherwise return x. This can be useto write more compact makefiles, while still
producing friendly error messages.
2018-12-07 18:19:34 +01:00
Juan Carrano
8945a9513e Makefile.include: remove rule to remake PKGs' Makefile.include
This rule is not being used, it complicates the makefile and causes
make clean to permform unnecessary actions.

All packages have a Makefile.include, so the rule is not needed anyways.
Also, it is defined with a double colon for no reason.
2018-12-07 17:49:22 +01:00
Kevin "Bear Puncher" Weiss
35626eda50
Merge pull request #10270 from cladmi/pr/make/pre_post_include
Makefile.include: allow specifying makefiles to be parsed
2018-12-07 17:42:21 +01:00
Gaëtan Harter
58bcde876a
tests/cortexm_common_ldscript: only execute compile-tests in docker
Without the protection, the host system also tries to execute the tests.
2018-12-07 17:41:57 +01:00
Gaëtan Harter
4dd6eb3e5b
tests/libc_newlib: only execute compile-test in docker
Without the protection, the host system also tries to execute the tests.
2018-12-07 17:41:57 +01:00
Gaëtan Harter
aea71dc309
tests/libc_newlib: verify the file exist before testing
If the file does not exist, because of concurrency issues, there is no
error. So verify it is there for good measures.
2018-12-07 17:41:57 +01:00
Gaëtan Harter
e47fea7bf5
doc/advanced-build-system-tricks.md: add a doc for new variables
Add a documentation page for advanced low level tricks.
Document the `RIOT_MAKEFILES_GLOBAL_PRE` and
`RIOT_MAKEFILES_GLOBAL_POST`.

I could not work around to have `$(RIOTBASE)/Makefile.include` in the
doc as the `$()` part was removed, so I kept with `$RIOTBASE` for now.
2018-12-07 17:05:51 +01:00
Juan I Carrano
d505b01d71
Merge pull request #10568 from smlng/pr/make/docker
makefiles/docker: fix mounting localtime on OSX
2018-12-07 15:52:17 +01:00
Hauke Petersen
a24f669c4c
Merge pull request #10521 from miri64/gnrc_sixlowpan_iphc/fix/non-ieee802154-support
gnrc_sixlowpan_iphc: allow address compression for non-IEEE802.15.4
2018-12-07 14:58:13 +01:00
Juan I Carrano
744edf3b96
Merge pull request #10570 from dylad/pr/update_edbg
dist/tools/edbg: update to lastest version
2018-12-07 14:45:45 +01:00
Hauke Petersen
bdc1b89c93
Merge pull request #10520 from miri64/gnrc_netif_hdr/enh/conv-iid-getter
gnrc_netif_hdr: provide wrappers for gnrc_netif_ipv6_iid_from_addr()
2018-12-07 14:37:07 +01:00
Sebastian Meiling
cae865e71e make/docker: adapt mount of localtime
Mounting `/etc/localtime` directly does not work on macOS (anymore).
However, by resolving the symlink to its real path docker can handle
the mount.
2018-12-07 14:00:19 +01:00
Martine Lenders
a7e3791f3b gnrc_sixlowpan_iphc: allow address compression for non-IEEE802.15.4 2018-12-07 13:03:40 +01:00
Martine Lenders
4d4e96f9f9 gnrc_netif_hdr: provide wrappers for gnrc_netif_ipv6_iid_from_addr()
For convenience ;-).
2018-12-07 12:59:37 +01:00
Dylan Laduranty
f01bc4dc1d dist/tools/edbg: update to lastest version
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2018-12-07 10:49:38 +01:00
Hauke Petersen
e8535f23a2
Merge pull request #10567 from haukepetersen/add_eui48
net: add eui48 type including IPv6 IID conversion funcs
2018-12-06 22:38:02 +01:00
Hauke Petersen
bd4893277e net/ethernet: remove get_iid() function
the fuctionality was moved into eui48_to_ipv6_iid()
2018-12-06 22:02:01 +01:00
Hauke Petersen
c8aaea4288 drivers/netdev_eth: use eui48 for IID generation 2018-12-06 22:02:01 +01:00
Hauke Petersen
ec37ff5825 gnrc/netif: use eui48_x() for IID handling 2018-12-06 22:02:01 +01:00
Hauke Petersen
f5355ba36e net: add generic EUI-48 header 2018-12-06 22:02:01 +01:00
Martine Lenders
eead6066dd
Merge pull request #10565 from haukepetersen/fix_gnrc_netifinternalvoiddefs
gnrc/netif/internal: fix copy-paste error
2018-12-06 19:30:21 +01:00
Martine Lenders
be7e42a888
Merge pull request #10562 from miri64/gnrc_ipv6/fix/hl0
gnrc_ipv6: fix hop-limit == 0 case
2018-12-06 18:54:53 +01:00
Hauke Petersen
fe7fba7674 gnrc/netif/internal: fix copy-paste error
the names for iid_from_addr and iid_to_addr functions in the
else-block were switched around, so this fixes that
2018-12-06 17:16:23 +01:00
Martine Lenders
3fde0ef8f8 gnrc_ipv6: remove special handling for encapsulated IPv6 headers
Since the packet is now guaranteed to be preparsed, the currently
handled IPv6 header will always be in the first snip. Because of this
the packet parser can't get confused anymore which IPv6 header is the
one to be handled so we don't need to remove the more outer ones.
Because of this we can just use the normal packet dispatching (which is
already used by other `GNRC_NETTYPE_*`-known protocol numbers such as
UDP).

This also reverts d54ac38f84.
2018-12-06 16:22:32 +01:00
Martine Lenders
2b280f867e tests/gnrc_ipv6_ext: remove test for parsed packet reception 2018-12-06 16:22:31 +01:00
Martine Lenders
4befe0b5e2 gnrc_ipv6: assume no preparsed packets 2018-12-06 16:22:31 +01:00
Martine Lenders
9bb458dac1
Merge pull request #10229 from miri64/gnrc_ipv6_ext/enh/shortcut-forward
gnrc_ipv6_ext: use send for forwarding with RH
2018-12-06 16:17:50 +01:00
Hauke Petersen
92fcb4de6a
Merge pull request #10513 from miri64/gnrc_netif/enh/iid-conversion
gnrc_netif: add general IID to/from l2addr conversion functions
2018-12-06 15:57:06 +01:00
Martine Lenders
f757376fc6 tests/gnrc_sock_udp: mark arduino-atmega2560 for insufficient memory 2018-12-06 15:39:00 +01:00
Hauke Petersen
1b1802aaf6
Merge pull request #10469 from miri64/gnrc_ndp/enh/rtr-wo-arsm
gnrc_ndp: make compilable for router without ARSM
2018-12-06 15:38:38 +01:00
Juan I Carrano
a38cb6c63e
Merge pull request #10461 from cladmi/pr/make/clean_all_docker_container
Makefile.include: building in docker should be done after clean
2018-12-06 15:36:25 +01:00
Martine Lenders
bc7d083094 gnrc_ipv6: fix hop-limit == 0 case 2018-12-06 15:34:06 +01:00
Gaëtan Harter
efddd4aef9
Makefile.include: allow specifying makefiles to be parsed
This allows specifying a list of files that should be parsed by make at
the beginning and at the end of Makefile.include.

It is a generic mechanism to allow specifying system wide configuration:

* Globally overwrite the 'TERMPROG'
* Specify a hard written port / debug_adapter_id for some BOARD values
* Define you own specific targets
* Override default targets

It can include file before and after Makefile.include to allow handling
different configurations.
2018-12-06 14:49:34 +01:00
Martine Lenders
b530c1bb94 gnrc_ipv6_ext: use send for forwarding with RH
Though this change might seem more complicated, it has the benefit, that
after #9484 we don't have to assume that a received packet within IPv6's
receive function can be handed to the function pre-parsed, making that
function far less complicated (will be provided in a future PR).

Also this might give the forwarding via routing header a little
performance boost, as we now don't *receive* the packet first only to
forward it later-on.
2018-12-06 14:47:46 +01:00
MrKevinWeiss
97e84f816c boards/frdm-k22f: Add second UART to config
This PR adds a second uart on two non-conflicting pins.
Since the first UART is used for shell this allows a usable UART.
2018-12-06 14:45:45 +01:00
Martine Lenders
bc1b490086 gnrc_ipv6_nib: gnrc_netif_iid_to_addr() instead of _reverse_iid() 2018-12-06 14:41:30 +01:00
Martine Lenders
a44f7f7b38 gnrc_netif: use general IID conversion function for netif-based 2018-12-06 14:41:30 +01:00
Martine Lenders
5ca30b9b03 gnrc_netif: add general IID to/from l2addr conversion functions
They are required to make GNRC's 6Lo IPHC implementation ready for
hardware addresses other than IEEE 802.15.4's.
2018-12-06 14:41:30 +01:00
Leandro Lanzieri
b6abbad6fb
Merge pull request #10553 from aabadie/pr/boards/feature_periph_irq_missing
boards/{firefly,samr30-xpro}: add missing `periph_gpio_irq` provided feature
2018-12-06 13:11:36 +01:00