Skip to content

Commit 7d48ed3

Browse files
committed
Merge pull request #1970 from petermm/example-idf-component
ESP32: Example idf_component.yml (nif install method) These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents f18c3cc + 903ce91 commit 7d48ed3

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ src/platforms/esp32/test/__pycache__/**
1919
src/platforms/esp32/components/**
2020
src/platforms/esp32/managed_components/**
2121
src/platforms/esp32/sdkconfig
22+
src/platforms/esp32/main/idf_component.yml
23+
src/platforms/esp32/dependencies.lock
2224
!src/platforms/esp32/components/avm_builtins/
2325
!src/platforms/esp32/components/avm_builtins/**
2426
!src/platforms/esp32/components/avm_sys/
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# This file is an example IDF component manifest for AtomVM on ESP32.
2+
#
3+
# Usage:
4+
# 1) Copy this file to `idf_component.yml` in the same directory:
5+
# cp idf_component.yml.example idf_component.yml
6+
# 2) Edit and uncomment the dependencies you need below.
7+
# 3) Run `idf.py build` to build the project.
8+
#
9+
# Note: `idf_component.yml` is user-specific and is ignored by git.
10+
#
11+
# Read more on the IDF component manager here:
12+
# https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/tools/idf-component-manager.html
13+
#
14+
# Do check the readme for each dependency for more information on the install and usage.
15+
#
16+
dependencies:
17+
# atomgl:
18+
# git: https://github.com/atomvm/atomgl
19+
# version: "main"
20+
# atomvm_mqtt_client:
21+
# git: https://github.com/atomvm/atomvm_mqtt_client
22+
# version: "main"
23+
# atomvm_esp32cam:
24+
# #NB requires certain sdkconfig options to be set, see the readme
25+
# git: https://github.com/atomvm/atomvm_esp32cam
26+
# version: "main"
27+
# atomvm_gps:
28+
# git: https://github.com/atomvm/atomvm_gps
29+
# version: "main"
30+
# atomvm_neopixel:
31+
# git: https://github.com/atomvm/atomvm_neopixel
32+
# version: "main"
33+
# atomvm_m5:
34+
# git: https://github.com/pguyot/atomvm_m5
35+
# version: "main"
36+
# my_nif:
37+
# # example for local development
38+
# # replace with your own nif in same top level directory as AtomVM
39+
# path: ../../../../../my_nif
40+
# atomvm_mqtt_client:
41+
# # example for local development
42+
# # where a nif is git cloned in same top level directory as AtomVM
43+
# path: ../../../../../atomvm_mqtt_client
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-License-Identifier: Apache-2.0
2+
SPDX-FileCopyrightText: AtomVM Contributors

0 commit comments

Comments
 (0)