File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1212
1313// #define DEFAULT_UART_BUS_RX (&pin_PA11)
1414// #define DEFAULT_UART_BUS_TX (&pin_PA10)
15+
16+ // Flash chip is GD25Q32 connected over QSPI
17+ #define TOTAL_FLASH_SIZE (4 * 1024 * 1024)
Original file line number Diff line number Diff line change 1212
1313// #define DEFAULT_UART_BUS_RX (&pin_PA11)
1414// #define DEFAULT_UART_BUS_TX (&pin_PA10)
15+
16+ // Flash chip is GD25Q32 connected over QSPI
17+ #define TOTAL_FLASH_SIZE (4 * 1024 * 1024)
Original file line number Diff line number Diff line change 1313
1414// #define DEFAULT_UART_BUS_RX (&pin_PA11)
1515// #define DEFAULT_UART_BUS_TX (&pin_PA10)
16+
17+ // Flash chip is W25Q16JVUXIQ connected over QSPI
18+ #define TOTAL_FLASH_SIZE (2 * 1024 * 1024)
Original file line number Diff line number Diff line change 4444#include "src/rp2_common/hardware_flash/include/hardware/flash.h"
4545#include "src/common/pico_binary_info/include/pico/binary_info.h"
4646
47- #define RESERVED_FLASH 1 * 1024 * 1024
48-
49- // TODO: Parameterize flash size based on the configured flash.
50- #define TOTAL_FLASH_SIZE 2 * 1024 * 1024
47+ #define RESERVED_FLASH (1 * 1024 * 1024)
5148
5249// TODO: Split the caching out of supervisor/shared/external_flash so we can use it.
5350#define SECTOR_SIZE 4096
You can’t perform that action at this time.
0 commit comments