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

Figure out why we can't use crt from newlib #8

Open
mithro opened this issue Mar 31, 2017 · 1 comment
Open

Figure out why we can't use crt from newlib #8

mithro opened this issue Mar 31, 2017 · 1 comment
Assignees

Comments

@mithro
Copy link
Member

mithro commented Mar 31, 2017

Currently we have a hack which uses the crt0 from MiSoC/LiteX libbase - https://github.com/upy-fpga/micropython/blob/master/litex/Makefile#L60-L61

As we are using newlib, we really should be using the crt0 from them.

In theory it should just be uncommenting these lines -> https://github.com/upy-fpga/micropython/blob/master/litex/litex.ld#L4-L7

However doing that causes the program to access memory location zero for some reason.

@mithro
Copy link
Member Author

mithro commented Mar 31, 2017

@shenki

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

No branches or pull requests

2 participants