Add files via upload

This commit is contained in:
rehius authored and GitHub committed 2023-05-18 09:35:07 +00:00
1 parent bf58145e8e
commit c8f629a95f
24 files changed
+5133

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#include "hardware/flash.h"
// firmware info from the bootloader & flash
extern int boot_slot;
extern int boot_try;
int count_fuses();
void init_fuses();
void burn_fuse();
#define FUSE_OFF 0xF000
#define fuses ((const uint8_t *) (XIP_BASE + FUSE_OFF))