nrf52840-m2-devkit
nrf52840-m2-devkit copied to clipboard
circuitpython build fails on 6.1
Checking out main circuit python distribution fails to build:
jessica@l3470:~/circuitpython/ports/nrf$ make v=1 BOARD=makerdiary_nrf52840_m2_devkit Use make V=1, make V=2 or set BUILD_VERBOSE similarly in your environment to increase build verbosity. ../../py/gc.c: In function 'gc_sweep': ../../py/gc.c:298:68: error: 'MP_QSTR___del__' undeclared (first use in this function) 298 | mp_load_method_maybe(MP_OBJ_FROM_PTR(obj), MP_QSTR___del__, dest); | ^~~~~~~~~~~~~~~ ../../py/gc.c:298:68: note: each undeclared identifier is reported only once for each function it appears in make: *** [../../py/mkrules.mk:55: build-makerdiary_nrf52840_m2_devkit/py/gc.o] Error 1
Not sure if you've resolved this, but have you tried cleaning?
Something like make V=1 BOARD=makerdiary_nrf52840_m2_devkit clean
?
I ran into this because I'd forgotten that I'd previously tried to build CPY, had to work out some bugs, and forgot to clean before rebuilding.