Skip to content
This repository has been archived by the owner on Dec 30, 2021. It is now read-only.

lib/mem.ld not included to the list of LD scripts #5

Open
ammaaim opened this issue Jan 31, 2019 · 1 comment
Open

lib/mem.ld not included to the list of LD scripts #5

ammaaim opened this issue Jan 31, 2019 · 1 comment

Comments

@ammaaim
Copy link

ammaaim commented Jan 31, 2019

Hi! I think there is somthing wrong with mem.ld script. I get your project and change scripts for my arm chip but it's still not working. Problem has been in mem.ld that not been included to the list of LD scripts in Makefile. Thanks

@martinribelotta
Copy link
Owner

The mem.ld file may be in linker PATH (like another library) for include in link.ld file.

You can specify this using the flag -L like this part in the Makefile:

LDFLAGS += --Map $(TARGET_MAP)
LDFLAGS += --script $(LDSCRIPT)
LDFLAGS += -Llib

From: https://github.com/ammaaim/cortex-m-llvm/blob/master/Makefile#L32

¿You can paste the error here? Or better, in pastebin-like sites

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

No branches or pull requests

2 participants