diff --git a/drivers/Kconfig.net b/drivers/Kconfig.net index 973d928b92..f2013853ea 100644 --- a/drivers/Kconfig.net +++ b/drivers/Kconfig.net @@ -14,6 +14,7 @@ rsource "cc110x/Kconfig" rsource "dose/Kconfig" rsource "mrf24j40/Kconfig" rsource "pn532/Kconfig" +rsource "slipdev/Kconfig" source "$(RIOTCPU)/nrf52/radio/nrf802154/Kconfig" endmenu # Network Device Drivers diff --git a/drivers/include/slipdev.h b/drivers/include/slipdev.h index 787d599072..1e304cd1a6 100644 --- a/drivers/include/slipdev.h +++ b/drivers/include/slipdev.h @@ -45,6 +45,10 @@ extern "C" { * * @pre Needs to be power of two and `<= INT_MAX` */ +#ifdef CONFIG_SLIPDEV_BUFSIZE_EXP +#define CONFIG_SLIPDEV_BUFSIZE (1<