Skip to content

Commit a740ebd

Browse files
authored
Merge pull request #78 from solhuebner/solhuebner-ESP-IDF
Enable Adafruit_BusIO as ESP-IDF component support
2 parents 69b929d + b830b3c commit a740ebd

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Adafruit Bus IO Library
2+
# https://github.com/adafruit/Adafruit_BusIO
3+
# MIT License
4+
5+
cmake_minimum_required(VERSION 3.5)
6+
7+
idf_component_register(SRCS "Adafruit_I2CDevice.cpp" "Adafruit_BusIO_Register.cpp" "Adafruit_SPIDevice.cpp"
8+
INCLUDE_DIRS "."
9+
REQUIRES arduino)
10+
11+
project(Adafruit_BusIO)

component.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
COMPONENT_ADD_INCLUDEDIRS = .

0 commit comments

Comments
 (0)