ODrive firmware build errors

Hi, got errors while building ODrive firmware:

Traceback (most recent call last):
  File "E:\Projects\ODrive\ODrive-master\ODrive\tools\create_can_dbc.py", line 15, in <module>
    axisError = can.Signal("Axis_Error", 0, 32, receivers=['Master'], choices={error.value: error.name for error in AxisError})
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Signal.__init__() got an unexpected keyword argument 'choices'

Does anyone has any suggestions? Thanks in advance!

Hi! Try installing cantools==38.0.2

1 Like

Thanks, this solved the problem!