Renaming the pyb module?
Posted: Thu Jan 20, 2022 7:05 pm
We've got a custom board that we want to run Micropython on, but my lead developer wants it to be our board name, not pyb, for the name of the module.
He previously just downloaded the code and did a global search-and-replace but that makes it much harder to upgrade releases. I'm making a forked Git project with the changes for our board and want to try to keep the divergence minimal.
Is there a simple way to change the module name or to alias the module name?
He previously just downloaded the code and did a global search-and-replace but that makes it much harder to upgrade releases. I'm making a forked Git project with the changes for our board and want to try to keep the divergence minimal.
Is there a simple way to change the module name or to alias the module name?