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

pkg/arduino_sdi_12: support the remote-revb board

Patch the library to use micros() for timing, when sending a command,
for boards not supported by the library.

Use cpp11-compat with the remote-revb board. This fixes the link error
"undefined reference to __dso_handle"
This commit is contained in:
J. David Ibáñez 2021-10-27 11:51:49 +02:00
parent f08c5da7aa
commit 3e73c5f6e3
3 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,7 @@
FEATURES_REQUIRED += periph_gpio_irq
USEMODULE += atmega_pcint
ifneq (,$(filter cpu_core_atmega,$(FEATURES_USED)))
USEMODULE += atmega_pcint
endif
USEPKG += arduino_api

View File

@ -1,10 +1,15 @@
include ../Makefile.tests_common
ifneq (,$(filter remote-revb,$(BOARD)))
USEMODULE += cpp11-compat
endif
USEPKG += arduino_sdi_12
BOARD_WHITELIST := \
arduino-leonardo \
arduino-mega2560 \
remote-revb \
#
include $(RIOTBASE)/Makefile.include