FrancescoVaiani / edgehog-esp32-device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edgehog ESP32 Device

Edgehog ESP32 Device is the Edgehog component for Espressif esp-idf, that enables remote management of Espressif ESP32 devices using Astarte.

Getting Started

1 - Install ESP-IDF Toolchain

Follow the esp-idf installation guide.

2 - Install the IDF-Component Manager

Follow the idf-component manager installation guide.

3 - Setup a New Project

Create a new CMake project:

mkdir ~/hello_world
cd ~/hello_world
cp -r $IDF_PATH/examples/get-started/hello_world .

4 - Setup Dependencies

Create a new idf_component.yml in the project root directory, as follows:

## IDF Component Manager Manifest File
dependencies:
  idf:
    version: ">=4.1.0"
  edgehog-esp32-device:
    version: "*" # this is the latest commit on the main branch
    git: https://github.com/edgehog-device-manager/edgehog-esp32-device.git
  astarte-device-sdk-esp32:
    version: "b47e453777f774835b3f86eeb0ce5d3b3a890c9c" # 'release-1.0' branch
    git: https://github.com/astarte-platform/astarte-device-sdk-esp32.git

5 - Build project

idf.py build

Resources

Contributing

Edgehog ESP32 Device is open to any contribution.

Pull requests, bug reports and feature requests are welcome.

License

Edgehog ESP32 Device source code is released under the Apache 2.0 License.

Check the LICENSE file for more information.

About

License:Apache License 2.0


Languages

Language:C 98.9%Language:CMake 1.1%