How to deal with small heap on ESP32-C3

Đang mở
#11,879 0 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 1 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
12/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
c, embedded-iot, python
Lĩnh vực
embedded-iot, performance

Hướng nghiên cứu

The payload names no source files or tests. Start by reading the linked issue #10093 and the memory figures in this report (about 83 kB free at startup, about 33 kB for an HTTPS server via mbedTLS). Done means a maintainer-agreed proposal, such as which network libraries to freeze, rather than a code change. This is design work, so it is not a good first contribution.

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

Mô tả

esp32-c3 memory optimization network

#10093 pointed out MemoryError problems on ESP32-C3 when using adafruit_httpserver. The amount of free RAM available on startup is ~83 kB, and that must be shared with between the VM heap and ESP-IDF needs like mbedTLS.

For instance, if an HTTPS server is started, about 33 kB of system heap is needed. That leaves minimal space for program, libraries and data.

We might consider freezing some network libraries to make this chip more usable.

Ngôn ngữ chính
C
Star
4.6k
Fork
1.4k
Merge trung bình
1 ngày
Pull request đã merge (30 ngày)
212

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 adafruit/circuitpython

Tất cả issue của adafruit/circuitpython

Issue tương tự

Thêm issue về C

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.