usk/fuses.h
2023-05-18 09:35:07 +00:00

12 lines
No EOL
265 B
C

#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))