Enable Adafruit_BusIO as ESP-IDF component support
Enables Adafruit_BusIO as ESP-IDF component support (with Arduino as component)
This commit is contained in:
parent
69b929d400
commit
b830b3c3d7
2 changed files with 12 additions and 0 deletions
11
CMakeLists.txt
Normal file
11
CMakeLists.txt
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Adafruit Bus IO Library
|
||||
# https://github.com/adafruit/Adafruit_BusIO
|
||||
# MIT License
|
||||
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
idf_component_register(SRCS "Adafruit_I2CDevice.cpp" "Adafruit_BusIO_Register.cpp" "Adafruit_SPIDevice.cpp"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES arduino)
|
||||
|
||||
project(Adafruit_BusIO)
|
||||
1
component.mk
Normal file
1
component.mk
Normal file
|
|
@ -0,0 +1 @@
|
|||
COMPONENT_ADD_INCLUDEDIRS = .
|
||||
Loading…
Reference in a new issue