Enable Adafruit-GFX-Library as ESP-IDF component support (#376)

Enables Adafruit-GFX-Library as ESP-IDF component support  (with Arduino as component)
This commit is contained in:
Sol Huebner 2022-01-21 01:53:48 +01:00 committed by GitHub
parent 223f914d0e
commit 30b2e1b99a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

11
CMakeLists.txt Normal file
View File

@ -0,0 +1,11 @@
# Adafruit GFX Library
# https://github.com/adafruit/Adafruit-GFX-Library
# BSD License
cmake_minimum_required(VERSION 3.5)
idf_component_register(SRCS "Adafruit_GFX.cpp" "Adafruit_GrayOLED.cpp" "Adafruit_SPITFT.cpp" "glcdfont.c"
INCLUDE_DIRS "."
REQUIRES arduino Adafruit_BusIO)
project(Adafruit-GFX-Library)

1
component.mk Normal file
View File

@ -0,0 +1 @@
COMPONENT_ADD_INCLUDEDIRS = .