aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/mgmt-fpga.c
AgeCommit message (Collapse)Author
2017-12-14Revert a clean up 'fix' which actually broke FPGA upload.Paul Selkirk
2017-10-15Cleanup: All drivers return HAL_StatusTypeDef rather than magic values.Paul Selkirk
Note: This affects libhal/ks_token.c, which uses the keystore driver directly.
2017-10-11Cleanup 'unused parameter' warnings, a couple of which are actual coding errors.Paul Selkirk
2017-02-22Refactor flash code.Paul Selkirk
2016-07-21Use a fresh port of libcli, which retains more of the original API.Paul Selkirk
2016-07-08merge test code from projects/hsm/Fredrik Thulin
2016-06-02Use DMA for UART RX instead of interrupts.Fredrik Thulin
DMA is more efficient and less prone to miss characters than interrupts. An open question is if circular mode is really the best. If someone copy-pastes more than the RX buffer size of configuration into the CLI, we risk the DMA controller catching up with the reader and overwriting data not yet read. Since we don't have flow control back to the users terminal, we will always fail if too much data is entered before we can process it. The question is if failing to stuff new data at the end of a buffer might be better than data being overwritten - thus messing up the commands in unpredictable ways.
2016-06-01Move FPGA related commands to mgmt-fpga.cFredrik Thulin