Skip to content

How to link static libraries into arduino code? #1426

Closed
@sysizlayan

Description

@sysizlayan

Hardware:

Board: ESP32 Dev Module
Core Installation/update date: Manually updated every day, always using last master
IDE name: Arduino IDE
Flash Frequency: 80Mhz
Upload Speed: 921600

Description:

Hi, I am curerntly working on IOT project and I need to link BSEC library for BME680 sensor. Library link is given below.
https://www.bosch-sensortec.com/bst/products/all_products/bsec
This library is compiled for many processor architectures and ESP32 is one of them. However Arduino libraries does not contain ESP32. So I needed to link static ".a" library to my arduino sketch.
Is it possible? Where should I place the ".a" file and which files should I edit to be able link this file to my sketch.

In short, how can one link a static libraries to project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions