Zubax / sapog

Sapog - advanced multiplatform ESC firmware
https://kb.zubax.com/x/cYAh
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

CLI prompt is missing #45

Closed suzonch closed 2 years ago

suzonch commented 2 years ago

Enable CLI prompt for valenok CLi interface

silverv commented 2 years ago

Didn't know how to do it, enabling it also raises concerns of spending valuable MCU time on reading in data. I don't know much about how the serial connection works and if there is a hardware buffer. If this turns out to be a performance hog then perhaps it could be first enabled by a Cyphal request and then used.

pavel-kirienko commented 2 years ago

CLI consumes zero CPU time unless it is actively used. It works in the original v2 firmware, you just need to make sure that it is not disabled in your branch.

silverv commented 2 years ago

Resolved with 33040b0f86fe3b52393894b9a387e802fee2aa85