New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add external library #5596
Comments
you should look into the esp-idf build system. You need to add the lib as extra component and include CMakeLists.txt inside that has the proper lines to enable building that code. |
First thing, thanks for your help.
Can you send me some example or dirct me to link that explain it further?
This is very important information, foe enyone that want to learn gow to
work with your library.
Thank you.
…On Thu, 26 Aug 2021, 11:47 Me No Dev ***@***.***> wrote:
you should look into the esp-idf build system. You need to add the lib as
extra component and include CMakeLists.txt inside that has the proper lines
to enable building that code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5596 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXZDOXPXCVHVRV7XOX6L5LT6X5SVANCNFSM5C2CGZKQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
@roysG Clone it under your idf project's components.
and
Running this library example #include "Arduino.h"
#include "Adafruit_I2CDevice.h"
Adafruit_I2CDevice i2c_dev = Adafruit_I2CDevice(0x10);
void setup() {
while (!Serial) { delay(10); }
Serial.begin(115200);
Serial.println("I2C address detection test");
if (!i2c_dev.begin()) {
Serial.print("Did not find device at 0x");
Serial.println(i2c_dev.address(), HEX);
while (1);
}
Serial.print("Device found on address 0x");
Serial.println(i2c_dev.address(), HEX);
}
void loop() {
}
extern "C" void app_main()
{
initArduino();
pinMode(4, OUTPUT);
digitalWrite(4, HIGH);
// Do your own thing
} You may need to run |
The most library i succeeded to add successfully with the "CMakeLists.txt", This library is: https://github.com/OPEnSLab-OSU/SSLClient Maybe someone know what are the required steps? |
Hi,
I want to work with the library: "https://github.com/vshymanskyy/TinyGSM"
I tried to put this package in the esp32-arduino-lib-builder/arduino/components/arduino/libraries.
But there is no any effected.
What do i miss?
The text was updated successfully, but these errors were encountered: