adafruit / adafruit/Adafruit_CircuitPython_HT16K33

Memory issues even on some Express boards

Open
#103 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
49
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Re this thread:
https://forums.adafruit.com/viewtopic.php?p=938210

Can recreate via simple REPL import:
```python
Adafruit CircuitPython 7.3.2 on 2022-07-20; Adafruit Feather M0 Express with samd21g18
>>> import adafruit_ht16k33.segments
Traceback (most recent call last):
File "", line 1, in
File "adafruit_ht16k33/segments.py", line 484, in
MemoryError: memory allocation failed, allocating 96 bytes
>>>
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure on an Adafruit Feather M0 Express running CircuitPython 7.3.2 by importing adafruit_ht16k33.segments in the REPL. Inspect segments.py around line 484 to determine why the import requires an additional 96-byte allocation. Done means the module imports successfully without MemoryError on the affected board.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.