drivers: lora: build with newlib

The loramac-node library uses math functions from math.h that
are not included in the minimal lib.
This commit changes the samples project config to always build
with newlib and adds a dependency to newlib.

Signed-off-by: Alexander Wachter <alexander@wachter.cloud>
This commit is contained in:
Alexander Wachter 2020-02-04 13:32:24 +01:00 committed by Maureen Helm
commit f590d4fadb
3 changed files with 3 additions and 0 deletions

View file

@ -8,6 +8,7 @@
menuconfig LORA
bool "LoRa support"
depends on NEWLIB_LIBC
help
Include LoRa drivers in the system configuration.

View file

@ -5,3 +5,4 @@ CONFIG_LORA=y
CONFIG_LORA_SX1276=y
CONFIG_PRINTK=y
CONFIG_COUNTER=y
CONFIG_NEWLIB_LIBC=y

View file

@ -5,3 +5,4 @@ CONFIG_LORA=y
CONFIG_LORA_SX1276=y
CONFIG_PRINTK=y
CONFIG_COUNTER=y
CONFIG_NEWLIB_LIBC=y