Search found 2 matches

by lecndav
Tue Apr 03, 2018 11:05 am
Forum: ESP-IDF
Topic: Could not integrate component
Replies: 1
Views: 4688

Re: Could not integrate component

solved!

Problem was with a third party library which the component used.
Had to add in component.mk

Code: Select all

COMPONENT_ADD_LDFLAGS := -lmySensor -L$(COMPONENT_PATH)/lib -lsensorLib
COMPONENT_ADD_INCLUDEDIRS := .  lib
COMPONENT_SRCDIRS := . lib
by lecndav
Fri Mar 30, 2018 10:23 am
Forum: ESP-IDF
Topic: Could not integrate component
Replies: 1
Views: 4688

Could not integrate component

Hi, I'm using an ESP32 and a sensor which is connected via I2C. For a better code structure, I wrote a component "mySensor" which handles the I2C stuff and implements the logic. Some methods are initialize_i2c and start_reading . The project structure looks like this: -Project --components ---mySens...