it helps a lot.
With your suggestion when I compile I now get :
Code: Select all
GEN build/modrun.config.h
CC modrun.c
LINK build/modrun.o
LinkError: build/modrun.o: undefined symbol: mp_obj_get_array
make: *** [build/modrun.native.mpy] Error 1
my makefile :
Code: Select all
MPY_DIR = ../../..
# Name of module
MOD = modrun
# Source files (.c or .py)
SRC = modrun.c
# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
ARCH = armv7emsp
#ARCH = x64
# Include to get the rules for compiling and linking the module
include $(MPY_DIR)/py/dynruntime.mk
# Include to get the rules for compiling and linking the module
include $(MPY_DIR)/py/dynruntime.mk
Thanks for the support