This commit is contained in:
2025-02-17 23:46:39 +00:00
parent 113fed4ae1
commit e392f01c65
4 changed files with 48 additions and 27 deletions

View File

@@ -1,14 +1,7 @@
#include <platform/printf.h>
#include <stdint.h>
__attribute__((section(".magic_number"))) volatile const uint32_t magic_number =
0xDEADBEEF; // Prevent optimization
__attribute__((
section(".magic_number1"))) volatile const uint32_t magic_number1 =
0xDEADBEEA; // Prevent optimization
__attribute__((section(".text"))) int cryptographic_test() {
static const uint32_t vv = 0xDEADBEEF;
// Run unit tests for cryptographic scheme
//while(1); // Debug loop
return 7;