aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/mgmt-dfu.h
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-05-25 22:46:40 +0200
committerFredrik Thulin <fredrik@thulin.net>2016-05-25 22:46:40 +0200
commit2529fb514c10513b52b283472ed6edd26f5d0fc4 (patch)
tree8751c70db284db84b291bd55dae733f858d173fc /projects/cli-test/mgmt-dfu.h
parente5d76aca550df4526783dd938b6a339b26c244fe (diff)
More DFU code. This might actually work.
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.
Diffstat (limited to 'projects/cli-test/mgmt-dfu.h')
-rw-r--r--projects/cli-test/mgmt-dfu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/cli-test/mgmt-dfu.h b/projects/cli-test/mgmt-dfu.h
index c38a63e..e1e3932 100644
--- a/projects/cli-test/mgmt-dfu.h
+++ b/projects/cli-test/mgmt-dfu.h
@@ -38,7 +38,9 @@
#include "stm-init.h"
#include <libcli.h>
+#define DFU_UPLOAD_CHUNK_SIZE 256
extern void configure_cli_dfu(struct cli_def *cli);
+extern void check_early_dfu_jump(void);
#endif /* __STM32_CLI_MGMT_DFU_H */