inclusion of С++ libraries into the atomvm kernel

Abierto
#2,092 8 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
c, cpp, elixir, erlang
Área
embedded-iot

Línea de trabajo

Start by reviewing the discussion in this issue and the linked Adafruit_VL6180X library to understand the requested integration and the TOF sensor use case. Then inspect AtomVM’s native library and AVM build entry points to determine where C++ support would fit. Done would require a defined approach for exposing a library’s functions to Elixir or Erlang and a working example; the issue does not identify specific files or tests.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Is there any way to include ready-made C++ libraries in the AtomVM kernel or in the AVM file build using Elixir/Erlang and get their functions similar to those already in atomvm kernel?
I encountered some problems while writing a program in Elixir for the TOF sensor, as most of the data received from the sensor is clearly raw, but already transformed using the library.
For example:
https://github.com/adafruit/Adafruit_VL6180X

Lenguaje dominante
Erlang
Estrellas
2.3k
Forks
171
Merge medio
5 d 11 h
PR fusionados (30 d)
19

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de atomvm/AtomVM

Todos los issues de atomvm/AtomVM

Issues similares

Más issues de Embedded & IoT

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.