239e0806b8
examples/default: add arduino-nano-33-ble to netif list
2020-04-08 09:59:22 +02:00
1f9ff9e767
makefiles/bossa: only use ROM_OFFSET with version 1.9
2020-04-08 09:58:21 +02:00
1aa6ce901e
dist/tools: add bossa version for nrf52
2020-04-08 09:58:21 +02:00
6d38a232d3
boards/arduino-nano-33-ble: initial support
2020-04-08 09:58:21 +02:00
75c6c389d0
Merge pull request #13276 from aabadie/pr/boards/adafruit-clue
...
boards/adafruit-clue: add initial support
2020-04-08 09:50:05 +02:00
04f890fa8b
tests: handle cases for bootloader_nrfutil blacklist
2020-04-08 09:35:08 +02:00
a12aeca9df
makefiles/stdio: handle case for bootloader_nrfutil blacklist
2020-04-08 09:35:08 +02:00
96cf9ac754
examples/default: add adafruit-clue to netif boards
2020-04-08 09:35:08 +02:00
6ba3b8b023
boards/adafruit-clue: add initial support
2020-04-08 09:35:08 +02:00
ebd1e8f016
makefiles/tools: add support for nrfutil
2020-04-08 09:35:08 +02:00
Leandro Lanzieri
56dc53a486
Merge pull request #13829 from kb2ma/nanocoap/remove_query_add_opts
...
net/nanocoap: remove obsolete functions for addition of Uri-Query option
2020-04-08 09:20:04 +02:00
Benjamin Valentin
f198d689be
gnrc_dhcpv6_client: fix for SLIP link-layer
...
In a point-to-point serial connection, we don't have L2 addresses.
Set the link type & packet length accordingly and we will get a
prefix from KEA.
2020-04-07 22:08:57 +02:00
Martine Lenders
7e329189f0
Merge pull request #13832 from benpicco/dist/tools/sliptty-fix
...
sliptty/start_network.sh: fix with DHCPv6
2020-04-07 21:57:23 +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
Martine Lenders
d8045abdb6
Merge pull request #13830 from benpicco/dist/tools/sliptty-fix
...
sliptty/start_network.sh: don't default to DHCPv6
2020-04-07 20:42:14 +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
Ken Bannister
1ff78879ff
net/nanocoap: remove obsolete functions to add Uri-Query option
2020-04-07 12:17:41 -04:00
Leandro Lanzieri
bc8bee4b17
Merge pull request #13714 from aabadie/pr/boards/stm32l4_common_clock
...
boards/stm32l4: add common clock configuration
2020-04-07 18:08:44 +02:00
Sören Tempel
65c7bbf76d
gnrc_sock: Implement termination condition for fuzzing
...
The termination condition implemented in gnrc_pktbuf_malloc does not
work when using the sock interface as sock copies packet data to a local
buffer and frees the packet afterwards. As such, the fuzzing application
would exit before performing any input processing.
For this reason, the termination condition in gnrc_pktbuf_malloc is
disabled when using sock. Instead, the application terminates if
gnrc_sock_recv previously returned the fuzzing packet. The underlying
assumption of this implementation is that gnrc_sock_recv is called in a
loop.
2020-04-07 17:48:39 +02:00
Sören Tempel
e0570181e4
gnrc_pktbuf_malloc: Terminate when fuzzing packet is freed
...
Since RIOT is an operating system the native binary will never terminate
[0]. The termination condition for fuzzing GNRC is that the packet was
handled by the network stack and therefore freed. If it is never freed
we will deadlock meaning a memory leak was found, afl should be able to
detect this through timeouts.
This is currently only supported for gnrc_pktbuf_malloc since this is
the pktbuf implementation I used for fuzzing. Implementing this in
pktbuf.h is not possible.
[0]: Except NATIVE_AUTO_EXIT is defined, however, even with that define
set RIOT will only terminate when all threads terminated. Unfortunately,
gnrc_udp and other network threads will never terminate.
2020-04-07 17:48:39 +02:00
Sören Tempel
9e72f717e0
sys/fuzzing: Initialize
...
This adds a utility module which is used to write applications for
fuzzing RIOT network modules. The module provides a dummy network
interface which is configured with a static IPv6 addresses for modules
which perform operations on the underlying network interface. Besides,
it contains a utility function for transforming data received on
standard input into a `gnrc_pktsnip_t`.
2020-04-07 17:48:39 +02:00
9cc338d29e
boards/nucleo-l4*: use shared clock configuration
2020-04-07 17:42:56 +02:00
73615d690d
boards/stm32l4: introduce common clock configuration
2020-04-07 17:42:56 +02:00
Leandro Lanzieri
0137a06896
net/nanocoap: Expose configurations to Kconfig
2020-04-07 17:00:55 +02:00
Leandro Lanzieri
e80dcf2d8b
net/application_layer: Add Kconfig file and CoAP menu
2020-04-07 17:00:54 +02:00
Leandro Lanzieri
b6be8af81c
net/nanocoap: Move NANOCOAP_QS_MAX to 'CONFIG_' namespace
2020-04-07 17:00:53 +02:00
Leandro Lanzieri
2f72189aa2
net/nanocoap: Move NANOCOAP_BLOCK_SIZE_EXP_MAX to 'CONFIG_' namespace
2020-04-07 17:00:53 +02:00
Leandro Lanzieri
4052c01e85
net/nanocoap: Move NANOCOAP_URI_MAX to 'CONFIG_' namespace
2020-04-07 17:00:53 +02:00
Leandro Lanzieri
c84576ef6e
net/nanocoap: Move NANOCOAP_NOPTS_MAX to 'CONFIG_' namespace
2020-04-07 17:00:52 +02:00
Francisco
dbacca18c1
Merge pull request #12663 from aabadie/pr/cpu/fe310_watchdog
...
cpu/fe310: implement driver for watchdog
2020-04-07 16:51:58 +02:00
Francisco
7739b40797
Merge pull request #12974 from leandrolanzieri/pr/kconfig_migrate/wakaama
...
Kconfig: Expose pkg/wakaama configurations
2020-04-07 16:51:41 +02:00
Leandro Lanzieri
ca17f0a6dd
examples/wakaama: Improve README
2020-04-07 16:29:01 +02:00
Leandro Lanzieri
e5729ae527
Kconfig: Expose pkg/wakaama configurations
2020-04-07 16:29:00 +02:00
Leandro Lanzieri
a3f9b2b5b4
pkg/wakaama: Move LWM2M_TLSF_BUFFER to 'CONFIG_' namespace
2020-04-07 16:29:00 +02:00
Leandro Lanzieri
d6b4cde03e
pkg/wakaama: Move client mode flag to package
...
As the only implementation available in RIOT of LwM2M is the client, it
makes no sense to set this flag in every application.
2020-04-07 16:28:59 +02:00
Leandro Lanzieri
e2325ddba4
examples/wakaama: Configure server only if not set by Kconfig
2020-04-07 16:28:59 +02:00
Leandro Lanzieri
c392a4ad34
pkg/wakaama: Move configurations to 'CONFIG_' namespace
...
Macros that changed:
LWM2M_STANDARD_PORT -> CONFIG_LWM2M_STANDARD_PORT
LWM2M_DTLS_PORT -> CONFIG_LWM2M_DTLS_PORT
LWM2M_BSSERVER_PORT -> CONFIG_LWM2M_BSSERVER_PORT
LWM2M_LOCAL_PORT -> CONFIG_LWM2M_LOCAL_PORT
LWM2M_DEVICE_NAME -> CONFIG_LWM2M_DEVICE_NAME
LWM2M_DEVICE_TTL -> CONFIG_LWM2M_DEVICE_TTL
LWM2M_SERVER_URI -> CONFIG_LWM2M_SERVER_URI
LWM2M_SERVER_ID -> CONFIG_LWM2M_SERVER_ID
LWM2M_ALT_PATH -> CONFIG_LWM2M_ALT_PATH
LWM2M_BOOTSTRAP -> CONFIG_LWM2M_BOOTSTRAP
LWM2M_DEVICE_MANUFACTURER -> CONFIG_LWM2M_DEVICE_MANUFACTURER
LWM2M_DEVICE_MODEL -> CONFIG_LWM2M_DEVICE_MODEL
LWM2M_DEVICE_SERIAL -> CONFIG_LWM2M_DEVICE_SERIAL
LWM2M_DEVICE_FW_VERSION -> CONFIG_LWM2M_DEVICE_FW_VERSION
LWM2M_DEVICE_BINDINGS -> CONFIG_LWM2M_DEVICE_BINDINGS
LWM2M_DEVICE_TYPE -> CONFIG_LWM2M_DEVICE_TYPE
LWM2M_DEVICE_HW_VERSION -> CONFIG_LWM2M_DEVICE_HW_VERSION
LWM2M_DEVICE_SW_VERSION -> CONFIG_LWM2M_DEVICE_SW_VERSION
LWM2M_WITH_LOGS -> CONFIG_LWM2M_WITH_LOGS
2020-04-07 16:28:55 +02:00
c81c8ed104
Merge pull request #13375 from leandrolanzieri/pr/kconfig_migrate/sys/usbus_cdc
...
usbus/cdc/acm: Expose configurations to Kconfig
2020-04-07 15:00:36 +02:00
Martine Lenders
882f106252
Merge pull request #13828 from miri64/examples/fix/br-64-bit-prefix-with-UHCP
...
examples/gnrc_border_router: use 64-bit prefix with UHCP
2020-04-07 14:38:13 +02:00
ee3fc27e96
cpu/fe310: implement driver for watchdog
2020-04-07 14:37:55 +02:00
Leandro Lanzieri
934bede70e
usbus/cdc/acm: Expose configurations to Kconfig
2020-04-07 14:34:57 +02:00
Leandro Lanzieri
51c4f119a5
usbus/cdc/acm: Move USBUS_CDC_ACM_BULK_EP_SIZE to 'CONFIG_' namespace
2020-04-07 14:34:56 +02:00
Leandro Lanzieri
cd3ac726d9
usbus/cdc/acm: Move USBUS_CDC_ACM_STDIO_BUF_SIZE to 'CONFIG_' namespace
2020-04-07 14:34:52 +02:00
Martine Lenders
fc5704d814
examples/gnrc_border_router: use 64-bit prefix with UHCP
2020-04-07 14:28:16 +02:00
Sören Tempel
d7104e4992
makefiles/toolchain: add support for afl
2020-04-07 14:24:10 +02:00
067b324645
Merge pull request #11945 from benpicco/EEPROM-m95m01
...
drivers: add driver for AT25xxx family of EEPROMs
2020-04-07 13:19:21 +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
Ken Bannister
b32fcd28d1
Merge pull request #13815 from kb2ma/nanocoap/add_canonical_uri_query
...
net/gcoap: add canonical uri query function names
2020-04-07 06:32:13 -04:00
Benjamin Valentin
5ef52c7dc2
tests: add test for at25xxx EEPROM driver
2020-04-07 12:31:46 +02:00
Benjamin Valentin
97fc2f2af1
drivers: add AT25xxx series EEPROM
...
This adds a driver for the ST M95xxx series SPI EEPROMs.
The driver has been tested with the M95M01 EEPROM, but should
work with other chips from that family.
SPI-EEPROMs from other vendors from the families AT25xxx, 25AAxxx,
25LCxxx, CAT25xxx & BR25Sxxx should also in the same way.
2020-04-07 12:31:46 +02:00