Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify the layout system #110

Merged
merged 1 commit into from Jul 19, 2014

Conversation

Projects
None yet
3 participants
@bharrisau
Copy link
Contributor

commented Jul 19, 2014

Separating the vector table from the text

rom(RX) : ORIGIN = 0, LENGTH = 128K
ram(WAIL) : ORIGIN = 0x20000000 - 16K / 2, LENGTH = 16K
VECT (r) : ORIGIN = 0x00000000, LENGTH = 0x3FC /* Vector area */
FIRC (r) : ORIGIN = 0x000003FC, LENGTH = 4 /* 4 IRC trim */

This comment has been minimized.

Copy link
@farcaller

farcaller Jul 19, 2014

Member

"Custom IRC user trim" is a bit more descriptive.

ram(WAIL) : ORIGIN = 0x20000000 - 16K / 2, LENGTH = 16K
VECT (r) : ORIGIN = 0x00000000, LENGTH = 0x3FC /* Vector area */
FIRC (r) : ORIGIN = 0x000003FC, LENGTH = 4 /* 4 IRC trim */
FCRG (r) : ORIGIN = 0x00000400, LENGTH = 16 /* Flash config */

This comment has been minimized.

Copy link
@farcaller

farcaller Jul 19, 2014

Member

Isn't it FCFG then?

@farcaller

This comment has been minimized.

Copy link
Member

commented Jul 19, 2014

k20 docs are so cryptic on memory maps >_<

Modify the layout system
Separating the vector table from the text
@bharrisau

This comment has been minimized.

Copy link
Contributor Author

commented Jul 19, 2014

r?

@bharrisau

This comment has been minimized.

Copy link
Contributor Author

commented Jul 19, 2014

Really, the vector area isn't that long. But until we add some brains to the linker script we can't put .text into the part before the FCFG as we don't now how much can fit.

@farcaller

This comment has been minimized.

Copy link

commented on 14d67ba Jul 19, 2014

r+

@hacknbot

This comment has been minimized.

Copy link
Contributor

commented on 14d67ba Jul 19, 2014

saw approval from farcaller
at bharrisau@14d67ba

This comment has been minimized.

Copy link
Contributor

replied Jul 19, 2014

merging bharrisau/zinc/k20layout = 14d67ba into auto

This comment has been minimized.

Copy link
Contributor

replied Jul 19, 2014

bharrisau/zinc/k20layout = 14d67ba merged ok, testing candidate = 291fcde

This comment has been minimized.

Copy link
Contributor

replied Jul 19, 2014

This comment has been minimized.

Copy link
Contributor

replied Jul 19, 2014

fast-forwarding master to auto = 291fcde

hacknbot added a commit that referenced this pull request Jul 19, 2014

Merge pull request #110 from bharrisau/k20layout
Modify the layout system

Reviewed-by: farcaller

@hacknbot hacknbot merged commit 14d67ba into hackndev:master Jul 19, 2014

2 checks passed

continuous-integration/travis-ci The Travis CI build passed
Details
default all tests passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.