#had you successfully used mpy-cross

1 messages · Page 1 of 1 (latest)

icy trellis
#

had you successfully used mpy-cross before?
I think I did years ago, but not with this setup

Which version of mpy-cross are you using

CircuitPython 9.1.0-beta.0-26-gc978768d37-dirty on 2024-04-30; mpy-cross emitting mpy v6.1```

> which version of CircuitPython are you using
I'm using the firmware.uf2 I built from the same branch. this is what I have in boot_out.txt in the device:
```Adafruit CircuitPython 9.1.0-beta.0-26-gc978768d37-dirty on 2024-05-10; Adafruit CircuitPlayground Express with samd21g18
Board ID:circuitplayground_express
UID:B87B6B29434C305020312E543E0E0EFF
real matrix
#

could you go ahead and upload a .zip of everything, then?

#

that mpy-cross looks ok

icy trellis
#

looks like it's fixed! I don't have the broken state anymore sorry. I've basically reset the branch and that fixed it

#

I think the only diff that mattered was that I commented out some lines from mpconfigboard.mk:

Line
20
deleted
Line
20
deleted
     

Line
21
deleted
Line
21
deleted
     
# Include these Python libraries in firmware.
Line
22
deleted
Line
22
deleted
     
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_CircuitPlayground/frozen_cpx
Line
23
deleted

  -  
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID
Line
24
deleted

  -  
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_LIS3DH

Line
23
added
  +  
#FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID

Line
24
added
  +  
#FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_LIS3DH
Line
25
deleted
Line
25
deleted
     
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel
Line
26
deleted

  -  
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Thermistor

Line
26
added
  +  
#FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Thermistor
real matrix
#

OK! probably not worth tracking down now.

icy trellis
#

I don't understand, even though I'm doing everything in .mpy files, I can't even get GPS coordinates without going OOM.

I was doing many more things with the same device 6y ago, I think the difference was that I was using custom firmware by deleting some existing unused firmware code (like the temperature sensor), does that make sense? but if I comment out lines from that .mk file, it breaks everything badly and requires safe mode

real matrix