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:
parent
a651315fbe
commit
d70ffc69fb
4
pkg/arduino_api/Kconfig
Normal file
4
pkg/arduino_api/Kconfig
Normal 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
11
pkg/arduino_api/Makefile
Normal 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)
|
1
pkg/arduino_api/Makefile.dep
Normal file
1
pkg/arduino_api/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
USEMODULE += arduino
|
3
pkg/arduino_api/Makefile.include
Normal file
3
pkg/arduino_api/Makefile.include
Normal file
@ -0,0 +1,3 @@
|
||||
INCLUDES += -I$(PKGDIRBASE)/arduino_api/api
|
||||
|
||||
CXXEXFLAGS += -std=c++11
|
6
pkg/arduino_api/doc.txt
Normal file
6
pkg/arduino_api/doc.txt
Normal 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
|
||||
*/
|
BIN
pkg/arduino_api/patches/0001-Chages-for-RIOT-integration.patch
Normal file
BIN
pkg/arduino_api/patches/0001-Chages-for-RIOT-integration.patch
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user