add boards.c , remove msc_uf2.h lots of clean up and refactor
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
			
		||||
#define UF2_VERSION        "1.00"
 | 
			
		||||
#define PRODUCT_NAME       "Adafruit Bluefruit nRF52840"
 | 
			
		||||
#define PRODUCT_NAME       "Adafruit " DIS_MODEL
 | 
			
		||||
#define BOARD_ID           "NRF52-Bluefruit-v0"
 | 
			
		||||
#define INDEX_URL          "https://www.adafruit.com/product/0000"
 | 
			
		||||
#define BOOTLOADER_ID      MK_DIS_FIRMWARE
 | 
			
		||||
@@ -8,7 +8,7 @@
 | 
			
		||||
#define VOLUME_LABEL       "NRF52BOOT  "
 | 
			
		||||
#define FLASH_SIZE         (USER_FLASH_END-USER_FLASH_START) // Max flash size
 | 
			
		||||
 | 
			
		||||
// Only allow to write application
 | 
			
		||||
// Only allow to write application TODO dynamic depending on SD size
 | 
			
		||||
#define USER_FLASH_START   0x26000
 | 
			
		||||
#define USER_FLASH_END     0xAD000 // Fat Fs start here
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user