clean up
This commit is contained in:
parent
e727bd215c
commit
2872eb8993
@ -1,15 +1,15 @@
|
|||||||
#define UF2_VERSION "1.00"
|
#define UF2_VERSION "1.00"
|
||||||
#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 BOOTLOADER_ID MK_DIS_FIRMWARE
|
#define BOOTLOADER_ID MK_DIS_FIRMWARE
|
||||||
|
|
||||||
#define UF2_NUM_BLOCKS 8000 // at least 4,1 MB for FAT16
|
#define UF2_NUM_BLOCKS 8000 // at least 4,1 MB for FAT16
|
||||||
#define VOLUME_LABEL "NRF52BOOT "
|
#define VOLUME_LABEL "NRF52BOOT "
|
||||||
#define FLASH_SIZE (10*1024) //(USER_FLASH_END-USER_FLASH_START)
|
#define FLASH_SIZE (USER_FLASH_END-USER_FLASH_START)
|
||||||
|
|
||||||
// Only allow to write application
|
// Only allow to write application
|
||||||
#define USER_FLASH_START 0x26000
|
#define USER_FLASH_START 0x26000
|
||||||
#define USER_FLASH_END 0xAD000 // Fat Fs start here
|
#define USER_FLASH_END 0xAD000 // Fat Fs start here
|
||||||
|
|
||||||
#define FLASH_PAGE_SIZE 4096
|
#define FLASH_PAGE_SIZE 4096
|
||||||
|
Loading…
Reference in New Issue
Block a user