Skip to content

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

@mithro

Description

@mithro

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions