cortex-m-llvm
cortex-m-llvm copied to clipboard
lib/mem.ld not included to the list of LD scripts
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
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