Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Allow extended usage of internal flash #168

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BrianPugh
Copy link
Contributor

This is a naive way of shoving some more data into the internal flash if the user specifies EXTENDED=1

@kbeckmann
Copy link
Owner

I see what you're trying to do, and also why, but doing like this will be hard to maintain.

I would much prefer having one single .ld file and then based on a build flag:

  • Use 128 or 256k internal flash size
  • Place the logo etc on either extflash or internal flash

This could also be solved with includes from the .ld file, not sure what is the most clean solution.

@nopjne
Copy link
Contributor

nopjne commented Dec 6, 2021

What if we simply increase it to 256 without the make parameter addition. As long as people have the patched ocd everything works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants