simmel-bootloader/src/usb/uf2/uf2cfg.h

16 lines
572 B
C
Raw Normal View History

2018-06-23 07:15:39 +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"
#define BOOTLOADER_ID MK_DIS_FIRMWARE
2018-06-21 05:28:52 +00:00
2018-06-23 07:15:39 +00:00
#define UF2_NUM_BLOCKS 8000 // at least 4,1 MB for FAT16
#define VOLUME_LABEL "NRF52BOOT "
#define FLASH_SIZE (USER_FLASH_END-USER_FLASH_START)
2018-06-19 15:12:01 +00:00
// Only allow to write application
2018-06-23 07:15:39 +00:00
#define USER_FLASH_START 0x26000
#define USER_FLASH_END 0xAD000 // Fat Fs start here
2018-06-19 15:12:01 +00:00
2018-06-23 07:15:39 +00:00
#define FLASH_PAGE_SIZE 4096