From 177f256480f6237aee45d2a92057b69c7fcc72b3 Mon Sep 17 00:00:00 2001 From: franchioping Date: Wed, 18 Mar 2026 21:38:59 +0000 Subject: [PATCH] add esp32 support --- CMakeLists.txt | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fcb0b8..dce9c2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,5 @@ -# 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" "Adafruit_GenericDevice.cpp" - INCLUDE_DIRS "." - REQUIRES arduino-esp32) - -project(Adafruit_BusIO) +idf_component_register( + SRC_DIRS "." + INCLUDE_DIRS "." + REQUIRES arduino-esp32 +)