I try to build MicroPython for Meowbit now that the source code is released but at the beginning of the compilation (and for any STM boards) on Ubuntu 18.10, I have this error:
Code: Select all
sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi
git clone --recurse-submodules https://github.com/KittenBot/micropython_meowbit.git
cd micropython_meowbit/
cd ports/stm32/
make BOARD=MEOWBIT V=1
Python ../../py/makeversionhdr.py build-MEOWBIT/genhdr/mpversion.h
GEN build-MEOWBIT/frozen_mpy.c
python ../../tools/mpy-tool.py -f -q build-MEOWBIT/genhdr/qstrdefs.preprocessed.h > build-MEOWBIT/frozen_mpy.c
usage: mpy-tool.py [-h] [-d] [-f] [-q QSTR_HEADER]
[-mlongint-impl {none,longlong,mpz}] [-mmpz-dig-size N]
files [files ...]
mpy-tool.py: error: too few arguments
make: *** [../../py/mkrules.mk:123: build-MEOWBIT/frozen_mpy.c] Error 2
make: *** Deleting file 'build-MEOWBIT/frozen_mpy.c'
Looks like $(FROZEN_MPY_MPY_FILES) is empty..
Any idea ?