add struct cmd and change UART port

This commit is contained in:
2026-06-20 16:29:59 +02:00
parent 82e12d1ec5
commit 84c6dfb282
19 changed files with 6977 additions and 8443 deletions
+12 -1
View File
@@ -117,7 +117,18 @@ struct prng {
unsigned long long seed;
unsigned long long output;
//unsigned int checksum;
} /*__attribute__((packed))*/;
};
#define CSPRNG_VERS 0x1
/* Define all commands */
#define CSPRNG_CMD_GET_RNG 0x10
struct cmd{
int version;
int cmd;
};
/* USER CODE END Private defines */