From 1d6609566a71dee86fc1ae33175052ebbfdba24a Mon Sep 17 00:00:00 2001 From: "Pavel V. Shatov (Meister)" Date: Mon, 13 Sep 2021 12:04:09 +0300 Subject: Added call to ice40mkm_configure() to the 'hsm' project startup code. --- projects/hsm/hsm.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'projects/hsm/hsm.c') 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(); -- cgit v1.2.3