inclusion of С++ libraries into the atomvm kernel

Aperta
#2,092 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
c, cpp, elixir, erlang
Ambito
embedded-iot

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Erlang
Stelle
2.3k
Fork
171
Merge medio
5g 11h
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di atomvm/AtomVM

Tutte le issue di atomvm/AtomVM

Issue simili

Altre issue su Embedded & IoT

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.