mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
This commit adds support for RV32IMC native modules, as in embedding native code into a self-contained MPY module and and make its exported functions available to the MicroPython environment. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
15 lines
333 B
Makefile
15 lines
333 B
Makefile
# Location of top-level MicroPython directory
|
|
MPY_DIR = ../../..
|
|
|
|
# Name of module
|
|
MOD = features4
|
|
|
|
# Source files (.c or .py)
|
|
SRC = features4.c
|
|
|
|
# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin, rv32imc)
|
|
ARCH = x64
|
|
|
|
# Include to get the rules for compiling and linking the module
|
|
include $(MPY_DIR)/py/dynruntime.mk
|