mirror of https://github.com/ARMmbed/mbed-os.git
Fix support of max flash size
parent
43258a8ff4
commit
5c26e15cd3
|
@ -35,8 +35,8 @@
|
|||
#include "PeripheralPins.h"
|
||||
|
||||
/* Max amount of flash size is 4Gbytes */
|
||||
/* hence 2^(31+1), then FLASH_SIZE_DEFAULT = 31<<20 */
|
||||
#define QSPI_FLASH_SIZE_DEFAULT 0x1F00000
|
||||
/* hence 2^(31+1), then FLASH_SIZE_DEFAULT = 1<<31 */
|
||||
#define QSPI_FLASH_SIZE_DEFAULT 0x80000000
|
||||
|
||||
void qspi_prepare_command(const qspi_command_t *command, QSPI_CommandTypeDef *st_command)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue