mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 22:34:56 +00:00
21 lines
461 B
Python
21 lines
461 B
Python
"""Example boards packaged with BoardForge."""
|
|
|
|
from importlib import import_module
|
|
|
|
__all__ = [
|
|
"arduino_like",
|
|
"bent_trace",
|
|
"buck_boost_converter",
|
|
"cuflow_clockpwr",
|
|
"cuflow_demo",
|
|
"dazzler",
|
|
"esp32_dev_board",
|
|
]
|
|
|
|
# Lazily import submodules when accessed
|
|
|
|
def __getattr__(name):
|
|
if name in __all__:
|
|
return import_module(f"{__name__}.{name}")
|
|
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|