aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2020-02-26 12:38:41 -0500
committerPaul Selkirk <paul@psgd.org>2020-02-26 12:38:41 -0500
commitb60bdf04c301aa41ff9e375d13f12c05cee1fdb8 (patch)
tree13875dd176771e1b2a9488c10ed7fe635107dee7 /projects/hsm
parent2e735d03c8a6f434c8f2b1a118f4b3b824e76a7a (diff)
conditionalize timing tests
Diffstat (limited to 'projects/hsm')
-rw-r--r--projects/hsm/mgmt-cli.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/hsm/mgmt-cli.c b/projects/hsm/mgmt-cli.c
index 10b260f..fd5c90a 100644
--- a/projects/hsm/mgmt-cli.c
+++ b/projects/hsm/mgmt-cli.c
@@ -51,7 +51,9 @@
#include "mgmt-keystore.h"
#include "mgmt-masterkey.h"
#include "mgmt-task.h"
+#ifdef DO_TIMING
#include "mgmt-timing.h"
+#endif
#undef HAL_OK
#define HAL_OK LIBHAL_OK
@@ -200,7 +202,9 @@ int cli_main(void)
configure_cli_bootloader(cli);
configure_cli_misc(cli);
configure_cli_task(cli);
+#ifdef DO_TIMING
configure_cli_timing(cli);
+#endif
while (1) {
control_mgmt_uart_dma_rx(DMA_RX_START);