Rename mpong to breakout

This commit is contained in:
Thomas Farstrike
2026-03-11 11:57:42 +01:00
parent 3651062c15
commit 983d54f271
6 changed files with 26 additions and 41 deletions
+25
View File
@@ -0,0 +1,25 @@
MPY_DIR = ../../lvgl_micropython/lib/micropython/
# Name of module
MOD = breakout
# Source files (.c or .py)
SRC = breakout.c
# Link runtime libraries (needed for memset on xtensawin)
LINK_RUNTIME = 1
# Architectures to build for (x86, x64, armv6m, armv7m, xtensa, xtensawin, rv32imc, rv64imc)
ARCHES = x64 xtensawin
ifeq ($(ARCH),)
.PHONY: all $(ARCHES)
all: $(ARCHES)
$(ARCHES):
$(MAKE) -f $(lastword $(MAKEFILE_LIST)) ARCH=$@ MOD=$(MOD)_$@
else
# Include to get the rules for compiling and linking the module
include $(MPY_DIR)/py/dynruntime.mk
endif