able to build with 52833
This commit is contained in:
@ -40,11 +40,11 @@
|
||||
#define INVALID_OPCODE 0x00 /**< Invalid op code identifier. */
|
||||
|
||||
#ifdef NRF51
|
||||
#define SOC_MAX_WRITE_SIZE 1024 /**< Maximum write size allowed for a single call to \ref sd_flash_write as specified in the SoC API on the nRF51. */
|
||||
#elif defined(NRF52832_XXAA) || defined(NRF52840_XXAA)
|
||||
#define SOC_MAX_WRITE_SIZE 4096 /**< Maximum write size allowed for a single call to \ref sd_flash_write as specified in the SoC API on the nRF52. */
|
||||
#define SOC_MAX_WRITE_SIZE 1024 /**< Maximum write size allowed for a single call to \ref sd_flash_write as specified in the SoC API on the nRF51. */
|
||||
#elif defined(NRF52_SERIES)
|
||||
#define SOC_MAX_WRITE_SIZE 4096 /**< Maximum write size allowed for a single call to \ref sd_flash_write as specified in the SoC API on the nRF52. */
|
||||
#else
|
||||
#error No target defined
|
||||
#error No target defined
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user