File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 61
61
#include "nrf_error.h"
62
62
63
63
#include "boards.h"
64
- #include "uf2/uf2.h"
65
64
66
65
#include "pstorage_platform.h"
67
66
#include "nrf_mbr.h"
68
67
#include "pstorage.h"
69
68
#include "nrfx_nvmc.h"
70
69
71
-
72
70
#ifdef NRF_USBD
71
+ #include "uf2/uf2.h"
73
72
#include "nrf_usbd.h"
74
73
#include "tusb.h"
75
74
Original file line number Diff line number Diff line change 13
13
#endif
14
14
15
15
// 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 )
20
17
#define CFG_UF2_FAMILY_APP_ID 0xADA52840
21
18
#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
22
22
#endif
23
23
24
24
// Application Address Space
You can’t perform that action at this time.
0 commit comments