We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c790971 commit a435cbeCopy full SHA for a435cbe
targets/TARGET_STM/qspi_api.c
@@ -35,8 +35,8 @@
35
#include "PeripheralPins.h"
36
37
/* Max amount of flash size is 4Gbytes */
38
-/* hence 2^(31+1), then FLASH_SIZE_DEFAULT = 31<<20 */
39
-#define QSPI_FLASH_SIZE_DEFAULT 0x1F00000
+/* hence 2^(31+1), then FLASH_SIZE_DEFAULT = 1<<31 */
+#define QSPI_FLASH_SIZE_DEFAULT 0x80000000
40
41
void qspi_prepare_command(const qspi_command_t *command, QSPI_CommandTypeDef *st_command)
42
{
0 commit comments