[Cryptech-Commits] [sw/stm32] 01/03: Addendum to commit e0e97a5: Remove all references to the tasker from cli-test.

git at cryptech.is git at cryptech.is
Mon May 1 19:39:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch no-rtos
in repository sw/stm32.

commit 09b4960576a64647e27df25cd6b27e7f62ccc50c
Author: Paul Selkirk <paul at psgd.org>
AuthorDate: Mon May 1 15:37:49 2017 -0400

    Addendum to commit e0e97a5: Remove all references to the tasker from cli-test.
---
 projects/cli-test/Makefile    | 2 --
 projects/cli-test/mgmt-test.c | 3 +--
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/projects/cli-test/Makefile b/projects/cli-test/Makefile
index 0a0eb9e..189a15d 100644
--- a/projects/cli-test/Makefile
+++ b/projects/cli-test/Makefile
@@ -13,8 +13,6 @@ OBJS = \
 	test-mkmif.o \
 	test_sdram.o
 
-BOARD_OBJS += $(TOPLEVEL)/task.o
-
 CFLAGS += -I$(LIBCLI_SRC) -I$(LIBHAL_SRC)
 CFLAGS += -I$(RTOS_DIR)/rtos -I$(RTOS_DIR)/rtx/TARGET_CORTEX_M
 
diff --git a/projects/cli-test/mgmt-test.c b/projects/cli-test/mgmt-test.c
index 54021a5..59f0b6e 100644
--- a/projects/cli-test/mgmt-test.c
+++ b/projects/cli-test/mgmt-test.c
@@ -37,7 +37,6 @@
 #include "stm-sdram.h"
 #include "stm-fmc.h"
 #include "stm-fpgacfg.h"
-#include "task.h"
 
 #include "mgmt-cli.h"
 #include "mgmt-test.h"
@@ -132,7 +131,7 @@ static int cmd_test_fmc(struct cli_def *cli, const char *command, char *argv[],
     led_on(LED_BLUE);
     while (! fpgacfg_check_done()) {
 	for (i = 0; i < 4; i++) {
-	    task_delay(500);
+	    HAL_Delay(500);
 	    led_toggle(LED_BLUE);
 	}
     }



More information about the Commits mailing list