From be280fa4a8c851d774cf4581972bc99329c43e6b Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Tue, 24 May 2016 17:14:28 +0200 Subject: non-working code to upload an application and jump to it Committing my work in progress in case someone else wants to help. --- projects/cli-test/mgmt-cli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'projects/cli-test/mgmt-cli.h') diff --git a/projects/cli-test/mgmt-cli.h b/projects/cli-test/mgmt-cli.h index e6780a3..cf8444f 100644 --- a/projects/cli-test/mgmt-cli.h +++ b/projects/cli-test/mgmt-cli.h @@ -35,7 +35,7 @@ #ifndef __STM32_MGMT_CLI_H #define __STM32_MGMT_CLI_H -#include "stm32f4xx_hal.h" +#include "stm-init.h" #include -- cgit v1.2.3 From 24ce7281fcf08cd471f2948af7658dd57a53ee63 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Fri, 27 May 2016 14:31:53 +0200 Subject: cli_command_root_node: bugfix missing command callback --- projects/cli-test/mgmt-cli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'projects/cli-test/mgmt-cli.h') diff --git a/projects/cli-test/mgmt-cli.h b/projects/cli-test/mgmt-cli.h index cf8444f..dd6a58b 100644 --- a/projects/cli-test/mgmt-cli.h +++ b/projects/cli-test/mgmt-cli.h @@ -64,7 +64,7 @@ /* ROOT NODE is a label without a parent, but with a command associated with it */ #define cli_command_root_node(name, help) \ - _cli_cmd_struct(name, name, NULL, (char *) help); \ + _cli_cmd_struct(name, name, cmd_##name, (char *) help); \ cli_register_command2(cli, &cmd_##name##_s, NULL) -- cgit v1.2.3