Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions boards/asterix/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ CONFIG_DISPLAY=y

CONFIG_FLASH=y
CONFIG_FLASH_GD25LQ255E=y
CONFIG_FLASH_NRF5_QSPI_CLK_FREQ_HZ=8000000
CONFIG_FLASH_NRF5_QSPI_SCK_PIN=19
CONFIG_FLASH_NRF5_QSPI_CSN_PIN=17
CONFIG_FLASH_NRF5_QSPI_IO0_PIN=20
CONFIG_FLASH_NRF5_QSPI_IO1_PIN=21
CONFIG_FLASH_NRF5_QSPI_IO2_PIN=22
CONFIG_FLASH_NRF5_QSPI_IO3_PIN=23

CONFIG_OTP=y
CONFIG_OTP_FLASH=y
Expand Down
2 changes: 2 additions & 0 deletions boards/getafix/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ CONFIG_DISPLAY=y

CONFIG_FLASH=y
CONFIG_FLASH_GD25Q256E=y
CONFIG_FLASH_SF32LB52_MPI_INSTANCE=2
CONFIG_FLASH_SF32LB52_MPI_MSIZE=32

CONFIG_OTP=y
CONFIG_OTP_FLASH=y
Expand Down
2 changes: 2 additions & 0 deletions boards/obelix/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ CONFIG_DISPLAY=y

CONFIG_FLASH=y
CONFIG_FLASH_GD25Q256E=y
CONFIG_FLASH_SF32LB52_MPI_INSTANCE=2
CONFIG_FLASH_SF32LB52_MPI_MSIZE=16

CONFIG_OTP=y
CONFIG_OTP_FLASH=y
Expand Down
6 changes: 4 additions & 2 deletions docs/architecture/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ alongside the allocator in `pfs.c`.
between the dumb low-level driver and the accel service that owns
buffering, clients and subsampling, so the same service code runs on any
accel part.
- **Flash** — `src/fw/drivers/flash/README.md` documents the two flash APIs:
the main one, and a coredump-only path that must work without OS services.
- **Flash** — `include/pbl/drivers/flash.h` is the single flash API: a
`struct pbl_flash_device` with driver `ops`, a generic layer that owns
locking and the erase engine, and a coredump mode that works without OS
services. See `src/fw/drivers/flash/README.md`.

## Coredumps

Expand Down
Loading