2018-06-19 15:12:01 +00:00
|
|
|
#define UF2_VERSION "1.00"
|
|
|
|
#define PRODUCT_NAME "Adafruit Bluefruit nRF52"
|
|
|
|
#define BOARD_ID "NRF52-Bluefruit-v0"
|
|
|
|
#define INDEX_URL "https://www.adafruit.com/product/0000"
|
2018-06-21 05:28:52 +00:00
|
|
|
#define BOOTLOADER_ID MK_DIS_FIRMWARE
|
|
|
|
|
|
|
|
#define UF2_NUM_BLOCKS 8000 // at least 4,1 MB for FAT16
|
2018-06-21 05:22:42 +00:00
|
|
|
#define VOLUME_LABEL "NRF52BOOT "
|
2018-06-21 04:28:04 +00:00
|
|
|
#define FLASH_SIZE (BOOTLOADER_REGION_START-USER_FLASH_START)
|
2018-06-19 15:12:01 +00:00
|
|
|
|
|
|
|
// Only allow to write application
|
|
|
|
#define USER_FLASH_START 0x26000
|
|
|
|
#define USER_FLASH_END BOOTLOADER_REGION_START
|
|
|
|
|
|
|
|
#define FLASH_PAGE_SIZE 4096
|