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

pkg/arduino_api: add new package

From https://github.com/arduino/ArduinoCore-API

Required by pkg/arduino_sdi_12
Improves compatibility with Arduino
This commit is contained in:
J. David Ibáñez 2021-10-28 16:16:45 +02:00
parent a651315fbe
commit d70ffc69fb
6 changed files with 25 additions and 0 deletions

4
pkg/arduino_api/Kconfig Normal file
View File

@ -0,0 +1,4 @@
config PACKAGE_ARDUINO_API
bool "Arduino API package"
depends on TEST_KCONFIG
depends on MODULE_ARDUINO

11
pkg/arduino_api/Makefile Normal file
View File

@ -0,0 +1,11 @@
PKG_NAME=arduino_api
PKG_URL=https://github.com/arduino/ArduinoCore-API
PKG_VERSION=e03b65374c614130aa1b11597e07b3b5089a726d
PKG_LICENSE=LGPL-2.1
GITAMFLAGS = --3way
include $(RIOTBASE)/pkg/pkg.mk
all:
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/api -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)

View File

@ -0,0 +1 @@
USEMODULE += arduino

View File

@ -0,0 +1,3 @@
INCLUDES += -I$(PKGDIRBASE)/arduino_api/api
CXXEXFLAGS += -std=c++11

6
pkg/arduino_api/doc.txt Normal file
View File

@ -0,0 +1,6 @@
/**
* @defgroup pkg_arduino_api Hardware independent layer of the Arduino cores
* @ingroup pkg
* @brief Hardware independent layer of the Arduino cores
* @see https://github.com/arduino/ArduinoCore-API
*/