How to generate code in a python file #677
Unanswered
qingfengxuxu80
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
import cantools
from pprint import pprint
from cantools.subparsers import generate_c_
source db = cantools.database.load_file('MCU.dbc')
generate_c_source.generate(db,"cantools_test","cantools.h","cantools.c","cantools.c")
not work!!
Beta Was this translation helpful? Give feedback.
All reactions