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

28146 Commits

Author SHA1 Message Date
Martine Lenders
6e27a8e4a7
Merge pull request #13734 from miri64/tests/enh/rdnss-option
tests: add test to test RDNSS option handling
2020-04-05 01:43:52 +02:00
Martine Lenders
f91f44109c
Merge pull request #13810 from benpicco/examples/gnrc_border_router-multi_zep
examples/gnrc_border_router: allow to configure more than one ZEP device
2020-04-05 01:29:31 +02:00
Martine Lenders
94edc5a4e6
tests: add test to test RDNSS option handling 2020-04-05 01:16:40 +02:00
Martine Lenders
5c95df3151
Merge pull request #13806 from benpicco/sys/net/dhcpv6-multiple_prefixes
sys/net/dhcpv6: fix requesting multiple prefixes
2020-04-05 01:14:27 +02:00
Benjamin Valentin
e83409b8c0 examples/gnrc_border_router: allow to configure more than one ZEP device
Native supports multiple ZEP devices, so add a config option for it to
gnrc_border_router.

This allows for easier testing of border routers with multiple interfaces.
2020-04-05 01:14:03 +02:00
Ken Bannister
127f8ca407
Merge pull request #13805 from benpicco/nanocoap_path
nanocoap: add convenience function for adding path elements
2020-04-04 12:50:16 -04:00
benpicco
e626c520d3
Merge pull request #13814 from gschorcht/cpu/esp32/temp_newlib_fix
tests/libc_newlib: blacklist esp32 boards temporarily
2020-04-04 18:23:40 +02:00
Benjamin Valentin
c8b2483de5 net/gcoap: make use of coap_opt_add_path() 2020-04-04 17:06:04 +02:00
Benjamin Valentin
1a4a5d4a9e nanocoap: add convenience function for adding path elements
Add a convenience function to make adding additional sub-path
options easier.
2020-04-04 17:06:04 +02:00
Gunar Schorcht
c7dd22efde tests/libc_newlib: blacklist esp32 boards temporarily
ESP32 boards must be blacklisted for `tests/libc_newlib` to avoid CI compilation errors until the toolchain is updated on all nodes.
2020-04-04 13:33:00 +02:00
benpicco
82e1a62bf4
Merge pull request #13807 from francois-berder/fix-buttons-test
tests: buttons: Fix build failure if BTN0_PIN is not declared
2020-04-03 23:38:16 +02:00
benpicco
c11764786b
Merge pull request #13808 from francois-berder/pic32-update-doc
boards: pic32*: Update documentation
2020-04-03 23:38:07 +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
Francois Berder
988763bf89 boards: pic32-wifire: Update UART implementation status in documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-03 19:20:14 +01:00
Francois Berder
932ba6d9f0 boards: pic32-clicker: Update UART implementation status in documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-03 19:20:14 +01:00
Francois Berder
d45196e28d tests: buttons: Fix build failure if BTN0_PIN is not declared
On some boards, button 0 does not exist so BTN0_PIN is not defined, but
these boards may define other buttons.

Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-03 18:48:13 +01:00
benpicco
b87be4bd6e
Merge pull request #13786 from benpicco/cpu/saml21/buck_converter
cpu/saml21: enable buck voltage regulator when possible
2020-04-03 18:12:05 +02:00
benpicco
c3f05e4fc1
Merge pull request #13799 from koos96/fatfs-get_fattime
pkg/fatfs: fix day_of_month value of get_fattime()
2020-04-03 17:51:03 +02:00
benpicco
750db2a910
Merge pull request #13788 from benpicco/drivers/at86rf215_shutdown_fix
drivers/at86rf215: return error when switching state while busy
2020-04-03 17:50:48 +02:00
Pekka Nikander
4534e9b773
cpu/cortexm_common: add irq sub-priorities
This commit enables Cortex-M CPU interrupt sub-priorities
and allows the PendSV interrupt to have a priority different
from the default one.  Together these two preprocessor
defines can be used to have PendSV always run as the last interrupt
before returning from the interrupt stack back to the user space.

Running PendSV as the last interrupt before returning to the
user space is recommended by ARM, as it increases efficiency.
Furthermore, that change enhances stability a lot with the
new nRF52 SoftDevice support, currently being worked in
PR #9473.

This commit merely enables sub-priorities and a separate
PendSV priority to be used without changing the default
RIOT behaviour.
2020-04-03 17:49:31 +02:00
Martine S. Lenders
58a2d13b01
CODEOWNERS: update for dhcpv6-pd_ia 2020-04-03 17:47:39 +02:00
Martine S. Lenders
74b34c2a03
examples: bootstrap host-side DHCPv6 server with gnrc_border_router 2020-04-03 17:47:39 +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
Dylan Laduranty
3b34768eaf
Merge pull request #13796 from benpicco/cpu/samd5x/dfll_no_ondemand
cpu/samd5x: don't run DFLL on-demand
2020-04-03 17:18:47 +02:00
Benjamin Valentin
0e5595cffd sys/net/dhcpv6: fix requesting multiple prefixes
There were two subtle bugs that prevented the DHCPv6 client to request
multiple prefixes for different interfaces.

 - `dhcpv6_client_req_ia_pd()` would fill up *all* leases with the same interface
 - `_parse_reply()` would return after parsing the first answer

With this patch, `gnrc_border_router` gets a prefix on both interfaces of the at86rf215.
2020-04-03 17:02:57 +02:00
Martine Lenders
942c63eb39
Merge pull request #13665 from leandrolanzieri/pr/dist/testrunner_check_unittests_fix_regex
dist/testrunner: Capture number of unittests that passed
2020-04-03 16:53:55 +02:00
Cenk Gündoğan
f1bf9693a6
Merge pull request #13803 from chrysn-pull-requests/uri-terminology-strictness
uri_parser: terminology strictness
2020-04-03 15:21:42 +02:00
Cenk Gündoğan
fca7548762
Merge pull request #13374 from leandrolanzieri/pr/kconfig_migrate/sys/usbus
sys/usbus: Expose configurations to Kconfig
2020-04-03 15:19:22 +02:00
Leandro Lanzieri
8ce1bcd4d0
tests: Use returned value of 'check_unittests' 2020-04-03 14:52:48 +02:00
Leandro Lanzieri
98fd746656
dist/testrunner: Capture number of unittests that passed 2020-04-03 14:52:48 +02:00
Leandro Lanzieri
06920a1f7a
sys/usbus: Expose configurations to Kconfig 2020-04-03 14:45:27 +02:00
Leandro Lanzieri
4d47921947
sys/usbus: Move USBUS_EP0_SIZE to 'CONFIG_' namespace 2020-04-03 14:45:26 +02:00
Leandro Lanzieri
7bd5f86bdd
sys/usbus: Move USBUS_AUTO_ATTACH to 'CONFIG_' namespace
In code now 'IS_ACTIVE' is used to check for this configuration.
2020-04-03 14:45:25 +02:00
chrysn
7f67077338 uri_parser: Document that fragment identifiers are not handled 2020-04-03 14:32:55 +02:00
chrysn
6991f62338 uri_parser: Differentiate between URI and URI reference in documentation 2020-04-03 14:30:38 +02:00
Martine Lenders
d00bde7750
Merge pull request #13789 from cgundogan/pr/uri_parser/remove_check_for_zero
sys/uri_parser: check for uri_end instead of 0
2020-04-03 13:13:18 +02:00
Benjamin Valentin
46544c5d7a drivers/at86rf215: add comment to _tx_ongoing() 2020-04-03 12:48:52 +02:00
Koos
b34b11a0c6 pkg/fatfs: fix day_of_month value of get_fattime() 2020-04-03 11:27:10 +02:00
5e0d5d3302
Merge pull request #13774 from fjmolinas/pr_dependencie_debug_cpu_arch
makefiles/dependencies_debug.inc.mk: add CPU_ARCH
2020-04-03 09:40:59 +02:00
benpicco
0c7612673b
Merge pull request #13793 from ML-PA-Consulting-GmbH/make_riotboot_external_boards
riotboot: forward BOARDSDIR
2020-04-03 09:35:50 +02:00
Francisco Molina
abff884165
makefiles/info-global.inc.mk: undefine CPU_ARCH and CPU_FAM
Undefine variables that shouldnt be set at the start of resolution
and that might be used in dependency resolution.
2020-04-03 09:17:23 +02:00
Francisco Molina
b290b0d0c5
makefiles/dependencies_debug.inc.mk: add CPU_ARCH 2020-04-03 09:17:23 +02:00
Francisco
d4580b4c36
Merge pull request #13750 from benpicco/drivers/at86rf215_fix_wakeup
drivers/at86rf215: fix reset after deep sleep
2020-04-03 09:04:51 +02:00
benpicco
fdaf1ac6fe
Merge pull request #13795 from francois-berder/pic32-saul
boards: pic32*: Add GPIO SAUL configuration
2020-04-02 21:28:38 +02:00
Benjamin Valentin
49fda3e900 cpu/samd5x: don't run DFLL on-demand
The DFLL on samd5x has a hardware bug that requires a special
re-enabling sequence when it is disabled and then re-enabled again.

When running the clock on-demand, the hardware handles the disabling
and re-enabling so that sequence does not get executed.

To reproduce, run `tests/periph_uart` on `same54-xpro`.

Without this patch the test will get seemingly stuck on `sleep_test()`.
(In fact it keeps running, but the DFLL has the wrong frequency so the
UART baudrate is wrong).

In this test, on `same54-xpro` only UART0 is sourced from DFLL.
So if the UART is disabled the DFLL will be turned off as well.
2020-04-02 20:11:41 +02:00
Benjamin Valentin
09ef2f6908 boards/samr34-xpro: enable buck converter 2020-04-02 17:25:16 +02:00
Benjamin Valentin
a102ad3d3d boards/saml21-xpro: enable buck converter 2020-04-02 17:25:16 +02:00
Benjamin Valentin
f037e06b13 cpu/saml21: enable buck voltage regulator when possible
Switch from the on-chip LDO to the on-chip buck voltage regulator
when not fast internal oscillators are used.

On `saml21-xpro` with `examples/default` this gives

**before:** 750 µA
** after:** 385 µA
2020-04-02 17:25:16 +02:00
Benjamin Valentin
3f95d3d2e3 cpu/saml21: pm: set deep flag
Set the deep flag for consistency with other family members.
2020-04-02 17:25:13 +02:00