add bootloader to uf2 info file
This commit is contained in:
parent
56f126e715
commit
9847a37599
@ -58,7 +58,8 @@ struct TextFile {
|
|||||||
const char infoUf2File[] = //
|
const char infoUf2File[] = //
|
||||||
"UF2 Bootloader " UF2_VERSION "\r\n"
|
"UF2 Bootloader " UF2_VERSION "\r\n"
|
||||||
"Model: " PRODUCT_NAME "\r\n"
|
"Model: " PRODUCT_NAME "\r\n"
|
||||||
"Board-ID: " BOARD_ID "\r\n";
|
"Board-ID: " BOARD_ID "\r\n"
|
||||||
|
"Bootloader: " BOOTLOADER_ID "\r\n";
|
||||||
|
|
||||||
const char indexFile[] = //
|
const char indexFile[] = //
|
||||||
"<!doctype html>\n"
|
"<!doctype html>\n"
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
#define PRODUCT_NAME "Adafruit Bluefruit nRF52"
|
#define PRODUCT_NAME "Adafruit Bluefruit nRF52"
|
||||||
#define BOARD_ID "NRF52-Bluefruit-v0"
|
#define BOARD_ID "NRF52-Bluefruit-v0"
|
||||||
#define INDEX_URL "https://www.adafruit.com/product/0000"
|
#define INDEX_URL "https://www.adafruit.com/product/0000"
|
||||||
#define UF2_NUM_BLOCKS 8000
|
#define BOOTLOADER_ID MK_DIS_FIRMWARE
|
||||||
|
|
||||||
|
#define UF2_NUM_BLOCKS 8000 // at least 4,1 MB for FAT16
|
||||||
#define VOLUME_LABEL "NRF52BOOT "
|
#define VOLUME_LABEL "NRF52BOOT "
|
||||||
#define FLASH_SIZE (BOOTLOADER_REGION_START-USER_FLASH_START)
|
#define FLASH_SIZE (BOOTLOADER_REGION_START-USER_FLASH_START)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user