nuttx/Documentation/platforms
Marco Casaroli e7f9aaa52b
Some checks are pending
Build Documentation / build-html (push) Waiting to run
MemBrowse Memory Report / changes-filter (push) Waiting to run
MemBrowse Memory Report / load-targets (push) Waiting to run
MemBrowse Memory Report / identical (push) Blocked by required conditions
MemBrowse Memory Report / analyze (push) Blocked by required conditions
arch/arm/rp23xx: Check the flash MTD region against the flash size.
RP23XX_FLASH_MTD_OFFSET and RP23XX_FLASH_MTD_SIZE come from Kconfig.
If the region ends past the end of the flash, the flash wraps the
address around, and an erase or program hits the start of the flash,
where the NuttX image is.  For example, a 4M region at 1M does not
fit on the 4M flash of a Raspberry Pi Pico 2.

Read the JEDEC ID at initialization, in QMI direct mode as the Pico
SDK flash_do_cmd() does, and refuse a region that does not fit.  The
capacity byte is log2 of the size in bytes.  If the ID does not look
valid, warn and do not check.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-10-07 18:45:43 -03:00
..
arm arch/arm/rp23xx: Check the flash MTD region against the flash size. 2026-10-07 18:45:43 -03:00
arm64 Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
avr Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
ceva Documentation: add missing platforms to platforms/ and remove introduction/platforms 2023-10-22 19:06:44 +08:00
hc Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
mips Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
misoc Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
or1k Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
renesas Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
risc-v Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
sim Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
sparc Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
tricore Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
x86 Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
x86_64 Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
xtensa Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
z16 Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
z80 Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00
index.rst Documentation: brand new layout for NuttX documentation. 2026-10-08 01:40:54 +08:00