File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161#include "nrf_error.h"
6262
6363#include "boards.h"
64- #include "uf2/uf2.h"
6564
6665#include "pstorage_platform.h"
6766#include "nrf_mbr.h"
6867#include "pstorage.h"
6968#include "nrfx_nvmc.h"
7069
71-
7270#ifdef NRF_USBD
71+ #include "uf2/uf2.h"
7372#include "nrf_usbd.h"
7473#include "tusb.h"
7574
Original file line number Diff line number Diff line change 1313#endif
1414
1515// Family ID and size for updating generic Application
16- #if defined(NRF52833_XXAA )
17- #define CFG_UF2_FAMILY_APP_ID 0x621E937A
18- #define CFG_UF2_FLASH_SIZE (512*1024) // 512 kB
19- #elif defined(NRF52840_XXAA )
16+ #if defined(NRF52840_XXAA )
2017 #define CFG_UF2_FAMILY_APP_ID 0xADA52840
2118 #define CFG_UF2_FLASH_SIZE (1024*1024) // 1 MB
19+ #elif defined(NRF52833_XXAA )
20+ #define CFG_UF2_FAMILY_APP_ID 0x621E937A
21+ #define CFG_UF2_FLASH_SIZE (512*1024) // 512 kB
2222#endif
2323
2424// Application Address Space
You can’t perform that action at this time.
0 commit comments