chore(radio): improve UF2 (#6644)

This commit is contained in:
Raphael Coeffic
2025-10-17 13:51:01 +10:00
committed by GitHub
parent 53ab9c54cd
commit 056ae28d38
3 changed files with 41 additions and 23 deletions
+4
View File
@@ -31,6 +31,10 @@
#include "thirdparty/FatFs/ff.h"
#include "thirdparty/uf2/uf2.h"
#ifndef BOOTLOADER_ADDRESS
#define BOOTLOADER_ADDRESS FIRMWARE_ADDRESS
#endif
#define UF2_BLOCK_SIZE 512
bool isUF2Block(const void* block, uint32_t len)