platform-espressif32 icon indicating copy to clipboard operation
platform-espressif32 copied to clipboard

FR: use LDF with custom componets

Open jmpmscorp opened this issue 5 years ago • 1 comments

Hi.

Using platformIO with esp-idf framework, it would be great if we could use "lib_deps" in .ini file to add esp-idf custom components like we do working with Arduino framework from git

Thank you.

jmpmscorp avatar May 16 '19 22:05 jmpmscorp

alternatively you can put the component in a components folder and add to CMakeLists.txt similar to this, including the esp-dsp component:

cmake_minimum_required(VERSION 3.16.0)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
list(APPEND EXTRA_COMPONENT_DIRS esp-dsp)
project(espidf-arduino-wifiscan)

michikite avatar Nov 11 '20 03:11 michikite