firmware
IEM Firmware Documentation
Loading...
Searching...
No Matches
codegen.py File Reference

Data Structures

class  codegen.BusContext
class  codegen.MessageContext
class  codegen.SignalContext
class  codegen.PaddingContext

Namespaces

namespace  codegen

Functions

 codegen.generate (str|os.PathLike|list[str|os.PathLike] dbc_path, str|os.PathLike out_path=Path(""))
 codegen.get_type_width (int length)

Variables

str codegen.INC_DIR = "inc"
str codegen.DBC_GLOB = "*.dbc"
str codegen.SOURCE_TEMPLATE = "can.c.j2"
str codegen.HEADER_TEMPLATE = "can.h.j2"
str codegen.CMAKELISTS_TEMPLATE = "CMakeLists.txt.j2"
str codegen.STATIC_CHECKS_TEMPLATE = "codec_static_checks.h.j2"
float codegen.VERSION = 0.1
 codegen.parser = ArgumentParser()
 codegen.type
 codegen.help
 codegen.nargs
 codegen.out_path
 codegen.dbc_path
 codegen.args = parser.parse_args()