Some flash space should be allocated for custom usage.

Open
#1,682 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
c
Domain
embedded-iot

Research direction

Inspect memmap_default.ld at line 26 and review how the FLASH region length is defined. Done means the linker configuration reserves the requested 8k of flash for custom storage without changing the flash origin.

Written by the indexing model from the issue text.

Description

flash layout linker scripts

In memmap_default.ld(line 26),

    FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2048k

It could be better with some space reserved, like

    FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2040k /*8k for custom storage*/
Dominant language
C
Stars
5k
Forks
1.3k
Avg merge
2d 17h
Merged PRs (30d)
17

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/pico-sdk

All issues in raspberrypi/pico-sdk

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.