Skip to content

prusnak/micropython-extmod-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

micropython-extmod-generator

Generator for Micropython external modules written in C

Usage

extmod-generator [-f] module

Program will look for file named module/module.py and generate the following files:

  • module/modmodule.c - external module source code - to be put in micropython/extmod
  • module/qstrdefs.h - needs to be merged manually with micropython/py/qstrdefs.h

If a module argument is not provided, the default example will be used.

Example

example/example.pyexample/modexample.c + example/qstrdefs.h

License

Licensed under MIT License.

About

Generator for Micropython external modules written in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published