Skip to content

MemoryError when loading module #36

Closed
@explody

Description

@explody

Using an Adafruit Metro Express M0, CircuitPython 8.2.8, and MPU boards from Amazon, with or without having an MPU board connected, I get an. immediate memory error upon loading the module:

paste mode; Ctrl-C to cancel, Ctrl-D to finish
=== import time
=== import board
=== import digitalio
=== import adafruit_mpu6050
=== 
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
  File "adafruit_mpu6050.py", line 45, in <module>
  File "adafruit_register/i2c_bits.py", line 25, in <module>
MemoryError: memory allocation failed, allocating 60 bytes
>>>

The boards in question do work if I use C - is the M0 just not beefy enough, maybe?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions