Skip to content

Commit 30b2e1b

Browse files
authored
Enable Adafruit-GFX-Library as ESP-IDF component support (#376)
Enables Adafruit-GFX-Library as ESP-IDF component support (with Arduino as component)
1 parent 223f914 commit 30b2e1b

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 GFX Library
2+
# https://github.com/adafruit/Adafruit-GFX-Library
3+
# BSD License
4+
5+
cmake_minimum_required(VERSION 3.5)
6+
7+
idf_component_register(SRCS "Adafruit_GFX.cpp" "Adafruit_GrayOLED.cpp" "Adafruit_SPITFT.cpp" "glcdfont.c"
8+
INCLUDE_DIRS "."
9+
REQUIRES arduino Adafruit_BusIO)
10+
11+
project(Adafruit-GFX-Library)

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)