Now would be a great time to take the experimental firmware for a test drive. The past two days have focused on refactoring everything to the new args/prompt/help/validation API, as well as documenting the new API.
Almost everything “menu prompt, command line, help” has been refactored, but there’s very little real world testing of the complete migration. The only thing still relying on the old system is the c config menu because it’s a bit funky.
//TODO:
- Document entire bp_cmd with usage examples
//Completed:
not really ported, but enough to integrate the new help systemcconfiguration commandRegex remove dead help strings from commands.c struct.PWM and Pullups need attention: done but checkDDR4/DDR5/dummy.c/spi_eeprom/otpdump all impacted by a change in the parser: fixed, but verify each implementationCheck dead code in ui_cmdln, ui_prompt.Check remaining ui_prompt_floatLook into the unified file parser - how used, where, change underlying parser used?Look into HEX viewer core arguments parsersMode command per-mode flags and parsing, using the exiting prompt definition structs in each mode.Unify Y/N/exit in bp_cmd