inclusion of С++ libraries into the atomvm kernel

Đang mở
#2,092 8 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
c, cpp, elixir, erlang
Lĩnh vực
embedded-iot

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Erlang
Star
2.3k
Fork
171
Merge trung bình
5 ngày 11 giờ
Pull request đã merge (30 ngày)
19

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của atomvm/AtomVM

Tất cả issue của atomvm/AtomVM

Issue tương tự

Thêm issue về Embedded & IoT

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.