aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/mgmt-dfu.c
AgeCommit message (Collapse)Author
2017-10-17Overhaul UART APIPaul Selkirk
MGMT is the default UART, and no one should have to explicitly refer to the UART unless they need USER (hsm.c:hal_serial_send_char). The default UART is now exposed in the header file, so that the default-using functions can be macros, which saves a few bytes in code space, and a few microseconds in function call overhead.
2017-10-11Cleanup 'unused parameter' warnings, a couple of which are actual coding errors.Paul Selkirk
2017-04-16Switch to libhal's CRC-32 code.Rob Austein
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-05-27DFU working - but no signature validation for now.Fredrik Thulin
2016-05-26Implement a bootloader.Fredrik Thulin
This bootloader is now the application at 0x08000000 (FLASH start), which the STM32 will execute upon reset. The other applications are now loaded at 0x08030000 (128 KB into the flash) and will never get started unless the bootloader has been programmed into flash too.
2016-05-25More DFU code. This might actually work.Fredrik Thulin
The applications to be uploaded using 'dfu upload' have to have another FLASH defined in their linker script. Have to recompile some firmware tomorrow and test if this actually works.
2016-05-24non-working code to upload an application and jump to itFredrik Thulin
Committing my work in progress in case someone else wants to help.