Mode | FALA Syntax | FALA Commands |
---|---|---|
1-WIRE | ||
UART | ||
HDUART | ||
I2C | ||
SPI | ||
2WIRE | ||
DIO | ||
LED |
Final FALA testing in syntax and commands (such as scan).
Commands are going to be tricky. FALA is setup as a single shot buffer, not a loop, so if the command length exceeds the FALA capture buffer weird things happen. For now I just want to make sure everything is wrapped by the capture commands and is FALA compatible.
1-Wire
Mode commands (such as scan) are now wrapped in FALA capture hooks. This is done at the outer most level in ui_process.c, meaning even commands that don’t generate bus activity (such as reading help) will generate captures. I should probably rework the command struct anyways, and add a flag that determines if the app can handle it’s own FALA (same as the general vs. command provided help works now).
All mode commands (that make sense) now handle fala internally for the best user experience. However, the global FALA capture can still be enabled if a command does not want to explicitly support FALA.