Start to work on networking

This commit is contained in:
2024-08-17 13:49:55 +02:00
parent 6b9d5e9d85
commit 0d90973842
4 changed files with 44 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include "storage.h"
#include "system.h"
#include "crypto.h"
#include "unsecure_api.h"
void app_main(void)
{
@ -36,5 +37,10 @@ void app_main(void)
printf("Current CSR:\n%s\n", csr);
free(csr);
printf("Check secure origin\n");
char *sec_orig = unsecure_api_get_secure_origin();
assert(sec_orig != NULL);
printf("Res = %s\n", sec_orig);
reboot();
}