diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2016-05-25 22:46:40 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2016-05-25 22:46:40 +0200 |
commit | 2529fb514c10513b52b283472ed6edd26f5d0fc4 (patch) | |
tree | 8751c70db284db84b291bd55dae733f858d173fc /projects/cli-test/cli-test.c | |
parent | e5d76aca550df4526783dd938b6a339b26c244fe (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/cli-test.c')
-rw-r--r-- | projects/cli-test/cli-test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/projects/cli-test/cli-test.c b/projects/cli-test/cli-test.c index 30623a4..1a8c6b7 100644 --- a/projects/cli-test/cli-test.c +++ b/projects/cli-test/cli-test.c @@ -410,6 +410,9 @@ main() { static struct cli_def cli; + /* This is simulating the bootloader from the cli-test. */ + check_early_dfu_jump(); + stm_init(); led_on(LED_RED); |