micropython-usermod icon indicating copy to clipboard operation
micropython-usermod copied to clipboard

Question on makeUSERMOD_DIR variable

Open KejaPower opened this issue 5 years ago • 1 comments

Hello, I was wonderting where the $(USERMOD_DIR) variable was defined?

Thanks

KejaPower avatar Dec 26 '20 16:12 KejaPower

Old but gold. A quick grep -r USERMOD_DIR reveals a file in the docs dir cmodules.rst ;)

Basically this variable is defined by the build system for every module.

For clarification, it's the makefile of one of the ports that ultimately triggers it.

example: ~/micropython/ports/unix$ make USER_C_MODULES=../../examples/usercmodule/

schneidersoft avatar Jun 22 '21 20:06 schneidersoft