diff options
author | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2021-09-13 12:04:09 +0300 |
---|---|---|
committer | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2021-09-13 12:04:09 +0300 |
commit | 1d6609566a71dee86fc1ae33175052ebbfdba24a (patch) | |
tree | db2b114dcbe164e05bb724d2c72daf99ae0fc2b1 /projects/hsm/hsm.c | |
parent | 34d20b94d7f653dd398014bf9038a5215a82eba1 (diff) |
Added call to ice40mkm_configure() to the 'hsm' project startup code.
Diffstat (limited to 'projects/hsm/hsm.c')
-rw-r--r-- | projects/hsm/hsm.c | 4 |
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(); |