Trying to follow the instructions to build firmware on Apple M1 computer, but get this error when I run the cd mpy-cross && make clean && make && cd .. command:
> cd mpy-cross && make clean && make && cd ..
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
rm -f mpy-cross
rm -f mpy-cross.map
rm -rf build
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
mkdir -p build/genhdr
Generating build/genhdr/mpversion.h
GEN build/genhdr/qstr.i.last
../py/emitglue.c:635:2: error: mp_raw_code_save_file not implemented for this platform
#error mp_raw_code_save_file not implemented for this platform
^
1 error generated.
make: *** [build/genhdr/qstr.i.last] Error 1
make: *** Deleting file `build/genhdr/qstr.i.last'
Also tried installing Ubuntu in Parallels, and there I get this error when running the same command:
../py/nativeglue.c:226:5: error: ‘nlr_push’ undeclared here (not in a function)
226 | nlr_push,
| ^~~~~~~~
make: *** [../py/mkrules.mk:47: build/py/nativeglue.o] Error 1
Has anyone else successfully build pycom firmware on arm computer?
Hi
Trying to follow the instructions to build firmware on Apple M1 computer, but get this error when I run the
cd mpy-cross && make clean && make && cd ..
command:Also tried installing Ubuntu in Parallels, and there I get this error when running the same command:
Has anyone else successfully build pycom firmware on arm computer?