fix build with 832
This commit is contained in:
parent
c9a548f0c8
commit
90c856e9bf
2 changed files with 5 additions and 6 deletions
|
|
@ -61,15 +61,14 @@
|
|||
#include "nrf_error.h"
|
||||
|
||||
#include "boards.h"
|
||||
#include "uf2/uf2.h"
|
||||
|
||||
#include "pstorage_platform.h"
|
||||
#include "nrf_mbr.h"
|
||||
#include "pstorage.h"
|
||||
#include "nrfx_nvmc.h"
|
||||
|
||||
|
||||
#ifdef NRF_USBD
|
||||
#include "uf2/uf2.h"
|
||||
#include "nrf_usbd.h"
|
||||
#include "tusb.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -13,12 +13,12 @@
|
|||
#endif
|
||||
|
||||
// Family ID and size for updating generic Application
|
||||
#if defined(NRF52833_XXAA)
|
||||
#define CFG_UF2_FAMILY_APP_ID 0x621E937A
|
||||
#define CFG_UF2_FLASH_SIZE (512*1024) // 512 kB
|
||||
#elif defined(NRF52840_XXAA)
|
||||
#if defined(NRF52840_XXAA)
|
||||
#define CFG_UF2_FAMILY_APP_ID 0xADA52840
|
||||
#define CFG_UF2_FLASH_SIZE (1024*1024) // 1 MB
|
||||
#elif defined(NRF52833_XXAA)
|
||||
#define CFG_UF2_FAMILY_APP_ID 0x621E937A
|
||||
#define CFG_UF2_FLASH_SIZE (512*1024) // 512 kB
|
||||
#endif
|
||||
|
||||
// Application Address Space
|
||||
|
|
|
|||
Loading…
Reference in a new issue