change volume to nrf52boot
This commit is contained in:
		| @@ -235,13 +235,14 @@ void msc_flash_init(void) | ||||
| { | ||||
|   pstorage_module_param_t  fat_psp = { .cb = fat_pstorage_cb}; | ||||
|   pstorage_register(&fat_psp, &_fat_psh); | ||||
|  | ||||
|   fat12_mkfs(); | ||||
| } | ||||
|  | ||||
| void msc_flash_mount(void) | ||||
| { | ||||
|   _wr10_state = WRITE10_IDLE; | ||||
|  | ||||
|   // reset every time it is plugged | ||||
|   fat12_mkfs(); | ||||
| } | ||||
|  | ||||
| void msc_flash_umount(void) | ||||
|   | ||||
| @@ -57,7 +57,7 @@ | ||||
| VERIFY_STATIC( MSC_FLASH_ADDR_START+MSC_FLASH_SIZE == BOOTLOADER_REGION_START-DFU_APP_DATA_RESERVED, ); | ||||
|  | ||||
| // must be 11 bytes padded with space | ||||
| #define MSC_FLASH_VOL_LABEL       "FEATHER5284" | ||||
| #define MSC_FLASH_VOL_LABEL       "NRF52BOOT  " | ||||
|  | ||||
| /*------------------------------------------------------------------*/ | ||||
| /* Note ATTR_WEAK is used when CFG_TUD_MSC = 0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user