aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--projects/hsm/hsm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/hsm/hsm.c b/projects/hsm/hsm.c
index 52157c9..e4e823a 100644
--- a/projects/hsm/hsm.c
+++ b/projects/hsm/hsm.c
@@ -49,6 +49,7 @@
#include "stm-fmc.h"
#include "stm-uart.h"
#include "stm-sdram.h"
+#include "stm-ice40mkm.h"
#include "task.h"
#include "mgmt-cli.h"
@@ -466,6 +467,9 @@ int main(void)
stm_init();
led_on(LED_GREEN);
+ if (ice40mkm_configure() != 0)
+ Error_Handler();
+
if (hal_rpc_server_init() != LIBHAL_OK)
Error_Handler();