I tried to build the current devel branch with standard settings in Firmware/tup.config and it compiles well.
For my use case I need the ASCII protocoll over USB, so I changed the CONFIG_USB_PROTOCOL to ascii as described in the developer-guide.
I got:
$ make -j4
updated variant: tup.config
[ ] 100%
tup error [string “Tupfile.lua”]:51: unknown USB protocol
stack traceback:
[C]: in function ‘error’
[string “Tupfile.lua”]:51: in main chunk
[ ] 100%
*** tup: 1 job failed.
make: *** [all] Fehler 1
In Tupfile.lua is no ascii defined. What should I use to send ASCII commands through a virtual com - USB connection?
Apologies, the documentation is out of date. We have 2 interfaces on the ODrive now: the native and the CDC interface. This means both protocols are running concurrently by default, and hence the option was removed. You can leave the option set to the native protocol: the ascii is available on the other interface.