aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test
diff options
context:
space:
mode:
Diffstat (limited to 'projects/cli-test')
-rw-r--r--projects/cli-test/Makefile13
-rw-r--r--projects/cli-test/mgmt-cli.c1
-rw-r--r--projects/cli-test/test-mkmif.c2
3 files changed, 14 insertions, 2 deletions
diff --git a/projects/cli-test/Makefile b/projects/cli-test/Makefile
index a07029c..5a6cea8 100644
--- a/projects/cli-test/Makefile
+++ b/projects/cli-test/Makefile
@@ -1,6 +1,17 @@
TEST = cli-test
-OBJS = crc32.o test_sdram.o mgmt-cli.o mgmt-dfu.c mgmt-fpga.c mgmt-misc.c mgmt-show.c mgmt-test.c mgmt-keystore.o test-mkmif.c
+OBJS = \
+ crc32.o \
+ mgmt-cli.o \
+ mgmt-dfu.o \
+ mgmt-fpga.o \
+ mgmt-keystore.o \
+ mgmt-masterkey.o \
+ mgmt-misc.o \
+ test-mkmif.o \
+ mgmt-show.o \
+ mgmt-test.o \
+ test_sdram.o
BOARD_OBJS = \
$(TOPLEVEL)/stm-init.o \
diff --git a/projects/cli-test/mgmt-cli.c b/projects/cli-test/mgmt-cli.c
index ac9c445..073b045 100644
--- a/projects/cli-test/mgmt-cli.c
+++ b/projects/cli-test/mgmt-cli.c
@@ -241,6 +241,7 @@ int cli_main(void)
configure_cli_misc(&cli);
configure_cli_test(&cli);
configure_cli_keystore(&cli);
+ configure_cli_masterkey(&cli);
while (1) {
embedded_cli_loop(&cli);
diff --git a/projects/cli-test/test-mkmif.c b/projects/cli-test/test-mkmif.c
index af222bc..5ceb376 100644
--- a/projects/cli-test/test-mkmif.c
+++ b/projects/cli-test/test-mkmif.c
@@ -20,7 +20,7 @@
#undef HAL_OK
-#define SCLK_DIV 0x01
+#define SCLK_DIV 0x20
typedef union {
uint8_t byte[4];